Hacker News new | ask | show | jobs
by wvenable 2086 days ago
Browsers don't have access to local files so this isn't about editing a file on your computer.

VS Code runs on electron so it is already an editor running in a browser locally without an Internet connection required.

1 comments

> Browsers don't have access to local files

What do you mean by that? Mine does. Although I firejail it.

> VS Code runs on electron so it is already an editor running in a browser

I am sure we can push it further than that. :)

Web applications don't have access to local files -- at least not in the open/edit/save editor scenario.
I am not up to date with it, to be honest. I know there is a WebUSB API and whatnot. Having access to files might not be that far-fetched.
I have a robot who's firmware can be updated via bluetooth from a web application running in Chrome -- so I get your point. Oddly enough, arbitrary access to files are still off limits.