Mirror of fedi block api
Find a file
2022-03-06 22:22:20 +01:00
apis changed json returned by the API 2022-03-06 22:22:20 +01:00
services added the fedi block api 2022-03-06 14:46:43 +01:00
.gitignore added the fedi block api 2022-03-06 14:46:43 +01:00
blocks_preloaded.db added other instances to preload 2022-03-04 16:46:50 +01:00
fetch_blocks.py ignore empty blocks 2022-03-05 13:09:00 +01:00
get_instance_type.py added script to sort instances by type 2022-03-03 20:49:56 +01:00
instances.txt sorted instances by name 2022-03-04 20:33:44 +01:00
LICENSE added license 2022-03-03 17:16:06 +01:00
mastodon_instances.txt sorted instances by name 2022-03-04 20:33:44 +01:00
other_instances.txt sorted instances by name 2022-03-04 20:33:44 +01:00
pleroma_instances.txt sorted instances by name 2022-03-04 20:33:44 +01:00
preload_db.py added other instances to preload 2022-03-04 16:46:50 +01:00
README.md added the fedi block api 2022-03-06 14:46:43 +01:00

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

License

AGPLv3+NIGGER