README.md 1.1 KB
Newer Older
Alynna Trypnotk's avatar
Alynna Trypnotk committed
1
### Safety dance
Alynna Trypnotk's avatar
Alynna Trypnotk committed
2
An automated blacklister for your pleroma based activitypub relay.
Alynna Trypnotk's avatar
Alynna Trypnotk committed
3
Lamers check in, they don't check out.
Alynna Trypnotk's avatar
Alynna Trypnotk committed
4

Alynna Trypnotk's avatar
Alynna Trypnotk committed
5
**Add "jq" to your system using your friendly neighborhood package manager.**
Alynna Trypnotk's avatar
Alynna Trypnotk committed
6

Alynna Trypnotk's avatar
Alynna Trypnotk committed
7 8 9 10 11 12 13 14 15 16
Setup directions:

0) Backup your relay.yaml just in case
1) Copy this repo to your relay directory
2) Configure relay.base the same way you would your relay.yaml.  Make sure blocked_instances remains at the bottom.
3) Fill block.static with instances you always want blocked, 1 per line, in quotes.
4) Edit the top 2 variables in relay.start
5) Set up your system to restart the relay with the script relay.start
6) Use relay.start to restart your relay
7) Add relay.start to crontab to auto-update whenever you want.
Alynna Trypnotk's avatar
Alynna Trypnotk committed
17

Alynna Trypnotk's avatar
Alynna Trypnotk committed
18 19 20 21 22 23 24
**Watch this space for support for even moar block lists.**

If you would like to contribute a block list, send me, preferably a single line script that retrieves your block list, formatted 1 instance per line in quotes.

Also tell me what kind of instances your block list will filter.

This script is an attempt to make a list of known bad instances that can be automatically added to relays on a schedule.