Vibecode Editor is a blazing-fast, AI-integrated web IDE built entirely in the browser using Next.js App Router, WebContainers, Monaco Editor, and local LLMs via Ollama. It offers real-time code execution, an AI-powered chat assistant, and support for multiple tech stacks β all wrapped in a stunning developer-first UI.
- π OAuth Login with NextAuth β Supports Google & GitHub login.
- π¨ Modern UI β Built with TailwindCSS & ShadCN UI.
- π Dark/Light Mode β Seamlessly toggle between themes.
- π§± Project Templates β Choose from React, Next.js, Express, Hono, Vue, or Angular.
- ποΈ Custom File Explorer β Create, rename, delete, and manage files/folders easily.
- ποΈ Enhanced Monaco Editor β Syntax highlighting, formatting, keybindings, and AI autocomplete.
- π‘ AI Suggestions with Ollama β Local models give you code completion on
Ctrl + Spaceor doubleEnter. Accept withTab. - βοΈ WebContainers Integration β Instantly run frontend/backend apps right in the browser.
- π» Terminal with xterm.js β Fully interactive embedded terminal experience.
- π€ AI Chat Assistant β Share files with the AI and get help, refactors, or explanations.
- π¦ GitHub Import β Import any public GitHub repository directly into the editor.
| Layer | Technology |
|---|---|
| Framework | Next.js 15 (App Router) |
| Styling | TailwindCSS, ShadCN UI |
| Language | TypeScript |
| Auth | NextAuth (Google + GitHub OAuth) |
| Editor | Monaco Editor |
| AI Suggestion | Ollama (LLMs running locally via Docker) |
| Runtime | WebContainers |
| Terminal | xterm.js |
| Database | MongoDB (via DATABASE_URL) |
git clone https://github.com/your-username/vibecode-editor.git
cd vibecode-editornpm installCreate a .env.local file using the template:
cp .env.example .env.localThen, fill in your credentials:
AUTH_SECRET=your_auth_secret
AUTH_GOOGLE_ID=your_google_client_id
AUTH_GOOGLE_SECRET=your_google_secret
AUTH_GITHUB_ID=your_github_client_id
AUTH_GITHUB_SECRET=your_github_secret
DATABASE_URL=your_mongodb_connection_string
NEXTAUTH_URL=http://localhost:3000Make sure Ollama and Docker are installed, then run:
ollama run codellamaOr use your preferred model that supports code generation.
npm run devVisit http://localhost:3000 in your browser.
.
βββ app/ # App Router-based pages & routes
β βββ (auth)/ # Authentication pages
β βββ (root)/ # Landing page
β βββ api/ # API routes
β βββ dashboard/ # Dashboard page
β βββ playground/ # Code playground
β βββ settings/ # Settings page
βββ components/ # UI components
β βββ modal/ # Modal dialogs
β βββ providers/ # Context providers
β βββ ui/ # ShadCN UI components
βββ features/ # Feature modules
β βββ auth/ # Authentication logic
β βββ dashboard/ # Dashboard components
β βββ playground/ # Playground logic & components
β βββ webcontainers/ # WebContainer integration
βββ hooks/ # Custom React hooks
βββ lib/ # Utility functions
βββ prisma/ # Database schema
βββ public/ # Static assets
βββ vibecode-starters/ # Starter templates
βββ .env.example # Example env vars
βββ .gitignore # Git ignore rules
βββ LICENSE # MIT License
βββ CONTRIBUTING.md # Contributing guidelines
βββ CODE_OF_CONDUCT.md # Code of conduct
βββ README.md # Project documentation
Ctrl + SpaceorDouble Enter: Trigger AI suggestionsTab: Accept AI suggestionCtrl + S: Save current fileCtrl + Shift + S: Save all files
- β Google & GitHub OAuth authentication
- β 6 project templates (React, Next.js, Express, Vue, Hono, Angular)
- β Monaco Editor with AI autocomplete
- β WebContainers for in-browser code execution
- β Interactive terminal with xterm.js
- β AI chat assistant powered by Ollama
- β GitHub repository import
- β Cloud storage for playgrounds
- β Dark/Light theme support
- β Responsive design
This project is licensed under the MIT License.
Contributions are welcome! Please read our Contributing Guide for details on our code of conduct and the process for submitting pull requests.
- Monaco Editor - Code editor
- Ollama - Local LLMs
- WebContainers - Browser-based runtime
- xterm.js - Terminal emulator
- NextAuth.js - Authentication
- ShadCN UI - UI components
- Tailwind CSS - Styling
- Prisma - Database ORM
- MongoDB - Database