{"id":30063954,"url":"https://github.com/aestheticsuraj234/vibecode-playground","last_synced_at":"2025-08-28T23:49:04.418Z","repository":{"id":291531468,"uuid":"977901164","full_name":"Aestheticsuraj234/vibecode-playground","owner":"Aestheticsuraj234","description":"Vibecode Editor is a fullstack, web-based IDE built with Next.js and Monaco Editor. It features real-time code execution using WebContainers, AI-powered code suggestions via locally running Ollama models, multi-stack templates, an integrated terminal, and a developer-focused UI for seamless coding in the browser.","archived":false,"fork":false,"pushed_at":"2025-08-06T15:11:58.000Z","size":9629,"stargazers_count":37,"open_issues_count":0,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-08T04:51:14.002Z","etag":null,"topics":["ai-autocomplete","browser-ide","code-editor","developer-tools","fullstack","javascript-editor","local-llm","monaco-editor","nextauth","nextjs","ollama","shadcn-ui","tailwindcss","typescript","web-ide","webcontainers","xtermjs"],"latest_commit_sha":null,"homepage":"","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/Aestheticsuraj234.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}},"created_at":"2025-05-05T06:42:25.000Z","updated_at":"2025-08-06T15:12:01.000Z","dependencies_parsed_at":"2025-05-05T07:42:00.511Z","dependency_job_id":"40cc5a26-e39a-40fc-b832-4cb70492c2d2","html_url":"https://github.com/Aestheticsuraj234/vibecode-playground","commit_stats":null,"previous_names":["aestheticsuraj234/vibecode-playground"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Aestheticsuraj234/vibecode-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aestheticsuraj234%2Fvibecode-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aestheticsuraj234%2Fvibecode-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aestheticsuraj234%2Fvibecode-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aestheticsuraj234%2Fvibecode-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aestheticsuraj234","download_url":"https://codeload.github.com/Aestheticsuraj234/vibecode-playground/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aestheticsuraj234%2Fvibecode-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272582506,"owners_count":24959419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"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":["ai-autocomplete","browser-ide","code-editor","developer-tools","fullstack","javascript-editor","local-llm","monaco-editor","nextauth","nextjs","ollama","shadcn-ui","tailwindcss","typescript","web-ide","webcontainers","xtermjs"],"created_at":"2025-08-08T04:49:56.901Z","updated_at":"2025-08-28T23:49:04.396Z","avatar_url":"https://github.com/Aestheticsuraj234.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧠 Vibecode Editor – AI-Powered Web IDE\n\n![Vibecode Editor Thumbnail](public/vibe-code-editor-thumbnail.svg)\n\n**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.\n\n---\n\n## 🚀 Features\n\n- 🔐 **OAuth Login with NextAuth** – Supports Google \u0026 GitHub login.\n- 🎨 **Modern UI** – Built with TailwindCSS \u0026 ShadCN UI.\n- 🌗 **Dark/Light Mode** – Seamlessly toggle between themes.\n- 🧱 **Project Templates** – Choose from React, Next.js, Express, Hono, Vue, or Angular.\n- 🗂️ **Custom File Explorer** – Create, rename, delete, and manage files/folders easily.\n- 🖊️ **Enhanced Monaco Editor** – Syntax highlighting, formatting, keybindings, and AI autocomplete.\n- 💡 **AI Suggestions with Ollama** – Local models give you code completion on `Ctrl + Space` or double `Enter`. Accept with `Tab`.\n- ⚙️ **WebContainers Integration** – Instantly run frontend/backend apps right in the browser.\n- 💻 **Terminal with xterm.js** – Fully interactive embedded terminal experience.\n- 🤖 **AI Chat Assistant** – Share files with the AI and get help, refactors, or explanations.\n\n---\n\n## 🧱 Tech Stack\n\n| Layer         | Technology                                   |\n|---------------|----------------------------------------------|\n| Framework     | Next.js 15 (App Router)                      |\n| Styling       | TailwindCSS, ShadCN UI                       |\n| Language      | TypeScript                                   |\n| Auth          | NextAuth (Google + GitHub OAuth)             |\n| Editor        | Monaco Editor                                |\n| AI Suggestion | Ollama (LLMs running locally via Docker)     |\n| Runtime       | WebContainers                                |\n| Terminal      | xterm.js                                     |\n| Database      | MongoDB (via DATABASE_URL)                   |\n\n---\n\n## 🛠️ Getting Started\n\n### 1. Clone the Repo\n\n```bash\ngit clone https://github.com/your-username/vibecode-editor.git\ncd vibecode-editor\n````\n\n### 2. Install Dependencies\n\n```bash\nnpm install\n```\n\n### 3. Set Up Environment Variables\n\nCreate a `.env.local` file using the template:\n\n```bash\ncp .env.example .env.local\n```\n\nThen, fill in your credentials:\n\n```env\nAUTH_SECRET=your_auth_secret\nAUTH_GOOGLE_ID=your_google_client_id\nAUTH_GOOGLE_SECRET=your_google_secret\nAUTH_GITHUB_ID=your_github_client_id\nAUTH_GITHUB_SECRET=your_github_secret\nDATABASE_URL=your_mongodb_connection_string\nNEXTAUTH_URL=http://localhost:3000\n```\n\n### 4. Start Local Ollama Model\n\nMake sure [Ollama](https://ollama.com/) and Docker are installed, then run:\n\n```bash\nollama run codellama\n```\n\nOr use your preferred model that supports code generation.\n\n### 5. Run the Development Server\n\n```bash\nnpm run dev\n```\n\nVisit `http://localhost:3000` in your browser.\n\n---\n\n## 📁 Project Structure\n\n```\n.\n├── app/                     # App Router-based pages \u0026 routes\n├── components/              # UI components\n├── editor/                 # Monaco, File Explorer, Terminal\n├── lib/                     # Utility functions\n├── public/                  # Static files (incl. thumbnail)\n├── utils/                   # AI helpers, WebContainer logic\n├── .env.example             # Example env vars\n└── README.md\n```\n\n---\n\n## 🎯 Keyboard Shortcuts\n\n* `Ctrl + Space` or `Double Enter`: Trigger AI suggestions\n* `Tab`: Accept AI suggestion\n* `/`: Open Command Palette (if implemented)\n\n---\n\n## ✅ Roadmap\n\n* [x] Google \u0026 GitHub Auth via NextAuth\n* [x] Multiple stack templates\n* [x] Monaco Editor + AI\n* [x] WebContainers + terminal\n* [x] AI chat for code assistance\n* [ ] GitHub repo import/export\n* [ ] Save/load playground from DB\n* [ ] Real-time collaboration\n* [ ] Plugin system for templates/tools\n* [ ] One-click deploy via Vercel/Netlify\n\n---\n\n## 📄 License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n---\n\n## 🙏 Acknowledgements\n\n* [Monaco Editor](https://microsoft.github.io/monaco-editor/)\n* [Ollama](https://ollama.com/) – for offline LLMs\n* [WebContainers](https://webcontainers.io/)\n* [xterm.js](https://xtermjs.org/)\n* [NextAuth.js](https://next-auth.js.org/)\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faestheticsuraj234%2Fvibecode-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faestheticsuraj234%2Fvibecode-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faestheticsuraj234%2Fvibecode-playground/lists"}