2 ms·
This sucks because the web should be the perfect, safe platform for this kind of application, but it isn't. Technically all the features exist in the browser su
by jeffbee 9mo ago
This sucks because the web should be the perfect, safe platform for this kind of application, but it isn't. Technically all the features exist in the browser such that you could write a homedir cleaner, space analyzer, etc purely in a browser tab, but because of the misguided (in my opinion) way that browsers refuse to do open a homedir, it's impossible.
- digiown 9mo agoI'm not sure letting a webapp access your home is a good idea. You're basically YOLOing random remote code to run on your machine. Maybe we can have it access some specific folder for its own data. And then there's also Apple which won't allow functional web apps, lest it affects their app store 30% cut.
- jeffbee 9mo agoThe web already has these APIs, it can be granted read-only permissions to designated directories. But the browsers will refuse to allow you to delegate even read-only access to, for example, the macos ~/Applications folder, on the pretty shaky basis of it being "system files". Because of that policy the API is not useful for the application of a space analyzer.
- JumpCrisscross 9mo ago> browsers will refuse to allow you to delegate even read-only access to, for example, the macos ~/Applications folder, on the pretty shaky basis of it being "system files" If you want to trash your system I believe nothing prevents you from giving Firefox full-disk access.
- trollbridge 9mo agoSeems like a great idea for something to just run inside a chroot jail (or the modern equivalent, a container).
- blackoil 9mo agoIs this satire?