This project was created for learnign and to see how AI agents work!
Just describe what you want to build in plain English, and watch as AI creates a full web app for you. This was built as a learning project to explore how AI can help with coding and development.
Tell Vybe what you want to build (like "a todo app" or "a landing page for my coffee shop"), and it will:
- Generate the complete code using AI
- Show you a live preview in a sandbox
- Let you browse and download all the source code
- Keep track of your conversation history
- 🤖 AI that actually codes - Just tell it what you want
- 📱 Live previews - See your app running instantly
- 📝 Code browser - Peek at all the generated files with syntax highlighting
- 🗂️ File explorer - Navigate through the project like a real IDE
- 👥 User accounts - Sign in and keep track of your projects
- ⚡ Real-time chat - Watch the AI work its magic step by step
Next.js 15 - React framework with App Router
TypeScript - Type-safe development
Tailwind CSS - Utility-first styling
shadcn/ui - Modern component library
React Query - Server state management
Clerk - Authentication and user management
tRPC - End-to-end typesafe APIs
Prisma - Database ORM with migrations
PostgreSQL - Primary database
Inngest - Background job processing
E2B Sandbox - Isolated code execution sandboxes
- DeepSeek AI - Code generation model
- Inngest Agent Kit - AI agent orchestration
src/
├── app/ # Next.js App Router pages
│ ├── (home)/ # Home page and auth routes
│ ├── projects/ # Individual project views
│ └── api/ # API endpoints
├── components/ # Reusable UI components
│ ├── ui/ # shadcn/ui components
│ ├── code-view/ # Code syntax highlighting
│ └── file-explorer.tsx # File tree navigation
├── modules/ # Feature-specific components
│ ├── home/ # Project creation and listing
│ ├── projects/ # Project management
│ └── messages/ # Chat interface
├── inngest/ # Background job functions
├── lib/ # Utility functions and config
└── trpc/ # API router definitions
- Node.js 18+ (or Bun better)
- A PostgreSQL database (Neon, Supabase, or any provider works)
- API keys for the services below
-
Clone it
git clone https://github.com/othman2408/vybe cd vybe bun install # or npm install
-
Get your API keys You'll need accounts with:
- Clerk - for user authentication
- DeepSeek - for the AI model (or any OpenAI-compatible provider)
- E2B - for code sandboxes
- Inngest - for background jobs
💡 AI Provider Options:
- Free: Google AI Studio - completely free to start
- Cheap: DeepSeek - $2 in credits is more than enough for testing
- Any OpenAI-compatible API works - just update the base URL in the code
- Check inngest supported providers there are more supported providers
-
Set up your
.envcp env.example .env
Then fill in your actual API keys and database URL:
# Required: Database, Clerk keys, AI provider key, E2B key, Inngest keys # The env.example file has all the variables you need
-
Set up the database and run
bun run db:migrate bun dev
In a separate terminal, start Inngest:
npx inngest-cli@latest dev
Then open localhost:3000 and start building!
- Sign in
- Type what you want to build - be as detailed or vague as you like
- Hit submit (or
Cmd/Ctrl + Enterif you're in a hurry) - Grab some coffee and watch the AI do its thing ☕
- Preview tab - Your app running live in a sandbox
- Code tab - All the source code with pretty syntax highlighting
- Click around the file tree to explore what got generated
- Free accounts: 2 projects per month
- Pro accounts: 100 projects per month
# Development
bun dev # Start the development server
bun build # Build for production
# Database stuff
bun run db:migrate # Update database structure
bun run db:studio # Visual database browser
bun run db:reset # Reset everything (be careful!)This is a learning project, so feel free to:
- Fork it and play around
- Open issues if you find bugs
- Submit PRs if you want to add cool features
- Use it as inspiration for your own AI experiments
