How to enable push notification capability to users / micro-apps on nostr?

Could relays function as "servers" that look for new events to notify?

Can the whole stack be decentralised?

https://onesignal.com/blog/what-is-a-push-notifications-service-and-how-does-it-work/

Reply to this note

Please Login to reply.

Discussion

You could run your own push notification service or generate them locally within the app or have empty silent notifications which trigger the app looking for new content on relays. But the notifications have to have a key for the ‘service’ and the client app.

I think most nostr apps that do notifications do the cloud bot method. The code for the various solutions are on github.