8000 [feat] FileSystemAccessAPI · Issue #13576 · tauri-apps/tauri · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[feat] FileSystemAccessAPI #13576

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jswhisperer opened this issue Jun 5, 2025 · 4 comments
Closed

[feat] FileSystemAccessAPI #13576

jswhisperer opened this issue Jun 5, 2025 · 4 comments

Comments

@jswhisperer
Copy link
jswhisperer commented Jun 5, 2025

Describe the problem

Would love some support for FileSystemAccessAPI, I managed to ponyfill for browser apps of Tauri with
both https://github.com/jimmywarting/native-file-system-adapter/ and browser-fs-access
https://developer.mozilla.org/en-US/docs/Web/API/File_System_API

FileSystemAccess is only available under an https url scheme, but is working with Tauri

Describe the solution you'd like

to be able to have universal fileediting with native app and browser app

Alternatives considered

https://github.com/jimmywarting/native-file-system-adapter/ and browser-fs-access

Additional context

No response

@FabianLars
Copy link
Member

Just so everyone who stumbles upon this is on the same page, what's shown in those tables here https://developer.mozilla.org/en-US/docs/Web/API/File_System_API#browser_compatibility is outside our control so this would also come down to mostly js-based polyfills, so basically an alternative api design to tauri-plugin-fs.

While i keep this open, don't expect the team to work on this, nor to see an officially hosted solution any time soon if at all.

@jswhisperer
Copy link
Author

Apologies I opened this in err, the APIs seem to work without polyfill only in an https environment I haven't tested them all, will update this ticket with my findings

@jswhisperer
Copy link
Author

The FileAccessApis work well in chromium browsers, including DirHandler listing and save dialog etc, they seem to be totally unsupported on Mac Safari. I assume default Ubuntu browser would not support either "web" being webkit.

Anyway just an FYI for interested parties.

Image

@jswhisperer
Copy link
Author

Actually with safari you can polyfill with https://googlechromelabs.github.io/browser-fs-access/demo/ and it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
0