logoalt Hacker News

anonymous_user9today at 1:30 AM1 replyview on HN

Access for directly manipulating the file isn't necessary (perhaps if the files were enormous, but images and Gerber files aren't). One can upload/download files from a local web app just fine on firefox, and the WASM app can act on the file in memory with whatever APIs it wants.


Replies

fc417fc802today at 5:32 AM

> in memory

This, but it can also have the browser store it to disk by requesting the persistent mode from the storage API.

https://developer.mozilla.org/en-US/docs/Web/API/Storage_API