A professional, full-featured coding environment powered by AI, running entirely in your browser.
- Natural Language Code Generation: Describe what you want in plain English
- Context-Aware Suggestions: AI understands your entire codebase
- Real-time Streaming: See responses as they're generated
- Smart Explanations: Get instant code explanations and debugging help
- Monaco Editor: The same editor that powers VS Code
- Syntax Highlighting: Support for HTML, CSS, JavaScript, Python, and more
- IntelliSense: Smart autocomplete and code suggestions
- Error Detection: Real-time linting and error highlighting
- Multi-file Support: Work on multiple files simultaneously
- Real-time Updates: See changes instantly as you type
- Sandboxed Environment: Safe execution of your code
- Auto-refresh: Automatic updates on file changes
- Error Boundaries: Graceful handling of runtime errors
- Dark & Light Themes: Toggle between themes with animated transitions
- RGB Fluid Borders: Stunning animated border effects
- Responsive Design: Works on desktop, tablet, and mobile
- Distraction-free: Clean, modern interface inspired by Bolt.new and Lovable.dev
- Virtual File System: All files stored in your browser
- File Explorer: Easy navigation with file icons
- Multi-file Editing: Switch between files seamlessly
- Auto-save: Your work is automatically saved
Visit the live demo and start coding immediately!
# Clone the repository
git clone <YOUR_GIT_URL>
cd <YOUR_PROJECT_NAME>
# Install dependencies
npm install
# Start development server
npm run devOpen http://localhost:8080 in your browser.
- Type your request in natural language
- Ask for code generation, explanations, or debugging help
- Example: "Create a todo list component with React"
- Click on files to open them in the editor
- Toggle visibility with the "Hide Files" button
- Files auto-save as you type
- Full Monaco Editor with syntax highlighting
- Use Ctrl+Space for autocomplete
- Format code with Alt+Shift+F
- See your HTML/CSS/JS rendered in real-time
- Toggle preview with "Editor Only" button
- Preview automatically updates on file changes
- Switch between dark and light themes
- Preference saved automatically
- Animated RGB borders in both themes
- Frontend: React 18, TypeScript, Tailwind CSS
- Editor: Monaco Editor (@monaco-editor/react)
- AI: Lovable AI Gateway (Google Gemini 2.5 Flash)
- Backend: Supabase Edge Functions
- Routing: React Router v6
- UI Components: shadcn/ui
- State: React Context API
βββ src/
β βββ components/
β β βββ ide/
β β β βββ PromptPanel.tsx # AI chat interface
β β β βββ FileExplorer.tsx # File navigation
β β β βββ MonacoEditor.tsx # Code editor
β β β βββ LivePreview.tsx # Preview window
β β β βββ OnboardingModal.tsx # Welcome screen
β β βββ ui/ # UI components
β βββ contexts/
β β βββ ThemeContext.tsx # Theme state
β β βββ FileSystemContext.tsx # File state
β βββ hooks/
β β βββ useChat.ts # AI streaming
β βββ pages/
β βββ Index.tsx # Main IDE page
βββ supabase/
β βββ functions/
β βββ chat/ # AI backend
βββ DEPLOYMENT.md # Deployment guide
The IDE uses Monaco Editor, the same technology that powers Visual Studio Code:
- Full TypeScript support
- Rich IntelliSense
- Code folding
- Find and replace
- Multi-cursor editing
Leverages Google's Gemini 2.5 Flash model:
- Fast response times
- Context-aware suggestions
- Multi-language support
- Free during promotional period
Files are stored in browser memory:
- Instant file switching
- No server uploads needed
- Privacy-first design
- localStorage persistence
Real-time rendering with:
- Automatic CSS/JS injection
- Sandboxed execution
- Error recovery
- Hot reload
- Client-side Storage: All files stay in your browser
- Sandboxed Preview: Code runs in isolated iframe
- No External Tracking: Privacy-first design
- Secure AI Gateway: Backend API key management
- Full keyboard navigation
- ARIA labels on all controls
- Screen reader support
- High contrast themes
- Focus management
- Chrome/Edge 90+
- Firefox 88+
- Safari 14+
- Opera 76+
Prompt: "Create a button component with hover effects"
AI generates: Complete React component with styling
Prompt: "Build a modern landing page with hero section"
AI generates: HTML + CSS + responsive design
Prompt: "Why isn't my click handler working?"
AI explains: Event binding and common mistakes
- Click "Share" β "Publish"
- Done! Your IDE is live
vercel --prodnetlify deploy --prodSee DEPLOYMENT.md for detailed instructions.
This is a template project - fork it and make it your own!
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
MIT License - see LICENSE file for details
- Monaco Editor by Microsoft
- shadcn/ui for beautiful components
- Lovable for the AI gateway
- React team for the framework
- Documentation: docs.lovable.dev
- Discord: Join our community
- Issues: Report bugs on GitHub
Built with β€οΈ using Lovable, React, Monaco Editor, and AI