A real in-browser IDE powered by WebContainers. Code, build, and run projects directly in your browser with zero setup.
# Clone the repository
git clone https://github.com/yourusername/forge.git
cd forge
# Install dependencies
npm install
# Start development server
npm run dev
The app will be available at http://localhost:5173
npm run build
npm run preview
src/
├── components/ # React components
│ ├── ui/ # Reusable UI components
│ ├── CodeEditor.tsx # Monaco editor wrapper
│ ├── Terminal.tsx # xterm.js terminal
│ ├── Sidebar.tsx # File explorer sidebar
│ ├── IdeHeader.tsx # IDE top navigation
│ ├── IdeFooter.tsx # IDE status bar
│ ├── PreviewFrame.tsx # Live preview iframe
│ ├── HeroSection.tsx # Landing hero section
│ ├── FeaturesSection.tsx # Landing features section
│ └── FrameworkSection.tsx # Framework picker
├── lib/ # Core libraries
│ ├── webContainerRuntime.ts # WebContainer setup & commands
│ ├── webContainerManager.ts # WebContainer instance management
│ ├── projectFiles.ts # Framework templates
│ ├── terminalSingleton.ts # Terminal instance
│ ├── atoms.ts # Jotai state atoms
│ ├── store.ts # Global store
│ ├── types.ts # TypeScript types
│ └── utils.ts # Utility functions
├── pages/ # Page components
│ ├── LandingPage.tsx
│ └── IDEpage.tsx
└── main.tsx # App entry point
| Framework | Status | Description |
|---|---|---|
| React | ✅ Available | Build interactive UIs with Vite |
| Vue | ✅ Available | Progressive framework with Vite |
| Svelte | ✅ Available | Cybernetically enhanced apps |
| Node.js | ✅ Available | Server-side JavaScript |
| Next.js | 🔜 Coming Soon | Full-stack React framework |
| Remix | 🔜 Coming Soon | Full stack web framework |
The IDE uses sensible defaults, but you can customize:
terminalSingleton.tsCodeEditor.tsxprojectFiles.tsMIT License - feel free to use this project for personal or commercial purposes.
Contributions are welcome! Please feel free to submit a Pull Request.
Built with ❤️ using WebContainers