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% on browser native features. https://developer.mozilla.org/en-US/docs/Web/API/File_System...
Show HN: Capsule – Single-file web apps that save their data into SQLite
11–20 of 176 posts
Re: Show HN: Capsule – Single-file web apps that save their data into SQLite
#12I'm having Lotus Notes flashbacks.
Re: Show HN: Capsule – Single-file web apps that save their data into SQLite
#13Re: Show HN: Capsule – Single-file web apps that save their data into SQLite
#14Re: Show HN: Capsule – Single-file web apps that save their data into SQLite
#15This is great. Curious: this requires users to have a host app installed on their machine that can read .capsule file right? Won't that be a point of friction for distribution? Isn't html/css a better distribution mechanism as most computers already have the tech to run them?
Re: Show HN: Capsule – Single-file web apps that save their data into SQLite
#16Re: Show HN: Capsule – Single-file web apps that save their data into SQLite
#17This is great. Curious: this requires users to have a host app installed on their machine that can read .capsule file right? Won't that be a point of friction for distribution? Isn't html/css a better distribution mechanism as most computers already have the tech to run them?
You'd think so, but web browsers are downright lobotomizing the ability for local HTML files to run any meaningful javascript code. Want to run a JS file from the same directory? CORS ERROR!!!! Hence 200MB applications that are complete copies of the Chromium browser to run under 1MB of actual web code.
Re: Show HN: Capsule – Single-file web apps that save their data into SQLite
#18Re: Show HN: Capsule – Single-file web apps that save their data into SQLite
#19This is great. Curious: this requires users to have a host app installed on their machine that can read .capsule file right? Won't that be a point of friction for distribution? Isn't html/css a better distribution mechanism as most computers already have the tech to run them?
The problem is that you can't save the user data in way that you can click a single file, similar to a Word or Excel file. I you think a about it, a Excel spreadsheet is also just UI + data in a single file.