Mirror of fedi block api
Find a file
2022-03-05 00:52:58 +01:00
mastodon_api dont crash at instances with extra tables 2022-03-05 00:52:58 +01:00
services make it restart after a day 2022-03-04 20:56:44 +01:00
.gitignore added .gitignore 2022-03-03 20:05:07 +01:00
blocks_preloaded.db added other instances to preload 2022-03-04 16:46:50 +01:00
fetch_blocks.py use domain from mastodon instances if not censored 2022-03-05 00:15:08 +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 service for block fetching 2022-03-04 19:25:29 +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

how to use:

Copy the preloaded database to the live database

cp blocks_preloaded.db blocks.db

Start the mastodon API

Make sure to edit the User and WorkingDirectory of the service file accordingly.

sudo cp services/mastodon_api.service /etc/systemd/system
cd mastodon_api
yarn install
systemctl start mastodon_api

Fill the database with blocks.

Make sure to edit the User and WorkingDirectory of the service file accordingly.

sudo cp services/fetch_blocks.service /etc/systemd/system
systemctl start fetch_blocks

License

AGPLv3+NIGGER