Mirror of fedi block api
Find a file
2022-03-31 23:28:05 +02:00
services rewrote the api in python 2022-03-31 23:13:44 +02:00
.gitignore rewrote the api in python 2022-03-31 23:13:44 +02:00
api.py rewrote the api in python 2022-03-31 23:13:44 +02:00
blocks_preloaded.db added software column 2022-03-11 22:20:40 +01:00
fetch_blocks.py removed mastodon api 2022-03-31 19:00:08 +02:00
LICENSE added license 2022-03-03 17:16:06 +01:00
README.md changed try out links 2022-03-31 23:28:05 +02:00
requirements.txt rewrote the api in python 2022-03-31 23:13:44 +02: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://gitlab.com/EnjuAihara/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_preloaded.db blocks.db

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://chizu.love/fedi-block-api/api/domain/info https://chizu.love/fedi-block-api/api/domain/ {domain}

License

AGPLv3+NIGGER