Mint ab0a143bbe +1 pisskey fork | 10 mesiacov pred | |
---|---|---|
services | 2 rokov pred | |
.gitignore | 2 rokov pred | |
LICENSE | 2 rokov pred | |
README.md | 2 rokov pred | |
api.py | 1 rok pred | |
blocks_empty.db | 1 rok pred | |
config.defaults.json | 1 rok pred | |
fetch_blocks.py | 10 mesiacov pred | |
fetch_instances.py | 10 mesiacov pred | |
index.html | 1 rok pred | |
requirements.txt | 1 rok pred | |
rss.xml | 1 rok pred |
Used to see which instances block yours.
sudo useradd -m fba
sudo mkdir -p /opt/fedi-block-api
sudo chown -R fba:fba /opt/fedi-block-api
sudo -Hu fba git clone https://git.kiwifarms.net/mint/fedi-block-api.git /opt/fedi-block-api
cd /opt/fedi-block-api
sudo -Hu fba pip3 install -r requirements.txt
sudo -Hu fba cp blocks_empty.db blocks.db
sudo -Hu fba python3 fetch_instances.py mastodon.social # try a bunch of large servers here
sudo -Hu fba cp config.defaults.json config.json
sudo cp services/* /etc/systemd/system
systemctl enable --now fetch_blocks
systemctl enable --now fedi_block_api