What is Nostr?
greenart7c3
npub1w4u…0jr5
2024-07-09 18:29:38

greenart7c3 on Nostr: ...

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
npub1w4uswmv6lu9yel005l3qgheysmr7tk9uvwluddznju3nuxalevvs2d0jr5