A chat-to-app loop is buildable in a weekend: a language model with file tools, a Vite project, a live preview, and a zip export. The open-source bolt.diy already does this with any model. What you give up is the browser sandbox that runs Node with no install, one-click hosting with databases, Netlify and GitHub hookups, and tuned prompts that keep large edits from breaking the app. You also pay model tokens yourself, which is the same meter Bolt charges.
Before you buildCheck Bolt's Free plan first: 1M tokens a month, with a daily 300K limit and Bolt branding on published sites.
Build me a local prompt-to-app builder to replace Bolt.new. Requirements: - Node.js 22 + TypeScript: a Fastify server and a React page on http://127.0.0.1:4830 with chat on the left, a file tree and an editor (CodeMirror 6) in the middle and a live preview on the right. - Each project is a folder in ./projects/<slug> from a Vite + React + TypeScript + Tailwind CSS template. Preview is that folder's Vite dev server in an iframe, started with child_process. - Model: @anthropic-ai/sdk; key and model name come from .env. The model gets four tools: read_file, write_file, delete_file and run_command (only `npm install <pkg>` is allowed). Reject any path outside the project folder. - Every turn sends the file tree plus only the files the model asked for, not the whole project. - After each turn run `tsc --noEmit` and capture preview console errors; send them back to the model up to 3 times, then stop and show me. - History: each turn is a git commit through simple-git; an Undo button reverts the last turn and a list restores any earlier one. - Show input tokens, output tokens and cost per turn, a running total, and a MONTHLY_CAP_USD from .env that blocks new turns once reached. - Export: a zip of the project without node_modules, and a "Push to GitHub" button using a token in .env. - No accounts, no telemetry, local-first; the only network calls are the model API and GitHub. - Out of scope: hosting, databases, custom domains and collaboration. - README: key setup, how token cost is estimated and a warning that generated code needs review.
Opens your agent with the prompt filled in, you press enter. Or copy it and paste it into an empty folder.
The first prompt builds the core. Run these one at a time in the same folder to grow it into your own Bolt.new.
Add a database option to the app builder in this folder. Requirements: - A checkbox per project adds a Hono + better-sqlite3 API in server/ with a data file in the project folder. - The model gets a describe_schema tool and a migration folder it writes SQL files to. - Never delete data without a confirm click. - Update the README.
Add sharing to the app builder in this folder. Requirements: - A Share button runs `npm run build` and serves the dist/ folder on a random local port. - Optionally expose it through a Cloudflare Tunnel if CLOUDFLARED_TOKEN is set. - Stop sharing with one click. - Update the README with the security warning.
Add GitHub import to the app builder in this folder. Requirements: - Clone a repository URL into ./projects, detect the package manager and start its dev script. - Refuse repositories larger than 200 MB. - Keep the same git history so Undo works. - Update the README.
Reduce token use in the app builder in this folder. Requirements: - Build a short summary of each file (exports and props) cached in SQLite and send summaries instead of full files by default. - The model can request a full file with read_file. - Show tokens saved per turn. - Update the README.
Non-developers get a working, hosted app from a single page with no setup, and the plan covers the model bill, hosting and databases in one price. Teams add shared workspaces and admin controls.
Estimate · Model tokens are the main cost and depend on how much you build; hosting is whatever you pick. The build is token usage on your agent plan.
| Plan | Monthly | Annual, per month | What you get |
|---|---|---|---|
| Free | $0 | — | 300K tokens a day and 1M a month, Bolt branding, 10 MB uploads, hosting and unlimited databases. |
| Pro | $25 | — | Starts at 10M tokens a month with no daily limit, custom domains, no Bolt branding, 100 MB uploads, SEO boosting, AI image editing. |
| Teams | $30 | — | Everything in Pro plus centralized billing, access management, admin controls, user provisioning, organization sharing and a private npm registry. |
| Enterprise | custom | — | Custom token volumes and flexible billing. |
Free plan: 300K tokens a day and 1M a month, Bolt branding on sites, 10 MB uploads, public and private projects.
Kinda. The core is a weekend build with the prompt on this page, but real gaps remain: Running Node.js in the browser with nothing to install, Built-in hosting, databases and custom domains.
About $25 a month on the Pro plan, $300 a year (checked 2026-10-15).
Running Node.js in the browser with nothing to install; Built-in hosting, databases and custom domains; One-click Netlify and GitHub connections; Mobile use and team workspaces; Prompt tuning that limits how much of a project each edit rewrites. If any of those matter to you, keep paying.
Yes: bolt.diy (open source), Dyad (open source), OpenHands (open source).