Global Feed Post Login
Replying to Avatar jb55

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

Avatar
greenart7c3 1y ago

nostr:nevent1qqsdqtek44atp5pg6kmzsk0kwhr5gkulwa7654sc6420l4d987q5qpcppemhxue69uhkummn9ekx7mp0qgsr9cvzwc652r4m83d86ykplrnm9dg5gwdvzzn8ameanlvut35wy3grqsqqqqqp8sjza6

Reply to this note

Please Login to reply.

Discussion

No replies yet.