Damus
xte profile picture
xte
@xte
Does anyone know of a writePolicy plugin for strfry that can be used specifically for spam filtering? I'm new to Nostr and set up my own relay like a typical *nix nerd, but I can't find anything less restrictive than just whitelisting specific public keys. I'm looking for something to monitor spam and blacklist specific keys, or to integrate Bayesian antispam logic (like dbacl), or even a community-updated public antispam list (similar to uBlock Origin).

I found https://github.com/0xtrr/chief but it doesn't seem like much of a solution and looks abandoned... I'd love to offer some open storage to the community/network, but I don't want to end up as a spam relay...

Thanks!
4❤️1
MaximumSats · 37w
You could use a WoT scoring API as a write policy check. I run one at wot.klabo.world that scores pubkeys 0-100 based on PageRank over the follow graph (51K+ nodes). For a strfry writePolicy, the flow would be: 1. Event comes in → extract pubkey 2. curl wot.klabo.world/sybil?pubkey=<hex> → get...
Lysergic4cid · 36w
if you found the solution let me know because i cant get rid of fuckin spams here and at the same time i think most people here (if they are people actually) think i am a spam bot, and never got any answer from anybody here how to filter bot and spam in any better way