Mirror of fedi block api
Find a file
2022-03-04 19:25:29 +01:00
mastodon_api changed to return hash and reason instead of domain 2022-03-03 22:00:29 +01:00
services added service for block fetching 2022-03-04 19:25:29 +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 can now also fetch from mastodon instances 2022-03-04 16:50:32 +01:00
get_instance_type.py added script to sort instances by type 2022-03-03 20:49:56 +01:00
instances.txt added lists of instances 2022-03-03 19:08:25 +01:00
LICENSE added license 2022-03-03 17:16:06 +01:00
mastodon_instances.txt removed fuck up 2022-03-04 00:34:18 +01:00
other_instances.txt added lists of instances 2022-03-03 19:08:25 +01:00
pleroma_instances.txt added lists of instances 2022-03-03 19:08:25 +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