An enhanced fork of Bolt.new with multi-model AI support, Supabase authentication, and a modern UI. Build full-stack applications using 19+ cutting-edge AI models from 6 major providers—all in your browser.
This enhanced version extends the original Bolt.new with powerful new features:
-
🤖 Multi-Model AI Support - Choose from 19+ models across 6 providers:
- Anthropic: Claude Sonnet 4.5, Claude Sonnet 4
- OpenAI: GPT-5, GPT-4.1, o3, o4-mini, GPT-4o
- Google: Gemini 2.5 Pro, Gemini 2.5 Flash, Experimental
- DeepSeek: V3.2, Reasoner (most cost-effective)
- xAI: Grok Code Fast 1, Grok 3, Grok 4
- Mistral: Codestral 25.08, Large, Small
-
🔐 Supabase Integration - Full authentication and data persistence:
- User authentication (sign up, sign in, password reset)
- Chat history sync across devices
- Project management with database storage
- Secure session handling
-
⚙️ Advanced Settings Page - Complete control over your environment:
- Model preferences and defaults
- Provider configuration
- Migration tools for legacy data
- Account management
-
🎨 Modern UI Components - Built with Radix UI and Tailwind:
- Model selector with capability badges
- Connection status indicator
- Enhanced authentication forms
- Responsive design throughout
Unlike Claude, v0, or ChatGPT, this platform gives you:
-
Full-Stack in the Browser: Powered by StackBlitz's WebContainers:
- Install and run npm packages (Vite, Next.js, React, etc.)
- Run Node.js servers
- Interact with APIs
- Deploy to production
- Share via URL
-
AI with Complete Environment Control: AI models have full access to:
- Filesystem operations
- Node.js server management
- Package manager (npm/pnpm)
- Terminal commands
- Browser console
-
Multi-Model Intelligence: Switch between models for different tasks:
- Use Claude Sonnet 4.5 for complex architecture
- Use Grok Code Fast for quick iterations
- Use DeepSeek for cost-effective development
- Use Gemini 2.5 Pro for web development
Whether you're a developer, PM, or designer, you can build production-grade applications with ease.
🚀 New to BoltDIY?
For a complete, step-by-step guide with troubleshooting, see our 📋 Complete Setup Guide
For quick setup (experienced users), follow the steps below:
- Node.js >= 20.0.0
- pnpm 10.18.0 (recommended) or npm
- Git
- Supabase account (free tier available)
-
Clone the repository
git clone https://github.com/Stijnus/bolt.diy_V2.0.git cd bolt.diy_V2.0 -
Install dependencies
pnpm install
-
Set up environment variables
cp .env.example .env.local
-
Configure your API keys in
.env.local:Required:
# Anthropic (required for basic functionality) ANTHROPIC_API_KEY=sk-ant-api03-xxxxx # Supabase (required for auth and persistence) SUPABASE_URL=https://your-project.supabase.co SUPABASE_ANON_KEY=your-anon-key SUPABASE_SERVICE_ROLE_KEY=your-service-role-key VITE_SUPABASE_URL=https://your-project.supabase.co VITE_SUPABASE_ANON_KEY=your-anon-key
Optional (add providers you want to use):
OPENAI_API_KEY=sk-xxxxx GOOGLE_API_KEY=xxxxx DEEPSEEK_API_KEY=xxxxx XAI_API_KEY=xxxxx MISTRAL_API_KEY=xxxxx
-
Set up Supabase database
# Easy automated setup (recommended) npm run setupThis script will:
- ✅ Validate your environment variables
- ✅ Copy the database schema to your clipboard
- ✅ Open the Supabase SQL Editor
- ✅ Guide you through the setup
Manual alternative: Copy
scripts/schema.sqland run it in Supabase SQL EditorThen:
- Create a new project at supabase.com
- Enable Email authentication in Supabase dashboard
- Configure Site URL (http://localhost:5173 for development)
-
Start the development server
pnpm dev
-
Open your browser to
http://localhost:5173
pnpm build
pnpm previewThis project is configured for Cloudflare Pages:
pnpm deployMake sure to add all environment variables to your Cloudflare Pages settings.
- Best for Speed: Grok Code Fast 1, Gemini 2.5 Flash
- Best for Cost: DeepSeek V3.2, Grok Code Fast 1
- Best for Coding: Claude Sonnet 4.5, GPT-5, Grok Code Fast 1
- Best for Context: Gemini 2.5 Pro (1M tokens), Codestral (256K)
-
Be specific about your stack: Mention frameworks like Astro, Tailwind, ShadCN in your initial prompt for proper scaffolding.
-
Use the enhance prompt icon: Click the enhance icon before sending to refine your prompt with AI assistance.
-
Scaffold basics first: Establish your application's foundation before adding advanced features.
-
Batch simple instructions: Combine multiple simple requests into one message to save time and API costs.
-
Switch models strategically: Use fast models for iterations, powerful models for architecture, and cost-effective models for simple tasks.
-
Save your chats: All conversations are synced to Supabase—access them from any device.
bolt.diy_V2.0/
├── app/
│ ├── components/
│ │ ├── auth/ # Authentication components
│ │ ├── chat/ # Chat interface & model selector
│ │ ├── header/ # Header with connection status
│ │ ├── settings/ # Settings page components
│ │ ├── sidebar/ # Sidebar with chat history
│ │ └── ui/ # Reusable UI components (Radix)
│ ├── lib/
│ │ ├── .server/
│ │ │ └── llm/
│ │ │ ├── providers/ # AI provider configurations
│ │ │ ├── model-config.ts
│ │ │ ├── provider-factory.ts
│ │ │ └── stream-text.ts
│ │ ├── contexts/ # React contexts (Auth)
│ │ ├── persistence/ # IndexedDB & Supabase
│ │ ├── stores/ # Nanostores (model, settings, etc.)
│ │ └── supabase/ # Supabase client setup
│ ├── routes/ # Remix routes
│ │ ├── api.chat.ts # Chat API with multi-model support
│ │ ├── settings.tsx # Settings page
│ │ └── projects.tsx # Projects page
│ └── types/ # TypeScript type definitions
├── public/ # Static assets
└── .env.example # Environment template
- Framework: Remix (React + SSR)
- Runtime: Cloudflare Workers
- UI Components: Radix UI + Tailwind CSS
- AI SDKs: Vercel AI SDK
- Database: Supabase (PostgreSQL)
- Authentication: Supabase Auth
- State Management: Nanostores
- Code Editor: CodeMirror 6
- Terminal: Xterm.js
- Container: WebContainers by StackBlitz
19+ models from 6 providers, each with unique strengths:
| Provider | Models | Best For | Cost (per 1M tokens) |
|---|---|---|---|
| Anthropic | Claude Sonnet 4.5, 4 | Complex coding, architecture | $3/$15 |
| OpenAI | GPT-5, GPT-4.1, o3, o4-mini | Reasoning, specialized coding | $3-15 |
| Gemini 2.5 Pro, Flash | Web development, large context | $0.15-7.50 | |
| DeepSeek | V3.2, Reasoner | Cost-effective, MoE | $0.28/$0.42 |
| xAI | Grok Code Fast 1, 3, 4 | Fast iterations, agentic | $0.20/$1.50 |
| Mistral | Codestral 25.08, Large | Multi-language, speed | $0.30/$0.90 |
- User Accounts: Sign up with email/password
- Session Management: Secure JWT-based authentication
- Chat History: All conversations synced to Supabase
- Projects: Create and manage multiple projects
- Cross-Device Sync: Access your work from anywhere
- Model Preferences: Set default models per provider
- Provider Configuration: Manage API keys and settings
- Migration Tools: Import data from local storage
- Account Settings: Manage profile and preferences
Contributions are welcome! Please check out the CONTRIBUTING.md for guidelines.
- Fork the repository
- Create a feature branch:
git checkout -b feature/my-feature - Commit your changes:
git commit -am 'Add new feature' - Push to the branch:
git push origin feature/my-feature - Open a Pull Request
pnpm test # Run tests once
pnpm test:watch # Run tests in watch mode
pnpm typecheck # Type checking
pnpm lint # Lint code
pnpm lint:fix # Fix linting issues- 📋 Complete Setup Guide - Step-by-step installation and configuration
- 📄 Documentation Hub - Complete project documentation
- 🚀 Quick Start - Fast setup for experienced users
- 🤖 Multi-Model Implementation - AI provider integration details
- 📋 Project Roadmap - Current status and future plans
- ⚙️ Environment Variables - Complete configuration reference
- 🏗️ Architecture - System architecture overview
- 🎨 Design System - UI components and design patterns
"Missing API key" error:
- Verify your
.env.localhas the correct API key - Check that the key format is correct for the provider
- Ensure you're using the right environment variable name
"Model not found" error:
- Check that the model ID matches the provider's documentation
- Verify the model is still available (providers may deprecate models)
- Try switching to a different model from the same provider
Supabase connection issues:
- Verify your Supabase URL and keys in
.env.local - Check that both server-side and client-side (
VITE_*) variables are set - Ensure your Supabase project is active and accessible
Slow AI responses:
- Some models are slower than others—check model capabilities
- Consider using "fast" models (Grok Code Fast 1, Gemini Flash)
- Check your network connection and provider status
MIT License - see LICENSE for details
- Built on Bolt.new by StackBlitz
- Powered by WebContainers
- UI components from Radix UI
- AI SDKs from Vercel
For issues, questions, or feature requests:
- Open an Issue
- Check existing issues before creating new ones
- Provide detailed information for bug reports
Maintained by: @Stijnus
Based on: Bolt.new by StackBlitz
Version: 2.0.0