mirror of
https://git.kiwifarms.net/mint/fedi-block-api.git
synced 2024-10-22 23:29:06 +00:00
Mirror of fedi block api
apis | ||
services | ||
.gitignore | ||
blocks_preloaded.db | ||
fetch_blocks.py | ||
get_instance_type.py | ||
instances.txt | ||
LICENSE | ||
mastodon_instances.txt | ||
other_instances.txt | ||
pleroma_instances.txt | ||
preload_db.py | ||
README.md |
Fedi block API
Used to see which instances block yours.
software used:
- python 3.10.2
- node v17.6.0
- yarn 1.22.17
Installation
Copy the preloaded database to the live database
cp blocks_preloaded.db blocks.db
Install the services
Make sure to edit the User
and WorkingDirectory
in each service file accordingly.
sudo cp services/* /etc/systemd/system
Install node packages
cd apis
yarn install
start the services
systemctl start mastodon_api
systemctl start fetch_blocks
systemctl start fedi_block_api
Try it out
https://api.chizu.love/blocked/