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