The web really needs a proper filesystem to properly compete with native apps. I’d love to make WebTorrent (https://webtorrent.io) use the disk instead of in-memory storage, but there’s no clear cross-browser solution. So, in the meantime, torrent data is stored in memory and lost when the user navigates to another page.
I found this effort (https://github.com/wicg/writable-files), originally discussed on this forum in this thread (Writable file API). I think this looks great and would definitely work for our use case!
One thing that could improve it is an option to do without the part where we ask users to pick the location they want to save the file to. If I just need a temporary place to store file data (not in memory), I should be able to do that without prompting the user. Maybe we can add a {sandbox: true} or {temp: true} option that would store the file to a browser sandbox location without prompting the user.
This is similar to what the deprecated FileSystem API use to do. But seems like we can increase the usefulness of this API by supporting that use case. Just set one option, and the browser will pick the file path of your file.
Also: Another question: what is the status of this spec and/or the chances of it getting implemented? I can help rally support from developers on Twitter if that’s helpful. Let me know if there’s another more useful way to help!