Is there a collection of strfry policies / plugins? I was thinking I want to run a relay which anybody can read but only people I follow can write to. Or something where folks can apply to join, like how you do with private reddit / Facebook groups. Answer some questions, and a mod will let you in. Seems like that’s possible with strfry plugins but I haven’t seen anybody do it.

Do other nostr relays support something like that?

Reply to this note

Please Login to reply.

Discussion

👀

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

your urge to control cant be contained

You could take a look at my personal strfry repo here: https://github.com/pjv/strfry_personal_docker - would be easy to modify it to suit your use-case.

nostr:npub108pv4cg5ag52nq082kd5leu9ffrn2gdg6g4xdwatn73y36uzplmq9uyev6 has published a bunch of excellent strfry policy code here: https://gitlab.com/soapbox-pub/strfry-policies/

This way seems so much better to me