Hello everybody. I am not a native English speaker.
Some time ago, I wrote this document. I then tried to contact the w3c and after a bunch of dead ends, I gave up.
I just now find this forum. Hopefully it will work this time.
The document I wrote is a pdf. Instead of copy-pasting it here, I’ll give a link.
https://drive.google.com/file/d/1J3PC3PgHNecGF0syrvWmZiwkg0MLhTUp/view
Now, it would be rude to end the message like that, so I’ll try to paraphrase the document, to summarize the idea
The idea is to bring back packaged applications. We used to have “file://” but for security reasons it became almost useless. We used to have java applets, but the proprietary aspect of everything lead to unfixable security issues. We used to have flash, but it followed the same path.
Now, I think that those things did not disappear because of a lack of popularity. They did because we had to to protect the user. And each time the problem did not come from the offline dimension, but from other aspects ( the blurred boundaries of the application for “file://” ).
There is still an market ( for a lack of a better term to say “there is both producers and consumers that want this option”) for such offline application. We must avoid security issues, that’s granted. But I think that with offline applications we can increase the security. After all, I don’t need an image editor to be able to mess with all my files.
The sandbox and highly controlled model we have for web applications could be extended to offline applications. With the rise of wasm, the possibilities of the canvas tag and the long term storage ( yet controlled) with indexeddb, we have all we need to create amazing offline applications.
All we need ? Not exactly: some parts of the API (like the gamepad) are hidden behind http/https. You can make an offline game, but you won’t have access to gamepads. You are also presently forced to pack all your data in a html-compatible encoding. And you cannot sign anything.
Well, I think it’s enough. The rest is in the document. Of course it’s nowhere near finalized.