Capsule: AI-generated apps stored in a single SQLite file

Original: Show HN: Capsule – Single-file web apps that save their data into SQLite

Why This Matters

Local-first AI app generation lowers the floor for building personal tools without touching a server.

Capsule is a desktop app platform that bundles UI, assets, and SQLite data into a single portable .capsule file. Users can generate complete apps via AI prompts using ChatGPT, Claude, or Gemini. No cloud, no accounts — files share like documents over WhatsApp or AirDrop. Free download for macOS, Windows, and Linux.

Capsule packages an entire application — HTML/CSS interface, media assets, and a local SQLite database — into one self-contained .capsule file. The pitch is simple: treat apps like documents. Send one over WhatsApp, tap it on the other end, and it opens with all data intact, no installation or account needed.

The AI generation layer lets users describe an app in plain text. Capsule then produces a complete single-file container with UI, database schema, and seed data. Existing apps can be modified on the fly through follow-up prompts or MCP-compatible coding tools. Supported AI assistants include ChatGPT, Claude, and Gemini.

On the privacy side, everything stays on-device by design — no network calls, no cloud sync, no vendor lock-in. The format uses standard HTML and CSS, so the underlying code is readable and portable. Cross-platform support covers macOS, Windows, and Linux today; iOS and Android are listed as coming soon.

Capsule is free. The host player — needed to open .capsule files — is available for download on the project's site. The model appears to be local-first software with AI generation as the primary growth hook.

Source

withcapsule.app — Read original →