New post notifications option
- Posted in
So both Google and Microsoft are pushing for this PWA concept (Progressive Web Apps) where a normal web site can function like a native app if configured in a certain way. It's in early stages, but it's supported by the major browsers and mobile operating systems. So I played around with the idea and now there is a new option in the menu of the blog: Notify me. What it does is it lets you grant notification permissions for the web page of the blog and then you get a notification whenever I write a new post or update an old one. In order to remove the option you have to reset the notification permissions for the website yourself (there is no way to do it programmatically, yet)
At the moment the registrations are saved in memory, so whenever the web site is restarted (like with a new update), you will lose any notification sending until you enter in the web site again. I will work on persisting it on the disk, but that will come later.
Meanwhile, enjoy! Also, you can install the blog as an application, too, which makes little sense, really :) but it gives you the option of having it in the phone or in Windows in the start menu and pinned to the taskbar and everything.
Done, notify me = ✅Miki