A web app that enables users to build complete applications and websites through natural language conversations with AI. Built with modern web technologies and featuring a sandboxed development environment for safe, isolated code execution.
- Conversational Interface: Build applications by describing requirements in natural language
- Multi-Agent Architecture: Sophisticated AI agent system with specialized roles for code generation, title creation, and response formatting
- Context-Aware Development: AI maintains conversation history and project context across sessions
- Production-Ready Output: Generates complete, functional applications with proper TypeScript, React, and Tailwind CSS What, you really believe that? AI? Generating production-ready code? Take your meds.
- Isolated Execution: E2B Code Interpreter provides secure, containerized development environments
- Real-time Preview: Live application preview with hot reload capabilities
- File System Management: Full file creation, modification, and deletion capabilities
- Package Installation: Automated npm package management within sandboxed environments
- Modular Design: Feature-based module organization with clear separation of concerns
- Rate Limiting: Intelligent usage tracking with flexible point-based system
- Error Handling: Comprehensive error boundaries and graceful degradation
- Real-time Updates: Optimistic UI updates with React Query integration
- React 19: Latest React with concurrent features
- Next.js 15.3.4: Full-stack React framework
- TypeScript 5: Static type checking
- Tailwind CSS 4: Utility-first CSS framework
- Shadcn/ui: Component library with 40+ components
- Lucide React: Icon library
- React Hook Form: Form management with validation
- Zod: Schema validation
- tRPC: End-to-end type-safe API layer, combined with safe querying using TanStack Query
- Prisma: Typesafe database ORM with PostgreSQL (Neon)
- Inngest: Background job processing
- Clerk: Authentication, billing and user management
- Rate Limiter Flexible: Usage tracking and rate limiting
- E2B Code Interpreter: Sandboxed development environments
- Anthropic Claude 3.5 Sonnet: AI model for code generation
- Inngest Agent Kit: Multi-agent orchestration framework
- PostgreSQL: Primary database
- Vercel: Deployment platform
- TypeScript: Full-stack type safety
-- Projects: User-created development projects
-- Messages: Conversation history with AI
-- Fragments: Generated code artifacts with sandbox URLs
-- Usage: Rate limiting and usage tracking- Node.js 18+
- PostgreSQL database
- Clerk account for authentication
- E2B account for sandbox environments
- Anthropic API key
-
Clone the repository
git clone https://github.com/yourusername/vibe.git cd vibe -
Install dependencies
npm install
-
Set up environment variables
cp .env.example .env.local
Configure the following variables:
DATABASE_URL="postgresql://..." CLERK_SECRET_KEY="sk_..." CLERK_PUBLISHABLE_KEY="pk_..." ANTHROPIC_API_KEY="sk-ant-..." E2B_API_KEY="..." INNGEST_EVENT_KEY="..." INNGEST_SIGNING_KEY="..."
-
Set up the database
npx prisma generate npx prisma db push
-
Run the development server
npm run dev
-
Run Inngest dev server
npx inngest-cli@latest dev- Open your browser Navigate to http://localhost:3000 and http://localhost:8288
npm run dev # Start development server
npm run build # Build for production
npm run start # Start production server
npm run lint # Run ESLintsrc/
βββ app/ # Next.js App Router pages
β βββ (home)/ # Landing page and pricing
β βββ projects/ # Project management
β βββ api/ # API routes
βββ components/ # Reusable UI components
β βββ ui/ # Shadcn/ui components (40+)
βββ modules/ # Feature-based modules
β βββ home/ # Landing page features
β βββ projects/ # Project management
β βββ messages/ # AI conversation handling
β βββ usage/ # Rate limiting and usage
βββ inngest/ # Background job processing
βββ trpc/ # Type-safe API layer
βββ lib/ # Utility functions
βββ generated/ # Generated Prisma client
- Free Tier: 2 generations per 30 days
- Pro Tier: 100 generations per 30 days
- Configurable: Easy adjustment of limits and durations
- Model: Claude 3.5 Haiku
- Max Tokens: 4096
- Temperature: 0.5
- Timeout: Configurable sandbox timeout
- Connect your GitHub repository to Vercel
- Configure environment variables in Vercel dashboard
- Deploy automatically on push to main branch
Ensure all required environment variables are configured in your deployment platform.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Shoutout to Code With Antonio for helping me with this project

