I think I kind of get the idea but I never implemented such a server and push service. I'm guessing it would also require the app to register with the server so that the server knows which NWC pubkey commands to listen to. Would you be up to working on this together? I think other wallets could benefit from this too.

Reply to this note

Please Login to reply.

Discussion

I looked through my server, there's some irrelevant stuff there that could be removed, and then just change the event kind and it should work. Will make a prototype for you

Awesome thank you, that will be very helpful!

Here you go: https://github.com/nostrband/nwcpush

Didn't test it though.

Fucking legend

Yes, you'd have to manage Web Push subscriptions on the server issuing the push messages, and store pubkeys per subscription there. I can help you with the actual implementation if you want, but only from Thursday on.