Block the servers running the software of your choice from your Mastodon server's peers.
Go to file
2022-08-23 20:40:53 +02:00
blocksoft.mov Vídeo demo 2022-08-22 12:59:50 +02:00
blocksoft.py Added file software.txt and updated README.md 2022-08-21 20:59:54 +02:00
LICENSE Added LICENSE 2022-08-21 20:37:09 +02:00
peers.py Removed unneeded function 2022-08-23 20:36:06 +02:00
README.md Added sqlite3 support 2022-08-23 20:40:53 +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
sqlite-bs.py Added sqlite3 support 2022-08-23 20:39:07 +02:00
sqlite-peers.py Added sqlite3 support 2022-08-23 20:39:07 +02:00

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 (or sqlite-peers.py for sqlite3 version) 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 (or sqlite-bs.py for sqlite3 version) to block the configured software.

demo