Good places to start
https://doc.deno.land/https://gitlab.com/soapbox-pub/strfry-policies/-/raw/develop/mod.ts
Had noticed with Python relay can do based on badge holders or NIP-05 check. This could be good concept for a strfry-policy.
https://code.pobblelabs.org/fossil/nostr_relay/doc/tip/docs/dynamic_lists.md
Yeah, I really like the dynamic lists…..
Doesn’t look like nostr_relay is being worked on or maybe even used. I had to pin the versions of libraries to what was the release version as of a couple of months ago to even get it to run correctly. Yea breaking schema changes! ;-D