[w3c/ServiceWorker] Self hosted applications (Issue #1668)

I'm not sure whether this is the correct issue tracker or not.
Anyways, I wanted a self-hosted home inventory management PWA. I made it and now I found that this will never work, because of the strict rules that basically excludes my use case.

So first, the manifest.json requires a "start_url", and I didn't want this as my start url can vary based on the DHCP settings of my router. But I thought, ok it's just a minor inconvenience. I can make it fixed.

Secondly, PWA only runs in secure contexts. It means it has to be either localhost, or "secure" HTTPS. At this point I was getting angry, because why  is it more secure to send my data through HTTPS to companies than my LAN where my data never leaves the building. And obviously I cannot register a cert for a `192.168.0.x` IP address, so I have to make a self-signed certificate. Which is fine, at least my LAN will be protected, so I kind of accepted the idea. So I made this. It worked well for desktops but not for mobile.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1668
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/ServiceWorker/issues/1668@github.com>

Received on Saturday, 21 January 2023 23:19:25 UTC