Mirror of fedi block api
Find a file
2022-09-03 14:22:31 +03:00
services added config 2022-04-22 20:56:58 +02:00
.gitignore rewrote the api in python 2022-03-31 23:13:44 +02:00
api.py c 2022-08-08 14:38:04 +03:00
blocks_preloaded.db changed preloaded db 2022-04-22 03:42:03 +02:00
config.defaults.json added config 2022-04-22 20:56:58 +02:00
fetch_blocks.py Misskey support, hopefully 2022-09-03 14:22:31 +03:00
fetch_instances.py In case Gleason renames his fork in API endpoints 2022-08-25 20:32:46 +03:00
index.html Add noreferrer attribute to instance links 2022-08-14 22:06:02 +03:00
LICENSE added license 2022-03-03 17:16:06 +01:00
README.md Disable broken favicons and change the link 2022-07-23 01:57:24 +03:00
requirements.txt added frontend 2022-04-22 19:49:23 +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
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