2023-12-31 11:13:58 +03:00
2022-04-22 20:56:58 +02:00
2022-11-30 23:11:44 +03:00
2023-10-08 08:53:47 +03:00
2023-03-13 00:21:46 +03:00
2023-12-31 11:13:58 +03:00
2023-12-31 11:13:58 +03:00
2023-07-17 01:25:34 +03:00
2022-03-03 17:16:06 +01:00
2023-05-08 00:56:48 +03:00

Fedi block API

Used to see which instances block yours.

software used:

  • python 3.10.2

Installation

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

Install the services

sudo cp services/* /etc/systemd/system

start the services

systemctl enable --now fetch_blocks
systemctl enable --now fedi_block_api

Try it out

https://fba.ryona.agency/

License

AGPLv3+NIGGER

Description
Customized fork of https://gitgud.io/EnjuAihara/fedi-block-api running on fba.ryona.agency
Readme 2.9 MiB
Languages
Python 83.2%
HTML 16.8%