hack-pad / hackpadfs

An extensible file system abstraction for Go. File systems, composable interfaces, and test suites.
Apache License 2.0
251 stars 11 forks source link

Web file system api #36

Open gedw99 opened 1 year ago

gedw99 commented 1 year ago

It’s on all browsers finally

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

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

some simple examples:

https://github.com/WICG/file-system-access/blob/main/EXPLAINER.md

it would be really cool and is designed for browser based editors.

also indexdb has sone gremlins that this API removes. I guess indexdb could be you in browser cache of what’s in the users OS file system though.

there is possibly a lot we can leverage already in this code base already too