Block the servers running the software of your choice from your Mastodon server's peers.
Anar al arxiu
spla 4ad0ac3257 Removed unneeded function 2022-08-23 20:36:06 +02:00
LICENSE Added LICENSE 2022-08-21 20:37:09 +02:00
README.md Added file software.txt and updated README.md 2022-08-21 20:59:54 +02:00
blocksoft.py Added file software.txt and updated README.md 2022-08-21 20:59:54 +02:00
peers.py Removed unneeded function 2022-08-23 20:36:06 +02:00
requirements.txt Added requeriments.txt 2022-08-21 20:36:22 +02:00
software.txt Added file software.txt and updated README.md 2022-08-21 21:02:09 +02:00

README.md

BlockSoft

Get all the running software of the peers of your Mastodon server and block the software you want.

Dependencies

  • Python 3
  • Postgresql server
  • Mastodon server admin access token

Usage:

Within Python Virtual Environment:

  1. Run pip install -r requirements.txt to install needed Python libraries.

  2. Run python peers.py to collect and store all needed data from your server peers.

  3. Edit software.txt file, add the software you want to block, one per line, and save it.

  4. Run python blocksoft.py to block the configured software..