stackblitz-labs/bolt.diy

Prompt, run, edit, and deploy full-stack web applications using any LLM you want!

TypeScript

19,946

1,702 commits

updated Oct 12, 2026

See the code

README

bolt.diy

bolt.diy: AI-Powered Full-Stack Web Development in the Browser

Welcome to bolt.diy, the open-source AI developer workspace that lets you select your preferred LLM for every prompt. Build full-stack web applications in the browser with support for 21+ model providers (OpenAI, Anthropic, Gemini, Groq, xAI, DeepSeek, Ollama, LM Studio, and more), or extend it with any provider supported by the Vercel AI SDK.

Documentation | Community Forum | FAQ & Troubleshooting


Also this pinned post in our community has a bunch of incredible resources for running and deploying bolt.diy yourself!

bolt.diy was originally started by Cole Medin but has quickly grown into a massive community effort to build the BEST open source AI coding assistant!


Table of Contents


Quick Start

Prerequisites

  • Node.js >= 22.12.0
  • pnpm >= 9.15.9 (npm install -g pnpm)

1. Clone & Install

git clone https://github.com/stackblitz-labs/bolt.diy.git
cd bolt.diy
pnpm install

2. Run the Development Server

pnpm run dev

Open http://localhost:5173 in your browser.

Pre-built Desktop Binaries: Prefer a standalone app? Download binaries for Windows, macOS, and Linux from our Latest Releases.


Running with Docker

  1. Configure Environment Variables:

    cp .env.example .env.local
    
  2. Build and Run:

    # Development mode with hot-reload:
    docker compose --profile development up
    
    # Production build:
    pnpm run dockerbuild:prod
    docker compose --profile production up
    

Desktop App (Electron)

bolt.diy is also available as a cross-platform desktop application:

  • Download: Grab pre-built installers from Latest Releases.
  • Build from Source:
    pnpm electron:build:dist
    

Configuring API Keys and Providers

You can configure model providers either directly in the UI or via environment variables:

Click the Settings icon (⚙️) in the sidebar → Providers. Enter your API keys or configure local endpoints (Ollama, LM Studio, OpenAI-compatible). Keys are validated in real time and stored securely in your browser cookies.

Option B: Environment Variables

Copy .env.example to .env.local and add your keys or local endpoints:

# Cloud Providers
ANTHROPIC_API_KEY=your_key_here
OPENAI_API_KEY=your_key_here
GEMINI_API_KEY=your_key_here

# Local Providers
OLLAMA_BASE_URL=http://127.0.0.1:11434
LMSTUDIO_BASE_URL=http://127.0.0.1:1234

Features

  • In-Browser Web Development: Full-stack Node.js development environment powered by WebContainers.
  • 21+ AI Providers: Cloud (Anthropic, OpenAI, Google, DeepSeek, Groq, xAI, Mistral, etc.) and Local (Ollama, LM Studio).
  • Interactive Workbench: Integrated code editor, terminal, visual diff viewer, and real-time live preview.
  • Project Workflows: Git cloning/pushing, snapshot restoration, file conflict locking, and ZIP export.
  • Deployments: One-click deployment to Netlify, Vercel, and GitHub Pages.
  • Database & Visuals: Supabase integration, data visualization charts, and Model Context Protocol (MCP) tooling.

Recent Highlights

  • Expanded AI & Tooling Ecosystem: 21+ cloud and local LLM providers, Model Context Protocol (MCP) integration, and voice prompting.
  • Enhanced Code & Project Workflows: Visual diff inspection, file conflict locking, codebase search, Git integration, and snapshot restoration.
  • Cross-Platform & Deployments: Native Electron desktop app, Expo (React Native) support, and direct deployment to Netlify, Vercel, and GitHub Pages.
  • Data & Backend Integrations: Built-in Supabase management, interactive charts, and bulk chat operations.

Looking Ahead: Ongoing work includes bug Fixes, dependance updates and fixes for reliability issues no new features are planed.


Available Scripts

CommandDescription
pnpm run devStart development server with hot module reloading
pnpm run buildBuild the application for production (react-router build)
pnpm run previewPreview production build locally
pnpm testRun unit and integration tests with Vitest
pnpm run typecheckRun TypeScript type checks (tsc)
pnpm run lintRun ESLint across the codebase
pnpm run dockerbuildBuild Docker container for development
pnpm run electron:devStart Electron desktop application in dev mode
pnpm electron:build:distPackage Electron desktop app for current OS

Contributing & Community


Licensing

bolt.diy is open-source under the MIT License. It utilizes the WebContainers API, which has specific commercial licensing terms for enterprise deployment.

stackblitz-labs/bolt.diy

Prompt, run, edit, and deploy full-stack web applications using any LLM you want!

TypeScript

19,946

