3 Used to see which instances block yours.
13 sudo mkdir -p /opt/fedi-block-api
14 sudo chown -R fba:fba /opt/fedi-block-api
15 sudo -Hu fba git clone https://git.kiwifarms.net/mint/fedi-block-api.git /opt/fedi-block-api
16 cd /opt/fedi-block-api
17 sudo -Hu fba pip3 install -r requirements.txt
18 sudo -Hu fba cp blocks_empty.db blocks.db
19 sudo -Hu fba python3 fetch_instances.py mastodon.social # try a bunch of large servers here
20 sudo -Hu fba cp config.defaults.json config.json
23 ### Alter configuration file
24 You maybe wish to change the configuration file, e.g. log_level is set to "info" which is the
25 default but invates privacy of your users, but your choice:
36 ### Install the services
39 sudo cp services/* /etc/systemd/system
42 ### start the services
45 systemctl enable --now fetch_blocks
46 systemctl enable --now fedi_block_api
51 https://fba.ryona.agency/
55 [AGPLv3](https://gnu.org)