User avatar
Two Hollywood Phonies @autumn@cafe.autumn.town
1y
i've got a blog that's supposed to be for my friends, they're all normal so they have no idea what an RSS feed is, and i was thinking about how i could give updates, i'm wondering how hard would it be to send people notifications everytime i make a post? like the site asks for permission and one gets sent to their phones or whatever.
1
0
1
0
User avatar
no longer kopper @kopper@wetdry.world
1y
@autumn ntfy.sh?
1
0
0
0
User avatar
no longer kopper @kopper@wetdry.world
1y
@autumn they have a web ui and app you can enable notifications for
1
0
0
0
User avatar
Two Hollywood Phonies @autumn@cafe.autumn.town
1y
@kopper would they all need to get an app or something for that? i kinda want this to just be a button to click in the footer and it just works without any outside apps or anything
1
0
1
0
User avatar
no longer kopper @kopper@wetdry.world
1y
@autumn you'd prolly need to handle webpush yourself (if you want it directly integrated to your blog). idk too much about how it works though

unsure if the web frontend works as a PWA but that could be an option without installing the app
1
0
0
0
User avatar
Two Hollywood Phonies @autumn@cafe.autumn.town
1y
@kopper i mean it's a pretty basic just HTML CSS, i think no JS website made with Hugo. so i would need to probably figure it out from scratch, but i've got a server and stuff like that so anything that needs to be hosted I can do
1
0
1
0

User avatar
no longer kopper @kopper@wetdry.world
1y
@autumn the overall idea is to run a js service worker which uses the web push api (developer.mozilla.org/en-US/docs/Web/API/Push_API) to get a push notification url

you send that over to your backend and then you can send requests to that url to push events to the service worker, which can then generate a notification
1
0
1
0
User avatar
no longer kopper @kopper@wetdry.world
1y
@autumn or at least i think that's how it works
1
0
1
0
User avatar
Two Hollywood Phonies @autumn@cafe.autumn.town
1y
@kopper okay i think i'll do some work on it and if i figure it out i'll report back because i think it might be cool to have people do this
0
0
1
0