Resolves #346
Resolves #199
Adds a PWA manifest, service worker, the required go server routes, and VAPID-based web push
I can't test Android, but this is what it looks like on macOS and iOS:
ntfy iOS support is about to get much better. While I haven't worked on the native app in a while, the progressive web app (PWA) is going to make the web app enough to receive notifications on iOS (and others).
Almost all of the credit goes to @nimbleghost for the implementation.
The background notifications will be nice! I'm using ntfy for (among other things) notifications for a housemate that isn't as tech-savvy, so it'll be nice to get them smart home notifications that they don't have to keep a tab open for (if I understand this correctly).
Probably 70% of the time I get “New notification” as the notification title, rather than the actual notification. And refreshing the topic doesn’t show me the updates. I’m not sure why it acts so weird, but the web app works perfectly for me.