Live data from Hacker News

window.showDirectoryPicker opens up a whole new world

steveharrison.dev

1–10 of 122 posts

Re: window.showDirectoryPicker opens up a whole new world

#2
I'm really excited about window.showDirectoryPicker and the local-first web apps it will enable. There's lots of talk about local-first sync engines, but the best sync engine is one you don't even manage, like the user's file system / cloud storage service!

Re: window.showDirectoryPicker opens up a whole new world

#3

I'm really excited about window.showDirectoryPicker and the local-first web apps it will enable. There's lots of talk about local-first sync engines, but the best sync engine is one you don't even manage, like the user's file system / cloud storage service!

[flagged]

Re: window.showDirectoryPicker opens up a whole new world

#4
Some of the permissions problems related to window.showDirectoryPicker have been frustrating. I'm developing a client-side Python web framework, and during development I need to mount the library locally; I hand off the directory to Pyodide using this API. But that doesn't work in VSCode's internal browser, apparently because the API just simply isn't able to be approved.

Re: window.showDirectoryPicker opens up a whole new world

#6
post #3

I'm really excited about window.showDirectoryPicker and the local-first web apps it will enable. There's lots of talk about local-first sync engines, but the best sync engine is one you don't even manage, like the user's file system / cloud storage service!

[flagged]

Firefox may not be the best browser, but it's the last full-featured non-commercial independent browser still available (excluding forks like Waterfox).

If we want a free and open internet, we need to protect Firefox at all costs.

Re: window.showDirectoryPicker opens up a whole new world

#7
post #6
post #3

Earlier quoted context omitted.

[flagged]

Firefox may not be the best browser, but it's the last full-featured non-commercial independent browser still available (excluding forks like Waterfox). If we want a free and open internet, we need to protect Firefox at all costs.

Please don't give trolls attention. Just downvote & move on.

Re: window.showDirectoryPicker opens up a whole new world

#8
post #4

Some of the permissions problems related to window.showDirectoryPicker have been frustrating. I'm developing a client-side Python web framework, and during development I need to mount the library locally; I hand off the directory to Pyodide using this API. But that doesn't work in VSCode's internal browser, apparently because the API just simply isn't able to be approved.

sounds like vscode issue more than anything else

Re: window.showDirectoryPicker opens up a whole new world

#9
First time I've heard about this. I'll have to look into the security model around it. I'm curious what safeguards are in place to prevent click jacking. I know showing a file picker """should""" be enough of a warning to users to be careful, but it's not hard to imagine a world where a couple of fish accidentally bite the bait of an allow-button, or because they followed instructions they incorrectly trusted.
Post reply on HN