Overview
The ChatGPT Simulator is a local development environment that replicates ChatGPT’s widget runtime. It lets you build and test your widgets instantly without deploying to production.
Why Use the Simulator?
Instant Feedback
See changes immediately with hot module replacement
Test All Modes
Switch between light/dark themes and mobile/tablet/desktop views
No Deployment Needed
Develop locally without setting up MCP servers
Full Runtime Access
All ChatGPT runtime APIs work in the simulator
Quick Start
If you set up your project via the sunpeak Starter Kit, the simulator is already set up!
What Gets Simulated
The simulator provides a complete ChatGPT-like environment including:- Runtime APIs: Full access to
window.openaiincluding theme, display mode, and state management - UI Environment: ChatGPT’s chat interface, message bubbles, and widget containers
- User Interactions: All standard interactions like clicks, form submissions, and navigation
Dive Deeper
ChatGPTSimulator API
Full component documentation and configuration options