Vibecode Playground is a modern AI-powered browser IDE built using Next.js, Monaco Editor, WebContainers, and Ollama. It allows developers to write, edit, run, and manage projects directly inside the browser with real-time execution and AI-assisted coding.
- π Authentication using Google & GitHub
- π¨ Modern UI with TailwindCSS + ShadCN
- π Dark / Light mode
- π Advanced file explorer
- ποΈ Monaco code editor integration
- β‘ Real-time code execution using WebContainers
- π» Built-in terminal with xterm.js
- π€ AI-powered code suggestions using Ollama
- π¦ Multiple starter templates
- π± Responsive developer-focused interface
| Technology | Usage |
|---|---|
| Next.js 15 | Frontend + Backend |
| TypeScript | Type Safety |
| TailwindCSS | Styling |
| ShadCN UI | UI Components |
| Monaco Editor | Code Editor |
| WebContainers | Browser Runtime |
| xterm.js | Terminal |
| NextAuth | Authentication |
| MongoDB | Database |
| Ollama | AI Suggestions |
git clone https://github.com/Aestheticsuraj234/vibecode-playground.gitcd vibecode-playgroundnpm installIf dependencies fail:
npm install --legacy-peer-depsCreate a .env.local file in the root directory.
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_url
NEXTAUTH_URL=http://localhost:3000Download and install Ollama:
π https://ollama.com
ollama pull codellamaYou can also use:
- deepseek-coder
- mistral
- llama3
- qwen2.5-coder
ollama run codellamaIf Ollama is not running, AI suggestions will not work.
Start the development server:
npm run devOpen:
http://localhost:3000npm run buildnpm startvibecode-playground/
β
βββ app/ # Next.js App Router
βββ components/ # Reusable UI components
βββ features/ # Feature modules
βββ hooks/ # Custom React hooks
βββ lib/ # Utility functions
βββ prisma/ # Database configuration
βββ public/ # Static assets
βββ vibecode-starters/ # Starter templates
β
βββ auth.ts
βββ middleware.ts
βββ next.config.ts
βββ package.json
βββ README.md| Shortcut | Action |
|---|---|
| Ctrl + Space | Trigger AI Suggestions |
| Double Enter | Generate AI Completion |
| Tab | Accept Suggestion |
Advanced code editor with:
- syntax highlighting
- auto-completion
- formatting
- IntelliSense support
Run frontend/backend apps directly inside the browser without local setup.
Integrated AI assistant powered by Ollama for:
- code completion
- debugging
- refactoring
- explanations
Make sure:
- Ollama is installed
- Ollama server is running
- Model is downloaded
Run:
ollama run codellamaCheck:
- Google OAuth credentials
- GitHub OAuth credentials
- NEXTAUTH_URL value
Verify:
- DATABASE_URL is correct
- MongoDB Atlas IP whitelist allows your IP
WebContainers require:
- Chromium-based browser
- HTTPS in production
- modern browser support
Use:
- Chrome
- Edge
- Brave
Avoid:
- old Firefox versions
You can deploy using:
- Vercel
- Netlify
- Railway
Recommended: Vercel
Add screenshots here:

Contributions are welcome.
- Fork the repository
- Create a new branch
git checkout -b feature-name- Commit changes
git commit -m "Added new feature"- Push branch
git push origin feature-name- Create Pull Request
This project is licensed under the MIT License.
Developed by Suraj Kumar Jha
GitHub: https://github.com/Aestheticsuraj234
If you like this project:
- Star the repository
- Fork the project
- Share it with developers