selfhostedworld.com logoselfhostedworld.com

Try describing what you need:

bolt.diy logo

bolt.diy

★ 19.9k

A self-hosted alternative to V0, Lovable, Cursor

MIT LicenseOpen Source — No Paywall3 Containers — 3 containers — light hosting footprintBinary · Package · Docker +2No external DB1 documented maintainer

About

bolt.diy is an open source AI coding assistant and the community-driven version of Bolt.new. It is designed for people who want to create and iterate on full-stack Node.js applications with help from...

Community Ratings

No ratings yet

Features

  • AI-powered full-stack web development
  • 19+ LLM provider integrations
  • image attachments to prompts
  • integrated terminal
  • code revert to earlier versions
  • project download as ZIP
  • Docker deployment support
  • Electron desktop app
  • data visualization and analysis
  • Git integration

Details

Last Updated
Oct 11, 2026
Created
Oct 13, 2024
Install Methods
binarypackage-managerdockerdocker-composesource
Requirements
Node.jspnpmDocker
Authentication
local
Backup & Export
native-exportproject-snapshot-restoration
Privacy & Independence
Cloud: Optional
Deployment

Deployment: Docker Compose ✓3 Containers — light hosting footprintRuns as 3 containers

Run bolt.diy with Docker Compose

Compose file from the bolt.diy project repository.

3 services

no resource limits declared

needs persistent storage (2 volumes)

docker-compose.yaml · @ 2e254ac · scanned Jun 4, 2026

services:
  app-prod:
    image: bolt-ai:production
    build:
      context: .
      dockerfile: Dockerfile
      target: bolt-ai-production
    ports:
      - '5173:5173'
    env_file: 
      - '.env'
      - '.env.local'
    environment:
      - NODE_ENV=production
      - COMPOSE_PROFILES=production
      # No strictly needed but serving as hints for Coolify
      - PORT=5173
      - GROQ_API_KEY=${GROQ_API_KEY}
      - HuggingFace_API_KEY=${HuggingFace_API_KEY}
      - OPENAI_API_KEY=${OPENAI_API_KEY}
      - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
      - OPEN_ROUTER_API_KEY=${OPEN_ROUTER_API_KEY}
      - GOOGLE_GENERATIVE_AI_API_KEY=${GOOGLE_GENERATIVE_AI_API_KEY}
      - OLLAMA_API_BASE_URL=${OLLAMA_API_BASE_URL}
      - XAI_API_KEY=${XAI_API_KEY}
      - TOGETHER_API_KEY=${TOGETHER_API_KEY}
      - TOGETHER_API_BASE_URL=${TOGETHER_API_BASE_URL}
      - AWS_BEDROCK_CONFIG=${AWS_BEDROCK_CONFIG}
      - VITE_LOG_LEVEL=${VITE_LOG_LEVEL:-debug}
      - DEFAULT_NUM_CTX=${DEFAULT_NUM_CTX:-32768}
      - RUNNING_IN_DOCKER=true
    extra_hosts:
      - 'host.docker.internal:host-gateway'
    command: pnpm run dockerstart
    profiles:
      - production

  app-dev:
    image: bolt-ai:development
    build:
      context: .
      dockerfile: Dockerfile
      target: development
    env_file: 
      - '.env'
      - '.env.local'
    environment:
      - NODE_ENV=development
      - VITE_HMR_PROTOCOL=ws
      - VITE_HMR_HOST=localhost
      - VITE_HMR_PORT=5173
      - CHOKIDAR_USEPOLLING=true
      - WATCHPACK_POLLING=true
      - PORT=5173
      - GROQ_API_KEY=${GROQ_API_KEY}
      - HuggingFace_API_KEY=${HuggingFace_API_KEY}
      - OPENAI_API_KEY=${OPENAI_API_KEY}
      - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
      - OPEN_ROUTER_API_KEY=${OPEN_ROUTER_API_KEY}
      - XAI_API_KEY=${XAI_API_KEY}
      - GOOGLE_GENERATIVE_AI_API_KEY=${GOOGLE_GENERATIVE_AI_API_KEY}
      - OLLAMA_API_BASE_URL=${OLLAMA_API_BASE_URL}
      - TOGETHER_API_KEY=${TOGETHER_API_KEY}
      - TOGETHER_API_BASE_URL=${TOGETHER_API_BASE_URL}
      - AWS_BEDROCK_CONFIG=${AWS_BEDROCK_CONFIG}
      - VITE_LOG_LEVEL=${VITE_LOG_LEVEL:-debug}
      - DEFAULT_NUM_CTX=${DEFAULT_NUM_CTX:-32768}
      - RUNNING_IN_DOCKER=true
    extra_hosts:
      - 'host.docker.internal:host-gateway'
    volumes:
      - type: bind
        source: .
        target: /app
        consistency: cached
      - /app/node_modules
    ports:
      - '5173:5173'
    command: pnpm run dev --host 0.0.0.0
    profiles: ['development', 'default']

  app-prebuild:
    image: ghcr.io/stackblitz-labs/bolt.diy:latest
    ports:
      - '5173:5173'
    environment:
      - NODE_ENV=production
      - COMPOSE_PROFILES=production
      # No strictly needed but serving as hints for Coolify
      - PORT=5173
      - OLLAMA_API_BASE_URL=http://127.0.0.1:11434
      - DEFAULT_NUM_CTX=${DEFAULT_NUM_CTX:-32768}
      - RUNNING_IN_DOCKER=true
    extra_hosts:
      - 'host.docker.internal:host-gateway'
    command: pnpm run dockerstart
    profiles:
      - prebuilt

