{
  "id": 7652216,
  "title": "Show HN: Capsule – Single-file web apps that save their data into SQLite",
  "url": "https://urgent.news/2026/09/15/show-hn-capsule-single-file-web-apps-that-save-their-data-into-sqlite-7652216",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-15T13:31:40.000Z",
  "source": {
    "name": "Hacker News Best",
    "slug": "hacker-news-best",
    "url": "https://withcapsule.app/"
  },
  "original_language": "en",
  "account": "Hey HN, the creator of Capsule has shared a solution to the problem of saving data in HTML pages without hosting and sharing it elsewhere. Capsule is an app written in Rust with Tauri 2.0 that packs an HTML app and its data into a single SQLite file. The HTML file and related assets are embedded directly in the database. User data can be saved via localStorage key/value store or a MongoDB-inspired collections API as documents in a table within the file. Additional assets like PDF files or images can also be saved directly in the database. Capsule ensures privacy and security by restricting document functionality and requiring permission to access the internet. The permission model is still being improved, and documents cannot access the file system. The app can utilize local or remote AI models for document-specific AI features. To prevent data loss when merging copies of the same file, each data entry has a unique UUID and timestamp. The file format specification is planned to be opened for the 1.0 version of the app, allowing other apps to read or write Capsule files. Users can try out Capsule in the web preview at https://withcapsule.app/preview, using pre-built templates or creating a custom Capsule-optimized app using a provided prompt. The app wizard instructions can be found at https://withcapsule.app/prompt.txt. The creator is open to suggestions and use cases where this approach might make sense or fail. Comments can be provided at the provided URL.",
  "summary": "Hey HN, I always had the problem that building HTML pages is really simple now, but trying to save data required hosting it somewhere, and sharing it afterwards was not easy. Over the last few months, I've been building an app called Capsule (it’s also the file extension name) written in Rust with Tauri 2.0 that allows packing an HTML app and its data into a single SQLite file. The HTML file and…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 2,
    "also_reported_by": [
      {
        "outlet": "Hacker News",
        "title": "Show HN: Capsule – Single-file web apps that save their data into SQLite",
        "url": "https://urgent.news/2026/09/15/show-hn-capsule-single-file-web-apps-that-save-their-data-into-sqlite",
        "published": "2026-09-15T13:31:40.000Z"
      }
    ]
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}