logoalt Hacker News

lewisjoetoday at 2:06 PM4 repliesview on HN

This 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?


Replies

Dwedittoday at 2:12 PM

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.

show 3 replies
bashtiantoday at 2:12 PM

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.

show 2 replies
ProfDreamertoday at 3:22 PM

That reminds me of TiddlyWiki[1], a wiki application in the form of a single self-contained HTML file.

1: https://en.wikipedia.org/wiki/TiddlyWiki

lukasbmtoday at 2:43 PM

I imagined the capsule website would be able to either convert or directly run/open them