Deploy bolt.diy App Builder

bolt.diy AI app builder behind a login gateway; bring your own model key

Deploy bolt.diy App Builder

bolt.diy

Just deployed

bolt-diy Gateway

caddy:2.11.9-alpine

Just deployed

Deploy and Host bolt.diy App Builder on Railway

Deploy bolt.diy, the open-source AI app builder from the Bolt.new team, behind a password-protected gateway. Describe an app in chat and bolt.diy writes the code, runs it in your browser, and lets you edit, preview and export it, using the model provider and API key you choose.

About Hosting bolt.diy App Builder

bolt.diy is a self-hosted alternative to Bolt.new that works with OpenAI, Anthropic, Google, OpenRouter, Groq, DeepSeek, Mistral, xAI and any OpenAI-compatible endpoint. This template runs bolt.diy v1.0.3, pinned to an exact image digest, as a private service, and puts a Caddy gateway with a generated password in front of it. Generated projects run in a WebContainer in your browser; chats and files are saved in your browser, so the server needs no database or volume.

Why Deploy bolt.diy App Builder on Railway

bolt.diy has no login of its own, and its server calls model providers with your keys and proxies git requests to any host, so an exposed instance can spend your credits. This template makes the authenticated gateway the only public entry point and generates the password at deploy time. It also fixes two problems that break the upstream image on a plain deployment: the image has no CA certificates, so every server-side HTTPS call to a model provider fails, and its preview server rejects requests for any public host name with 403.

Common Use Cases

  • Prototype web apps and landing pages from a prompt with your own OpenAI, Anthropic, Gemini or OpenRouter key.
  • A private Bolt.new-style workspace for yourself or a small team, without per-seat pricing.
  • Try different models, including self-hosted OpenAI-compatible endpoints, on the same app-building workflow.

Dependencies for bolt.diy App Builder Hosting

You need an API key for a language model provider and a recent Chromium-based browser (Chrome, Edge or Brave). Everything else is included and all credentials are generated.

Deployment Dependencies

  • bolt.diy v1.0.3 (official image) for the app builder UI and model calls.
  • Caddy 2.11.9 for HTTP Basic Auth and the public reverse proxy.
  • StackBlitz WebContainers, loaded by your browser, to run generated projects. StackBlitz requires a commercial WebContainer API license for production use in a for-profit setting: https://webcontainers.io/enterprise

After deployment, open bolt-diy Gateway and sign in with BOLT_USERNAME and BOLT_PASSWORD from that service's variables, then add your provider key in bolt.diy's first-run setup.

Projects are stored in your browser, not on the server: export them as a ZIP or push them to GitHub to keep a copy. This is a single-login deployment for personal or small-team use. Behind the gateway, running Supabase SQL from chat alerts and cloning private repositories through bolt.diy's git proxy are not supported.


Template Content

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
117
View Template
Weaviate
Vector database with hybrid search and an API key-protected API

GitHub Locker
1
View Template
Möbius Personal AI OS
Self-hosted AI agent that builds and runs apps for you, with memory.

Tracklayer
1