Thanks for your reply, hodlbod. I’m really glad to be able to discuss this with nostr devs.
Regarding the auth-gated relay, I’ve thought about this too. I think the simplest approach is to grant permission directly to the push server’s pubkey — since if you want the push server to deliver notifications, it does need a certain level of access. Especially for NIP-29 closed groups, you could just add the push server’s pubkey into the group. And if there are privacy concerns, people can self-host their own push server.
About the `h` tag — great suggestion, I’ll seriously consider changing that.
For the self-hosted server idea, my initial design for the backend looks like this:
self-hosted server → distributor server (with FCM/APNs certificates) → distributor clients.
This way, we can avoid having self-hosted push server manage its own push certificates.
So my nopu client would work somewhat like nfty.sh, acting as a push distributor, but specifically for nostr.
I’ll definitely take a closer look at the PRs you mentioned, as well as anchor and the pokey client. There’s still a lot I need to learn about nostr.
