Why Nostr? What is Njump?
2024-07-09 18:15:49

jb55 on Nostr: Just added a bunch of new filters for noteguard[1]. Here’s a noteguard config with ...

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