Mint ab0a143bbe +1 pisskey fork | il y a 10 mois | |
---|---|---|
services | il y a 2 ans | |
.gitignore | il y a 2 ans | |
LICENSE | il y a 2 ans | |
README.md | il y a 2 ans | |
api.py | il y a 1 an | |
blocks_empty.db | il y a 1 an | |
config.defaults.json | il y a 1 an | |
fetch_blocks.py | il y a 10 mois | |
fetch_instances.py | il y a 10 mois | |
index.html | il y a 1 an | |
requirements.txt | il y a 1 an | |
rss.xml | il y a 1 an |
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