Dev tools

Capsule packs an HTML app and its SQLite data into one file, and the Show HN got 314 points

September 15, 2026 at 11:30 PM PT

Capsule product page hero with a shared .capsule file appearing in a chat thread

Image: Capsule

Why it mattersA team can hand a working app to a colleague as one file that runs offline, keeps its data inside the file, and can be regenerated or edited with any chat model, without hosting anything.

A developer posting as bashtian shipped Capsule, a desktop host player that packs an HTML app and its SQLite database into a single portable .capsule file. The Show HN reached 314 points and 126 comments in 17 hours.

Capsule is written in Rust with Tauri 2.0 and runs on macOS, Windows, and Linux. The .capsule file itself is a SQLite database: the HTML, CSS, JavaScript, images, PDFs, and any user data all live inside the same file, either in a localStorage-style key value store or in a MongoDB-inspired collections API. Data can be exported to CSV or JSON, and every entry carries a UUID and timestamp so two copies of the same file can be merged later. The author says a 1.0 release will open the file format specification.

Where AI fits

The site sends a new user to build the app in ChatGPT, Claude, or Gemini. The prompt points the chat model at withcapsule.app/prompt.txt, which teaches the model to output a self-contained HTML file with the Capsule storage API wired in. Once the file is packed, the app can call local or remote models at runtime for document-level AI features. The pitch is that a chat model produces the whole application, one prompt at a time, and the finished thing is a document you can email.

What it costs to adopt

The host player is a free download, and the file format is open enough that the author has committed to publishing the specification. Migrations run on version bumps so older .capsule files keep working. The permission model is deliberately narrow: a Capsule document has no direct file system access and must be granted permission before it reaches the internet. The author says on Hacker News that the permission model is still being tightened.

The trade-off he names himself: two people editing the same file produce divergent copies, and the merge story rests on the UUID plus timestamp scheme. iOS and Android hosts are labelled coming soon.

The wider point

Local-first app packaging is not new: PWAs, Electron, and Tauri all sit near this space. What is new is the pairing with a chat model as the primary authoring surface, and the acceptance that the resulting artefact should behave like a document rather than an installable program. A colleague opens the file, the app runs, the data stays inside it. For a team that already ships internal tools, the alternative is usually a hosted web app with an auth service and a database, and a shared spreadsheet if the tool never gets prioritised.

Capsule is one developer's project, at v0.x, and 314 Hacker News points is early attention rather than proof it will last. But the shape of the tool matters: it treats an app the same way a .xlsx file is treated, and it assumes the model wrote it. Anyone who has watched a colleague ask ChatGPT to build them a small tool and then had nowhere to put the output will recognise the problem it is solving.

Source

Primary source: Capsule product page. Show HN discussion: Hacker News.

Source: bashtian on Hacker News

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

More from AI News

Melvin Vivas released Local Evals, an open-source grader for JSON output and tool calls that runs on your own laptop

Melvin Vivas published donvito/local-evals under Apache-2.0, a local-first app that grades document to JSON, text to JSON, and tool-call proposals against any OpenAI-compatible endpoint or OpenRouter model, with runs, keys and databases kept on the user's own machine.

Source: GitHubDev tools

Ordewell turns one goal into an ordered plan of coding-agent tasks, one model per task

Ordewell is a new Apache-licensed task orchestrator for coding agents that turns one goal into an ordered plan of tasks, each with its own runner and model, and completes a task only when a unique marker appears in the runner output.

Source: Hacker NewsDev tools

Shadcn published a Tailwind design system linter that explains rule breaks to coding agents

Shadcn published @shadcn/lint, an MIT-licensed ESLint and Oxlint plugin that writes design system rules for Tailwind v4 in a form coding agents can read, and the repository has picked up 500 stars in 12 days.

Source: GitHubDev tools