Hacker News new | ask | show | jobs
by unshavedyak 606 days ago
It's a great reason why webapps suck. A licensed local app would be great here, as the customer wouldn't lose value when Fable disappears. Yet now customers lose all value. Great.

So frustrating as a user.

2 comments

Webapps will work locally soon. Say hello to OPFS https://web.dev/articles/origin-private-file-system. Works surprisingly good, see this demo app https://fink2.onrender.com/
"Can store data" isn't "will work locally"

For one thing, it's origin-private, so take a guess how well that works when the company owning the DNS records for that origin goes out of business.

(There's also the issue with actually having an executable that can just run without any external dependencies)

Yeah bummer that Safari and Firefox are blocking any origin file access for security reasons.

> when the company owning the DNS records for that origin goes out of business.

Likely not a problem. Local data in OPFS is synced with a remote server for collaboration reasons anyway.

> There's also the issue with actually having an executable that can just run without any external dependencies

Assume you target the browser as OS, then it's already possible to have an executable: Run the JS file that renders a UI. Related: We will likely have an app launcher demo soon for https://lix.opral.com/

Sadly, I don’t think Safari or Firefox are close to shipping OPFS. https://caniuse.com/?search=File%20System
OPFS works in Safari, see this demo app https://csv-n2qj.onrender.com/.

What doesn't work in Safari and Firefox is (non sandboxed) access to the files of a user. OPFS is sandboxed.

Oh, thanks! That actually makes it useful for something I want to do.
I wish we could talk about your use case later at Local Thirst. But ... I lost my passport and won't be able to make it. Another time!
Yep. I lament the loss of native, local apps all the time (and the prevalence of "always online" local apps - I've seen LoB apps that were promising, native apps only to find out they won't run offline because the app does a license check online at startup and will refuse to launch without a connection).

Everything as SaaS web apps is just yet another chapter in the enshittification of tech.

> I've seen LoB apps that were promising, native apps only to find out they won't run offline because the app does a license check online at startup and will refuse to launch without a connection

Isn't this fine as long as this is the only thing it does?

"Making sure this has been paid for" seems completely legitimate.

Totally fine and legitimate, the problem comes in situations where you might need to launch without an active internet connection. Arguably this wasn't the best vendor in the world, but IMO there should be a grace period, i.e., must connect at least x times per months instead of at every start up.