{"id":31642362,"url":"https://github.com/dibakarghosh03/vibe-code-editor","last_synced_at":"2026-05-09T03:31:53.856Z","repository":{"id":314564446,"uuid":"1054301147","full_name":"dibakarghosh03/vibe-code-editor","owner":"dibakarghosh03","description":"VibeCode Editor – an online coding environment powered by Next.js, WebContainer \u0026 Monaco Editor. Pick a template and get real-time AI chat + code completions in your browser.","archived":false,"fork":false,"pushed_at":"2025-09-13T07:43:38.000Z","size":344,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-07T04:00:55.772Z","etag":null,"topics":["monaco","mongodb","next-auth-v5","nextjs15","openrouter","prisma","shadcn-ui","tailwindcss-v4","typescript","webcontainer","zustand"],"latest_commit_sha":null,"homepage":"https://vibecode-editor.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dibakarghosh03.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-10T16:37:55.000Z","updated_at":"2025-10-06T11:34:48.000Z","dependencies_parsed_at":"2025-09-13T09:50:45.063Z","dependency_job_id":null,"html_url":"https://github.com/dibakarghosh03/vibe-code-editor","commit_stats":null,"previous_names":["dibakarghosh03/vibe-code-editor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dibakarghosh03/vibe-code-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dibakarghosh03%2Fvibe-code-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dibakarghosh03%2Fvibe-code-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dibakarghosh03%2Fvibe-code-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dibakarghosh03%2Fvibe-code-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dibakarghosh03","download_url":"https://codeload.github.com/dibakarghosh03/vibe-code-editor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dibakarghosh03%2Fvibe-code-editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32805894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["monaco","mongodb","next-auth-v5","nextjs15","openrouter","prisma","shadcn-ui","tailwindcss-v4","typescript","webcontainer","zustand"],"created_at":"2025-10-07T03:58:42.005Z","updated_at":"2026-05-09T03:31:53.851Z","avatar_url":"https://github.com/dibakarghosh03.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 VibeCode Editor\n\nA full-featured **browser-based coding environment** with AI-powered assistance.  \nBuilt with **Next.js**, **WebContainer**, **Monaco Editor** and **TypeScript**, VibeCode Editor lets you instantly spin up projects, edit code, run it in the browser and get AI suggestions \u0026 completions — just like a personal Copilot.\n\n---\n\n## ✨ Features\n\n- 🌐 **In-browser runtime** using [WebContainer](https://webcontainers.io/) — run Node.js projects entirely in your browser.\n- 📝 **Rich code editor** powered by [Monaco Editor](https://microsoft.github.io/monaco-editor/).\n- 🧠 **AI Copilot**:\n  - Chat with the AI about your code.\n  - Get real-time code completions.\n  - Model: `qwen/qwen3-coder` via [OpenRouter](https://openrouter.ai/).\n- 📦 **Project Templates** (TypeScript):\n  - React\n  - Next.js\n  - Express\n  - Hono\n  - Vue\n  - Angular  \n  *(choose a template and start coding instantly)*\n\n- 🗄 **Database**: MongoDB Atlas + Prisma ORM for user/projects metadata.\n- ⚡ Run, edit and save projects all inside the browser — no local setup required.\n\n---\n\n## 🛠 Tech Stack\n\n- **Frontend**: Next.js 15 (App Router), TypeScript, TailwindCSS, ShadCN, XTerm, Zustand\n- **Editor**: Monaco Editor\n- **Runtime**: WebContainer (Node.js in the browser)\n- **AI**: qwen/qwen3-coder via OpenRouter (chat + completions)\n- **Database**: MongoDB Atlas\n- **ORM**: Prisma\n\n---\n\n## 🚀 Getting Started\n\n```bash\ngit clone https://github.com/dibakarghosh03/vibe-code-editor.git\ncd vibe-code-editor\nnpm install\nnpm run dev\n\n```\n\n## ⚙️ Environment Variables\n\nCreate a `.env.local` file in the root directory and set the following variables:\n\n```env\n# Database (MongoDB Atlas)\nDATABASE_URL=\n\n# Auth secret for NextAuth (or custom auth)\nAUTH_SECRET=\n\n# GitHub OAuth credentials\nGITHUB_ID=\nGITHUB_SECRET=\n\n# Google OAuth credentials\nGOOGLE_ID=\nGOOGLE_SECRET=\n\n# OpenRouter API key for AI assistant\nOPENROUTER_API_KEY=\n```\n\n## 🧠 How It Works\n\n1. **Template Selection**  \n   User picks a template (**React**, **Next.js**, **Express**, **Hono**, **Vue**, **Angular**) — all in TypeScript.\n\n2. **WebContainer**  \n   Spins up a full **Node.js environment** directly in the browser with the chosen template.\n\n3. **Monaco Editor**  \n   Loads the project files with:\n   - Syntax highlighting  \n   - IntelliSense  \n   - Rich editing features\n\n4. **AI Assistant**  \n   Powered by [OpenRouter](https://openrouter.ai/) **qwen/qwen3-coder** model:  \n   - 💡 Code completions  \n   - 💬 In-editor chat \u0026 help\n\n5. **Prisma + MongoDB Atlas**  \n   Stores:\n   - User sessions  \n   - Project metadata  \n   - File structures\n\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!  \nFeel free to check [issues page](./issues) or open a pull request.\n\n\n## 👨‍💻 Author\n\nMade with ❤️ by [Dibakar Ghosh](https://github.com/dibakarghosh03)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdibakarghosh03%2Fvibe-code-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdibakarghosh03%2Fvibe-code-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdibakarghosh03%2Fvibe-code-editor/lists"}