← Back to Leaderboard
Bstackblitz-labs

stackblitz-labs/bolt.diy

A WebContainer workspace for building web apps with your choice of AI model

Open-Source AI AppAlternative to Bolt.newQuickstart ↓
Engineering Health (Methodology)
A+ · 100/100
Maintenance Activity
● Updated today
Latest Release
v1.0.3
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption25/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedLocal AIAPI
Total Stars
★ 20,182
24h Growth
+5
7d Growth
+33
Forks
10,636

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

stackblitz-labs/bolt.diy Star History (2024-10-13 - 2026-12-04) ALL-TIME STAR HISTORY (2024-10 – 2026-12) +20.2k in 782d · avg +26/day 21.3k 10.7k 0 2024-10-13: ★ 192024-11-30: ★ 4,2932025-01-18: ★ 9,2372025-03-08: ★ 12,5302025-04-26: ★ 14,4342025-06-14: ★ 15,5542025-08-02: ★ 16,4642025-09-20: ★ 17,2872025-11-08: ★ 17,8062025-12-27: ★ 18,1662026-02-14: ★ 18,5132026-04-04: ★ 18,8242026-05-23: ★ 19,0902026-07-11: ★ 19,3592026-08-29: ★ 19,6752026-10-17: ★ 19,9072026-12-04: ★ 20,182 ★ 20.2k 2024-10 2025-11 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

bolt.diy is a TypeScript workspace that separates model inference from project execution. The chat composer selects a provider and model for each prompt; the application uses Vercel AI SDK adapters such as @ai-sdk/openai, @ai-sdk/anthropic, and @ai-sdk/google. Generated project files can be edited in the CodeMirror workbench, while WebContainers run the Node.js project and its development server in the browser. Hosting the workspace does not move that preview runtime onto the application server.

The source tree separates the web application in app/ from the Electron shell in electron/. The web build uses React Router, with Vite configuration for both web and desktop paths. Model adapters are the extension point for inference providers; MCP is a separate tool interface, backed by @ai-sdk/mcp and @modelcontextprotocol/sdk. Users select MCP tools from the prompt attachment menu, while external service connections are configured in Settings → Integrations → Connectors.

Key Capabilities & Differentiators

The workspace integrates 22+ cloud and local model providers. OpenRouter, Anthropic, OpenAI, and Google are enabled by default; other providers, including Ollama and LM Studio, can be enabled in Settings. When a prompt names a supported framework explicitly, the workspace can select a matching starter with detected install and development-server commands before the first customization request. The workbench keeps code editing, terminal output, visual diffs, and live preview in one place.

Projects can be cloned from or pushed to Git, restored from snapshots, or exported as ZIP files; file locking helps manage conflicts. Supabase integration and MCP-backed project and web tools extend the workflow beyond code editing. The workspace also offers publishing to Netlify, Vercel, and GitHub Pages. Those integrations are publishing paths for generated projects, not hosting options for the workspace itself or a guarantee that every generated backend will run on every target.

Trade-offs & Limitations

Against hosted Bolt.new, the case for bolt.diy is control over workspace hosting and model selection, not presumed feature parity. That control comes with responsibility for provider credentials, endpoint reachability, and release validation. Cloud inference avoids provisioning model hardware but leaves cost and rate limits with the chosen provider. Local inference shifts compute and memory requirements to the inference host, while preview builds and development servers still consume resources in the user's browser.

For remote hosting, UI-entered API keys are stored in JavaScript-accessible cookies and sent to the application server. Use HTTPS, restrict access, and decide whether UI entry or environment-based configuration fits your credential policy. For enterprise adoption, check WebContainers API commercial terms separately: the workspace's MIT license does not resolve the licensing obligations of its browser execution dependency.

Hardware & Deployment Guide

