Capsule bundles AI-generated web apps and their SQLite data into one shareable file
Original source
Show HN: Capsule – Single-file web apps that save their data into SQLite
Hacker News →Capsule is a Show HN project that packages an entire small application — HTML/CSS interface, media assets, schema, and a local SQLite database — into a single portable .capsule file. The pitch is that an app can behave like a document: you generate one from an AI prompt, then send it over WhatsApp, AirDrop, or email, and the recipient opens it in a host player that launches instantly with all data preloaded. Users can also iterate on features, dark mode, or schema live through AI prompts or MCP coding tools.
The selling point is a deliberate rejection of the cloud stack. There are no accounts, servers, or subscriptions; data is written directly into the file and stays on-device, so the apps work fully offline and, the maker argues, are immune to server-side breaches. The host player is free and cross-platform across macOS, Windows, and Linux today, with iOS and Android support promised.
The model is interesting for personal trackers, portfolios, and note-style tools, but the security framing deserves scrutiny. Shipping executable UI plus a database as an email-able file resurrects the classic risk of documents that run code — provenance, tampering, and what the host player actually sandboxes all matter. ‘Absolute protection from server breaches’ also sidesteps the flip side: a single unencrypted file is only as safe as the device and channel it travels through, and there is no mention of at-rest encryption, signing, or update integrity.
Read the full article
Continue reading at Hacker News →This is an AI-generated summary. Read the original for the full story.