https://github.com/mosespace/vibekit_pro
A structured CLI for building production Next.js SaaS apps with AI tools like Lovable & V0 without burning $200, shipping broken auth, or getting stuck
https://github.com/mosespace/vibekit_pro
Last synced: about 8 hours ago
JSON representation
A structured CLI for building production Next.js SaaS apps with AI tools like Lovable & V0 without burning $200, shipping broken auth, or getting stuck
- Host: GitHub
- URL: https://github.com/mosespace/vibekit_pro
- Owner: mosespace
- Created: 2026-05-07T10:42:28.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-21T13:05:38.000Z (about 1 month ago)
- Last Synced: 2026-05-21T21:56:10.107Z (about 1 month ago)
- Language: TypeScript
- Homepage: https://vibekit.qwikpost.xyz
- Size: 68.9 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# VIBEKIT CLI

> A CLI that automates the [VibeKit Framework](https://github.com/MUKE-coder/vibekit) workflow for building production apps with AI agents. Plan your app with an AI agent, generate project files, then build automatically — for **web (Next.js), mobile (Expo), or full-stack (Turbo) projects**.
**Built on top of the VibeKit Framework by [JB (Muke Johnbaptist)](https://jb.desishub.com) · [Desishub Technologies](https://desishub.com)**
---
> **Alpha software.** This CLI has been tested on a small number of devices (Windows 11) and with Claude Code as the primary provider. Other providers (Codex, Gemini CLI, OpenCode) are wired up but largely untested. Expect rough edges, bugs, and missing polish. Contributions and bug reports are very welcome.
---
## What is this?
The [VibeKit Framework](https://github.com/MUKE-coder/vibekit) is a planning + building system for vibe coders using AI agents. The original workflow is manual:
1. Copy `CLAUDE_PROMPT.md` → paste into Claude.ai → answer questions → download planning files
2. Copy framework files into your project root
3. Open your AI provider → paste `prompt.md` → start building
**`create-vibekit-app` automates all of that** into a single command with two guided sessions:
```
npx create-vibekit-app my-app
```
**Now supporting:** Web apps (Next.js 🌐), Mobile apps (Expo 📱), or Full-Stack (Turbo Monorepo 🚀)
---
## How it works
```
npx create-vibekit-app my-app
```
**Step 1: Scaffold your project**
The CLI creates the appropriate project structure with framework configs, environment templates, and VibeKit framework files pre-populated.
**Step 2: Describe your idea**
```
◇ Describe your app idea in 1-3 sentences:
│ A school management system where teachers manage
│ students and parents can pay fees online.
```
**Step 3: Choose your platform**
```
┌ create-vibekit-app
│
◇ What would you like to build?
│ ● Web (Next.js)
│ ○ Mobile (Expo)
│ ○ Both (Turbo Monorepo)
```
Pick your platform:
- **Web** → Next.js SPA with server components, deployed to Vercel
- **Mobile** → Expo app for iOS + Android, built with EAS
- **Both** → Turbo monorepo with shared database, API routes, and auth
If you choose **Both**, select your monorepo structure:
- **Shared root API** → `apps/web` + `apps/mobile` with API routes at project root
- **Monorepo with packages** → `apps/web` + `apps/mobile` + `packages/types` + `packages/schemas`
**Step 4: Pick your AI provider**
```
◇ Which AI provider should build your project?
│ ● Claude Code
│ ○ Codex (OpenAI) not installed
│ ○ Gemini CLI not installed
│ ○ OpenCode not installed
```
**Step 5: Session 1 - Planning**
Your app idea + platform choice is injected into the VibeKit planning prompt and written to `CLAUDE.md`. Your AI provider launches and interviews you about:
- Features, data model, user roles
- Integrations (auth, payments, file uploads, email)
- Visual design (brand color, typography, dark mode)
Then it generates **project planning files**:
| File | Purpose |
| ------------------------ | --------------------------------------------------------------- |
| `project-description.md` | Complete app spec features, data model, pages, integrations |
| `project-phases.md` | Phase-by-phase build blueprint with checkboxes |
| `design-style-guide.md` | Fully customized design system (colors, typography, components) |
| `prompt.md` | The build prompt for Session 2 |
Close the provider when planning is done.
**Step 6: Session 2 - Build**
The CLI detects the generated files and offers to start the build session:
```
◇ Planning files detected
│
◇ Session 2 Build. Start [Provider] now?
│ Yes
│
● [Provider] will read prompt.md and start Phase 1.
```
Your provider reads `prompt.md` which instructs it to:
1. Read the platform-specific `master_prompt.md` (tech stack rules, patterns, standards)
2. Read `design-style-guide.md` (your custom design system)
3. Read `jb-components.md` (component registry reference)
4. Read `project-description.md` + `project-phases.md` (the plan)
5. Start Phase 1 and stop after each phase for confirmation
---
**Web (Next.js) project:**
```
my-app/
├── .vibekit/ <- gitignored, auto-read by agent
│ ├── master_prompt.md <- web tech stack rules + patterns
│ ├── jb-components.md <- JB component registry reference
│ ├── pre-deploy-review.md <- pre-deploy audit checklist
│ └── ...other guides
│
├── src/
│ ├── app/
│ ├── components/
│ └── lib/
│
├── next.config.ts
├── tsconfig.json
├── postcss.config.mjs
├── .env.example
└── CLAUDE.md <- planning prompt injected
```
**Mobile (Expo) project:**
```
my-app/
├── .vibekit/ <- gitignored, auto-read by agent
│ ├── master_prompt.md <- Expo tech stack rules + patterns
│ ├── vibekit-native-components.md <- Expo component registry
│ └── ...other guides
│
├── app/ <- expo-router file-based routing
│ ├── (tabs)/
│ └── +api.ts
│
├── src/
│ ├── lib/
│ ├── providers/
│ └── components/
│
├── app.json <- Expo config
├── eas.json <- EAS Build config
├── ech stacks by platform
### Web (Next.js)
| Layer | Technology |
| ------------- | --------------------------- |
| Framework | Next.js 16 (App Router) |
| Language | TypeScript 5.9 |
| Database | Neon Serverless Postgres |
| ORM | Prisma v7 |
| Auth | Better Auth (cookies) |
| Data fetching | React Query + Fetch API |
| Validation | Zod + React Hook Form |
| Styling | Tailwind CSS v4 + shadcn/ui |
| PDF | @react-pdf/renderer |
| Excel | xlsx |
| Email | Resend + React Email |
| Payments | Stripe |
| File storage | Cloudflare R2 / UploadThing |
| Deployment | Vercel + Cloudflare |
| Components | JB Component Registry |
### Mobile (Expo)
| Layer | Technology |
| ------------- | ------------------------------------ |
| Framework | Expo SDK 55+ (React Native 0.83) |
| Language | TypeScript 5.9 |
| Routing | expo-router (file-based, like Next) |
| Database | Neon Serverless Postgres |
| ORM | Prisma v7 (HTTP adapter) |
| Auth | Better Auth (@better-auth/expo) |
| State | TanStack Query + Zustand |
| Storage | react-native-mmkv + expo-secure-store |
| Styling | NativeWind v4 (Tailwind for RN) |
| API Routes | Expo API Routes (app/api/**/+api.ts) |
| Deployment | EAS Build / EAS Submit / EAS Update |
| Components | Vibekit Native Components (expo/) |
### Full-Stack (Turbo Monorepo)
Combines both above with:
| Layer | Technology |
| ----------------- | ------------------------------------- |
| Monorepo | Turbo |
| Package manager | pnpm (workspaces) |
| Shared database | Neon Serverless Postgres (single db) |
| Shared schema | Prisma v7 (one schema, both apps use) |
| Shared auth | Better Auth (web: cookies, mobile: secure store) |
| Shared types | `packages/types` |
| Shared schemas | `packages/schemas` |
| API Routes | Shared root or monorepo-based
│ ├── user.ts
│ └── index.ts
│
├── turbo.json <- Turbo orchestration config
└── pnpm-workspace.yaml <- Workspace definition
```
After Session 1 completes, the agent also generastack rules + Prisma v7 patterns
│ ├── jb-components.md <- JB component registry reference
│ ├── pre-deploy-review.md <- pre-deploy audit checklist
│ ├── database-guide.md <- Neon + Prisma reference
│ ├── deployment.md <- Vercel, Cloudflare, DNS
│ ├── environment-variables.md <- every env var, step by step
│ ├── monetization-guide.md <- Stripe, webhooks, billing
│ ├── prompt-engineering.md <- prompting techniques + rescue protocols
│ └── troubleshooting.md <- symptom -> fix playbook
│
├── .env.example <- base env template
├── .gitignore <- includes .vibekit/ and .env.local
└── CLAUDE.md <- planning prompt with your idea injected
```
After Session 1 completes, the agent also writes:
```
├── project-description.md
├── project-phases.md
├── design-style-guide.md
└── prompt.md
```
---
## Provider support
| Provider | Detect | Auth check | Tested |
| -------------- | ------ | -------------------------------------- | ------ |
| Claude Code | Yes | Credential file + `ANTHROPIC_API_KEY` | Yes |
| Codex (OpenAI) | Yes | `OPENAI_API_KEY` | No |
| Gemini CLI | Yes | Credential file + `GOOGLE_API_KEY` | No |
| OpenCode | Yes | `OPENAI_API_KEY` / `ANTHROPIC_API_KEY` | No |
If you test on a provider that isn't marked Yes, please open an issue or PR with your findings.
---
## The VibeKit standard stack
Every project built with this framework uses:
| Layer | Technology |
| ------------- | --------------------------- |
| Framework | Next.js 16 (App Router) |
| Language | TypeScript 5.9 |
| Database | Neon Serverless Postgres |
| ORM | Prisma v7 |
| Auth | Better Auth |
| Data fetching | React Query + Fetch API |
| Validation | Zod + React Hook Form |
| Styling | Tailwind CSS v4 + shadcn/ui |
| PDF | @react-pdf/renderer |
| Excel | xlsx |
| Email | Resend + React Email |
| Payments | Stripe |
| File storage | Cloudflare R2 / UploadThing |
| Deployment | Vercel + Cloudflare |
| Components | JB Component Registry |
---
## Credits
This CLI is built on top of the **VibeKit Framework** created by [JB (Muke Johnbaptist)](https://jb.desishub.com) of [Desishub Technologies](https://desishub.com).
- Original framework: [github.com/MUKE-coder/vibekit](https://github.com/MUKE-coder/vibekit)
- JB Component Registry: [jb.desishub.com/blog/jb-component-registry-complete-reference](https://jb.desishub.com/blog/jb-component-registry-complete-reference)
- Framework docs site: [vibekit.desishub.com](https://vibekit.desishub.com)
The planning prompts, master prompt, tech stack decisions, design system approach, and JB component registry are all JB's original work. This repo wraps them in a CLI so you don't have to copy-paste anything manually.
---
## Contributing
This is early software. It works, but it has rough edges, untested paths, and provider-specific quirks that haven't been hit yet. Contributions are very welcome.
See [CONTRIBUTING.md](./CONTRIBUTING.md) for the full guide.
Quick ways to help:
- **Found a bug?** [Open an issue](https://github.com/MUKE-coder/vibekit/issues/new?template=bug-report.md)
- **Tested on an unsupported provider or OS?** Open an issue with your findings
- **Fixed something?** Open a PR no ceremony required for bug fixes
- **New provider support?** Add a file to `packages/create-vibekit-app/src/providers/` and open a PR
---
## License
MIT use freely, build boldly.
---
_VibeKit Framework by [JB (Muke Johnbaptist)](https://jb.desishub.com) · CLI by the community_
```
## Star History