News for hackers. Stuff that matters.
Re:Show HN: Capsule – Single-file web apps that save their d... by lolakutty on Tuesday September 15, 2026 @10:37AM (#49713231)
What is wrong with using IndexedDB?
Re:Show HN: Capsule – Single-file web apps that save their d... by bashtian on Tuesday September 15, 2026 @11:13AM (#49713777)
For saving data in the capsule file it would create complexity regarding migration handling when updating the HTML file to add a field to a form for example. Keeping the data schemaless makes it also easier for merging data or importing data from a CSV.
Re:Show HN: Capsule – Single-file web apps that save their d... by lolakutty on Tuesday September 15, 2026 @12:00PM (#49714570)
Doesn't indexedDB have builtin migration mechanism?

>Keeping the data schemaless makes it also easier for merging data or importing data from a CSV.

Not sure how it makes easier. There is always an implicit or explicit schema. IMHO explicit is often better.