1,702 commits

updated Oct 12, 2026

See the code

README

bolt.diy

bolt.diy: AI-Powered Full-Stack Web Development in the Browser

Welcome to bolt.diy, the open-source AI developer workspace that lets you select your preferred LLM for every prompt. Build full-stack web applications in the browser with support for 21+ model providers (OpenAI, Anthropic, Gemini, Groq, xAI, DeepSeek, Ollama, LM Studio, and more), or extend it with any provider supported by the Vercel AI SDK.

Documentation | Community Forum | FAQ & Troubleshooting


Also this pinned post in our community has a bunch of incredible resources for running and deploying bolt.diy yourself!

bolt.diy was originally started by Cole Medin but has quickly grown into a massive community effort to build the BEST open source AI coding assistant!


Table of Contents


Quick Start

Prerequisites

  • Node.js >= 22.12.0
  • pnpm >= 9.15.9 (npm install -g pnpm)

1. Clone & Install

git clone https://github.com/stackblitz-labs/bolt.diy.git
cd bolt.diy
pnpm install

2. Run the Development Server

pnpm run dev

Open http://localhost:5173 in your browser.

Pre-built Desktop Binaries: Prefer a standalone app? Download binaries for Windows, macOS, and Linux from our Latest Releases.


Running with Docker

  1. Configure Environment Variables:

    cp .env.example .env.local
    
  2. Build and Run:

    # Development mode with hot-reload:
    docker compose --profile development up
    
    # Production build:
    pnpm run dockerbuild:prod
    docker compose --profile production up
    

Desktop App (Electron)

bolt.diy is also available as a cross-platform desktop application:

  • Download: Grab pre-built installers from Latest Releases.
  • Build from Source:
    pnpm electron:build:dist
    

Configuring API Keys and Providers

You can configure model providers either directly in the UI or via environment variables:

Click the Settings icon (⚙️) in the sidebar → Providers. Enter your API keys or configure local endpoints (Ollama, LM Studio, OpenAI-compatible). Keys are validated in real time and stored securely in your browser cookies.

Option B: Environment Variables

Copy .env.example to .env.local and add your keys or local endpoints:

# Cloud Providers
ANTHROPIC_API_KEY=your_key_here
OPENAI_API_KEY=your_key_here
GEMINI_API_KEY=your_key_here

# Local Providers
OLLAMA_BASE_URL=http://127.0.0.1:11434
LMSTUDIO_BASE_URL=http://127.0.0.1:1234

Features

  • In-Browser Web Development: Full-stack Node.js development environment powered by WebContainers.
  • 21+ AI Providers: Cloud (Anthropic, OpenAI, Google, DeepSeek, Groq, xAI, Mistral, etc.) and Local (Ollama, LM Studio).
  • Interactive Workbench: Integrated code editor, terminal, visual diff viewer, and real-time live preview.
  • Project Workflows: Git cloning/pushing, snapshot restoration, file conflict locking, and ZIP export.
  • Deployments: One-click deployment to Netlify, Vercel, and GitHub Pages.
  • Database & Visuals: Supabase integration, data visualization charts, and Model Context Protocol (MCP) tooling.

Recent Highlights

  • Expanded AI & Tooling Ecosystem: 21+ cloud and local LLM providers, Model Context Protocol (MCP) integration, and voice prompting.
  • Enhanced Code & Project Workflows: Visual diff inspection, file conflict locking, codebase search, Git integration, and snapshot restoration.
  • Cross-Platform & Deployments: Native Electron desktop app, Expo (React Native) support, and direct deployment to Netlify, Vercel, and GitHub Pages.
  • Data & Backend Integrations: Built-in Supabase management, interactive charts, and bulk chat operations.

Looking Ahead: Ongoing work includes bug Fixes, dependance updates and fixes for reliability issues no new features are planed.


Available Scripts

CommandDescription
pnpm run devStart development server with hot module reloading
pnpm run buildBuild the application for production (react-router build)
pnpm run previewPreview production build locally
pnpm testRun unit and integration tests with Vitest
pnpm run typecheckRun TypeScript type checks (tsc)
pnpm run lintRun ESLint across the codebase
pnpm run dockerbuildBuild Docker container for development
pnpm run electron:devStart Electron desktop application in dev mode
pnpm electron:build:distPackage Electron desktop app for current OS

Contributing & Community


Licensing

bolt.diy is open-source under the MIT License. It utilizes the WebContainers API, which has specific commercial licensing terms for enterprise deployment.

Significant stargazers

(top 24 of 94)

Carol Willing

1,565 followers · starred Jan 2025

Jason Miller

13,166 followers · starred Mar 2025

swyx.io

7,705 followers · starred Nov 2024

Jeff Lindsay

3,989 followers · starred Dec 2024