For a source-based development run, use Node.js ≥22.12.0 and pnpm ≥9.15.9, install dependencies with pnpm install, then run pnpm run dev and open http://localhost:5173. For self-hosting, docker-compose.yaml defines the app-prod service, builds the bolt-ai-production Dockerfile target, and maps port 5173:5173. Compose uses .env for substitution and passes both .env and .env.local into the container; keep shared values in sync and keep both files out of version control. Electron installers are available for Windows, macOS, and Linux.

Cloud mode relies on provider APIs. A local model endpoint can keep inference local, but package installation, connectors, and publishing may still need network access; test those separately if offline operation is a requirement. Release v1.0.2 fixed the WebContainer development-server lifecycle and added MCP-backed project and web tools. v1.0.3 focused on the release workflow's pnpm version and CI lint and test fixes. The stated direction is maintenance and reliability work rather than new features.

Execution: WebContainers run the generated Node.js project in the browser alongside a CodeMirror editor, terminal, and live preview.
Model routing: Select a provider per prompt from 22+ integrations, including local Ollama and LM Studio endpoints.
Review and recovery: Inspect visual diffs, lock files to manage conflicts, restore snapshots, and export projects as ZIP archives.
Tool interfaces: MCP tools are selectable from the prompt attachment menu; service connections are managed separately under Settings → Integrations → Connectors.
Deployment boundaries: Host the workspace with Docker or run it in Electron; publish generated projects separately to Netlify, Vercel, or GitHub Pages.
Credential handling: UI-entered keys live in JavaScript-accessible browser cookies; environment variables are an alternative configuration path.
Best For

Developers and prototyping teams building Node.js web apps who want in-browser editing and preview, per-prompt model choice, and control over hosting or inference endpoints.

Skip If

You need a managed workspace with minimal operational setup, a verified fully offline workflow out of the box, or an enterprise rollout before WebContainers licensing and credential handling are cleared.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

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

Comparison vs. Top Chat UI & AI Apps Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
bolt.diy ★20.2k+33TypeScriptMITA WebContainer workspace for building web apps with your choice of AI model
dyad22.5k+59TypeScript—Local desktop AI app builder with bring-your-own-key model access
open-design110.9k+1kTypeScriptApache-2.0Local-first design workspace that turns coding-agent output into reviewable prot
openclaw395.6k+570TypeScriptMITA self-hosted Gateway for one AI assistant across chats and devices

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/stackblitz-labs/bolt.diy.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

stackblitz-labs/bolt.diy Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about bolt.diy

How do local model endpoints fit into the workspace, and what changes with Docker?

Ollama and LM Studio supply model inference; WebContainers run the generated Node.js project in the browser. Configure the model endpoint in Settings → Providers or through OLLAMA_API_BASE_URL or LMSTUDIO_API_BASE_URL. If bolt.diy runs in Docker and the model server runs on the host, use an address reachable from the container, such as host.docker.internal where supported. The container's 127.0.0.1 is not the host.

Do I need a GPU, and how should I size the machines?

With a cloud provider, model inference runs remotely, so there is no local model VRAM requirement. Size the browser and Node.js application host for the projects and sessions they handle. With Ollama or LM Studio, size the inference host separately: memory and compute needs depend on the model, quantization, context length, and concurrent requests. There is no single VRAM minimum for bolt.diy.

Does the MIT license cover an enterprise self-hosted rollout?

Not on the strength of MIT alone. The MIT license covers the bolt.diy code, while the WebContainers API has separate commercial licensing terms for enterprise deployment. Review those terms for your intended use before rolling out the workspace. Hosting it yourself in Docker does not remove that dependency.

When should I choose bolt.diy over Bolt.new?

Choose bolt.diy if selecting a different provider per prompt, routing inference to a local endpoint, or controlling where the workspace runs is a requirement. Evaluate hosted Bolt.new if you'd rather avoid operating the workspace. Compare the two on a representative project using your intended model and deployment target; shared branding does not establish feature or output parity.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining stackblitz-labs/bolt.diy? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature stackblitz-labs/bolt.diy on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare