Why Nostr? What is Njump?
2024-07-09 21:31:25

jb55 on Nostr: Started working on a “forwarder” for noteguard. The way this works is that any ...

Started working on a “forwarder” for noteguard. The way this works is that any incoming note into the damus relay can be sent to another relay. We will be using this to forward notes to our push notification relay.

Our push notification relay does not write to disk, so you will able to point your clients at it to send notifications without necessarily storing that note on the public damus relay. This will be helpful for situations where you are running a private pool of relays, and still want push notifications to work.

Right now we support apple push notifications, but in the future we will add google and maybe even things like webhooks?
Just added a bunch of new filters for noteguard[1]. Here’s a noteguard config with all of the latest filters. It’s super easy to configure. What other filters should we add?

```
pipeline = ["protected_events", "kinds", "whitelist", "ratelimit"]

[filters.ratelimit]
posts_per_minute = 6
whitelist = ["127.0.0.1"]

[filters.whitelist]
pubkeys = ["16c21558762108afc34e4ff19e4ed51d9a48f79e0c34531efc423d21ab435e93"]
ips = ["127.0.0.1"]

[filters.kinds]
kinds = [30065, 1064]

[filters.kinds.messages]
30065 = "blocked: files on nostr is dumb"
1064 = "blocked: files on nostr is dumb"

[filters.protected_events]
```

[1] https://github.com/damus-io/noteguard
Author Public Key
npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s