I'm working on improvements to my Strfry writepolicy plugin called "Chief". It has three filters that lets you whitelist/blacklist public keys, kinds and content.
This week I've refactored a good portion of the code to let you choose between a JSON file and a postgresql database for storing the stuff you want to whitelist/blacklist. I've also added suppport for individually activating/deactivating each filter type (public key, kind, content).
Next, I want to add support for statistics to get a better overview of how busy the relay really is. If anyone has any good tips for this I'd appreciate it!
I'm working on improvements to my Strfry writepolicy plugin called "Chief". It has three filters that lets you whitelist/blacklist public keys, kinds and content. This week I've refactored a good portion of the code to let you choose between a JSON file and a postgresql database for storing the stuff you want to whitelist/blacklist. I've also added suppport for individually activating/deactivating each filter type (public key, kind, content).
Next, I want to add support for statistics to get a better overview of how busy the relay really is. If anyone has any good tips for this I'd appreciate it!
Link to the repo: https://github.com/0xtrr/chief