Capsule

Dev tools

single-file app packaging

SHOW HN2026

Legend

Capsule

Single-file web apps that save their data into SQLite

withcapsule.app

#sqlite#single file app#offline web app#local-first#html app

380points
166comments
#99of 4,366 in 2026
Top 3%of 2026 by points

How HN took it

MixedNo clear lean

23 positive, 34 neutral or asking, 7 mixed, 30 critical, out of 94 comments about the project. Thread score -0.13.

Idea: 19 for, 15 againstExecution: 0 for, 4 againstPrivacy: 0 for, 4 againstDesign: 1 for, 1 againstDocs: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Good idea for local-first, shareable small apps

    From 3 comments
    • love this idea!
      zackify on HN
    • With the battle of AI versus human agency raging I have a prediction that local-first desktop apps are going to make a comeback. It's nice to see something like this make it…
      thesurlydev on HN
    • could see this being handy for a little game with the save bundled in
      edwardbonnett on HN
  • Useful for AI-generated mini apps

    From 2 comments
    • Many big companies are starting now to test agentic coding to automate business processes. This could be a nice tool to distribute apps for workflows that aren't big enough to…
      dgf18 on HN
    • I love this idea! One of the fallouts from widespread AI adoption that I've seen: They're very good at creating visual artifacts, but if you ever have to provide data in those…
      razerbeans on HN

Objections

  • Security risk: malicious documents and file delivery

    From 3 comments
    • New way to deliver viruses just dropped! Great idea but it can be abused for sure.
      tamimio on HN
    • Attackers / Malware Developers: "A document as a web app?, What could possibly go wrong?"
      rvz on HN
    • This seems ripe for an injection attack. Can it be inspected before running?
      redog on HN
  • Proprietary, closed source

    From 2 comments
    • This is proprietary. Yuck
      writtenone on HN
    • Personally, you lost me at `.capsule`. I assume this is your format? Now, what happenss when you are not around or I don't have access to you when it is needed most?
      Brajeshwar on HN
  • Merging and sync across copies is unclear or weak

    From 2 comments
    • My take: If your app needs to update and preserve state (using SQLite or any other DB), it is probably not something you want to pass around as a bundled file. Or at least, it's…
      jawns on HN
    • if state is best shared, why keep it w/ the code? You're gonna end up having to build a complex state sync system to a central DB anyways...
      sigmonsays on HN
  • macOS download shows damaged-app warning

    From 2 comments
    • Looks useful, but the Mac download shows "“Capsule” is damaged and can’t be opened. You should eject the disk image." and then you realize it could be ripe for malicious payloads…
      dzink on HN
    • “Capsule.app” is damaged and can’t be opened. You should move it to the Trash.
      Jonovono on HN

Requests

  • Open source the app or spec

    From 3 comments
    • It kinda reminds me of MS Access, which ended up being a pain in the butt for IT departments, but also covered a need within some department with limited resources. Really…
      m-p-3 on HN
    • Is this open source ?
      annrap1d on HN
    • Do you plan to open source it? Seems like a proprietary app & spec.
      smy20011 on HN
  • Native HTTP API without CORS limits

    From 1 comment
    • I’ve been experimenting with Capsule and really like the concept. I confirmed that external REST APIs work from Capsule via fetch(). I’d like to use Capsule as a…
      sago350 on HN
  • Cloud storage sync

    From 3 comments
    • I've always wanted something like this! But I'd want to see some kind of clouds storage sync to actually use it for anything practical. Maybe it could include YJS, with agents…
      eternityforest on HN
    • I really like the idea. It's so easy to create small tools with AI now, but hard to install them as local apps or share them. But I'm missing a few relevant features: 1. syncing…
      andix on HN
    • Love the UI. Simple and clean. Html instead of full app is nice idea. Make online sharing for collaboration edit, but yep need cloud storage.
      ferflowhq on HN

Questions

  • How are conflicting copies merged

    From 2 comments
    • I love this idea! One of the fallouts from widespread AI adoption that I've seen: They're very good at creating visual artifacts, but if you ever have to provide data in those…
      razerbeans on HN
    • I wish there was a way to see the underlying HTML/JS and schema of these container files. Maybe you can on the desktop app? But it would be cool to see what's happening under the…
      domh on HN
  • Can the file be inspected before running

    From 1 comment
    • This seems ripe for an injection attack. Can it be inspected before running?
      redog on HN
  • Can the file be read as plain text

    From 1 comment
    • Is the file still fairly readable as plain text when opened with any old text editor? Is this asking too much?
      manlymuppet on HN

Alternatives named

  • File System Access API in browsers

    From 2 comments
    • > but trying to save data required hosting it somewhere With the File System Access API, webpages nowadays can read and write local files just like desktop applications:…
      mg on HN
    • You can get a cheap approximation of this with chromium browsers + Filesystem API and a PWA manifest for that native-ish feel. AI has reignited my interest in building based 100%…
      eleventen on HN
  • Trilium standalone mode with OPFS

    From 1 comment
    • For the curious, the note taking app Trilium has a "standalone" mode¹, built on top of OPFS² and sqlite OPFS persistence, such that your notes (~web pages here) are stored in…
      ezst on HN
  • PocketBase

    From 1 comment
    • I'm surprised to not see Pocketbase mentioned in this thread at all. https://pocketbase.io/docs/ "PocketBase is an open source backend consisting of embedded database (SQLite)…
      ninininino on HN
  • Decker

    From 2 comments
    • This seems ripe for an injection attack. Can it be inspected before running?
      redog on HN
    • Attackers / Malware Developers: "A document as a web app?, What could possibly go wrong?"
      rvz on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/49712278)