This file may be out of date. Check the bolt.diy documentation for current setup steps.

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Mar 25, 2026

Related Software

Zed logo

Zed

91.6k
Zed is a high-performance multiplayer code editor.
Artificial IntelligenceAI Coding AssistantIDE Tools+2
2 Containers
Details
Cline logo

Cline

70.1k
An open source coding agent for use in the IDE and terminal.
Artificial IntelligenceAI Coding AssistantPermissive License+3
Details
Continue logo

Continue

36.2k
Continue is an open-source coding agent available as a CLI, VS Code extension, and JetBrains plugin.
Artificial IntelligenceAI Coding AssistantAI Agents+2
Details
onlook logo

onlook

26.9k
Onlook is an open-source, visual-first code editor for building and editing Next.js + TailwindCSS apps with AI.
Website BuildersArtificial IntelligenceAI Coding Assistant+2
Single Container
Details
srcbook logo

srcbook

3.4k
Srcbook is a TypeScript-centric app development platform that provides an AI app builder and a TypeScript notebook experience.
Artificial IntelligenceAI Coding AssistantIDE Tools+2
Telemetry: Opt-Out
Details
Cody logo

Cody

3.8k
Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
Artificial IntelligenceAI Coding AssistantPermissive License+2
Details
Roo Code logo

Roo Code

24.3k
An AI-powered coding assistant extension for VS Code that helps generate, refactor, debug, and document code from natural language.
Artificial IntelligenceAI Coding AssistantPermissive License+3
Details
void editor logo

void editor

28.8k
Void is a deprecated open-source desktop app forked from VS Code that adds AI-assisted code editing and local model/provider support.
Artificial IntelligenceAI Coding AssistantIDE Tools+3
Details
t3code logo

t3code

26.8k
T3 Code is an agent control surface that lets users manage local coding agents from mobile, web, or desktop clients.
Self Hosting SolutionsIDE ToolsAI Coding Assistant+1
2 Containers
Details
hunk logo

hunk

9.6k
Hunk is a review-first terminal diff viewer for reviewing Git changesets, raw files, and patches with an interactive UI.
IDE ToolsAI Coding AssistantMiscellaneous Tools
Details
codiff logo

codiff

1.4k
Codiff is a minimal local diff viewer for reviewing Git changes, creating commit walkthroughs, and leaving review comments.
IDE ToolsAI Coding Assistant
Details
dirac logo

dirac

1.5k
Dirac is an open-source AI coding agent that performs precise, token-efficient code edits and refactorings using hash-anchored changes and AST-aware manipulation.
AI Coding AssistantAI AgentsAI Tooling+1
Cloud Required
Details