Hacker News new | ask | show | jobs
by rickcarlino 311 days ago
I want this to be true, but I think a big limiter is patchy support for things like a file system API as well as some special rules that place extra restrictions on HTML files versus webpages served over HTTPS. I have not tried it in a long time but I remember not being able to access things like the location API or the microphone via local file. This puts local files at a disadvantage over web applications. If anyone knows of a definitive list of these restrictions, I would love to see it.
1 comments

You could still put your single file on a web server.
You could, but I wouldn’t call that a self-contained HTML app anymore. It requires a server, SSL certs, uploads, continued hosting even at rest (unlike a file on local storage media).
I would -- to me self contained just means one file. Inline styling, inline JavaScript.