1
0
Fork 0
Customized version of gitlab.com/EnjuAihara/fedi-block-api
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Mint d1383fb9c9 Adding another spastic fork 3 days ago
services added config 4 months ago
.gitignore rewrote the api in python 4 months ago
LICENSE added license 5 months ago
README.md Disable broken favicons and change the link 3 weeks ago
api.py c 4 days ago
blocks_preloaded.db changed preloaded db 4 months ago
config.defaults.json added config 4 months ago
fetch_blocks.py Adding another spastic fork 3 days ago
fetch_instances.py Fixing instance fetcher inserting duplicate rows 5 days ago
index.html c 4 days ago
requirements.txt added frontend 4 months ago

README.md

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