Hacker News new | ask | show | jobs
by drenvuk 1589 days ago
as much as I'd like to use this no browser really supports it aside from chrome. the brave team even specifically disabled it due to security issues.
1 comments

Perhaps not coincidentally, today WebKit also blogged about availability of the API in Safari as well.

https://webkit.org/blog/12257/the-file-system-access-api-wit...

Note that, unlike Chrome, Safari only supports “origin private” files which means it cannot be used to access files already on your system (e.g. no vscode.dev, photoshop.adobe.com opening of local files).
The main selling point to me for the file system access api is the ability to write directly to the file system on the device but from what I could understand in that blog post is that the 'files' that you write to don't actually map to the device's fs itself. Has anyone used it to write to an existing directory or is it just an alternative and more familiar interface to indexedDB?
I have been using it to provide ability to read existing markdown notes in a users directory see [1]. So far it works great but browser support is limited to chrome and edge.

[1] https://bangle.io