Remix.run Logo
fc417fc802 6 hours ago

But I can drag and drop (or use the file picker) just fine on other websites.

dylan604 5 hours ago | parent [-]

To do what with? Upload? That's totally not the same thing as providing access for directly manipulating the file. That's basically HTML1.0 type stuff. JS file system access to provide a file to, I'm assuming, a WASM app is not even the same sport to be in the same ballpark.

anonymous_user9 5 hours ago | parent | next [-]

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.

fc417fc802 33 minutes ago | parent [-]

> 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

lelandbatey an hour ago | parent | prev [-]

You are wrong. You can upload a file to a local web page for example, see this offline only image editing tool I made: https://lelandbatey.github.io/scrapbook_img_print_layout/