Capsule packs HTML apps and their data into a single SQLite file
bashtian · hn · 2026-09-15
A Show HN release of Capsule, a Rust + Tauri 2.0 app that bundles an HTML app and its data into one .capsule (SQLite) file, solving the pain of needing hosting just to persist and share small web apps.
Key points:
- HTML and assets are embedded directly in the database; user data is stored via a localStorage-style key/value API or a MongoDB-inspired collections API
- Assets like PDFs and images can live alongside the app in the file; data exports to CSV/JSON
- Privacy-first: documents get no filesystem access and need permission to reach the internet
- Documents can use local or remote AI models for per-document AI features
- UUID + timestamp per entry enables merging divergent copies
- File format spec will open up at 1.0; a web preview with templates is available, plus a prompt for any AI provider to build Capsule-optimized apps
More from Apps
- How to Find an Old Gemini Chat: 4 Official Methods and Why They Sometimes Fail — Ok_Negotiation_2587 · 2026-11-02
- When You Should—and Shouldn't—Use AI to Search the Web — Wired AI · 2026-11-02
- 6 prompts to see what ChatGPT quietly knows about you — and wipe it — Aiden_Tech_Ai · 2026-11-02
- DiscImageStudio: open-source tool burns visible images onto CDs, DVDs and Blu-ray discs — ssh4net · 2026-11-02
- One sentence to Base44: AI builds a full app with database, login and live URL — HeyAmit_ · 2026-11-02
- Hacker Papers site link plus the HackerTube dataset behind Karpathy's project — aigclink · 2026-11-02