Block the servers running the software of your choice from your Mastodon server's peers.
Anar al arxiu
2023-04-13 18:10:58 +02:00
app/libraries Removed unneeded methods 2023-04-13 18:10:58 +02:00
blocksoft.mov Vídeo demo 2022-08-22 12:59:50 +02:00
blocksoft.py Refactored 2023-04-13 18:01:18 +02:00
LICENSE Added LICENSE 2022-08-21 20:37:09 +02:00
peers.py Refactored 2023-04-13 18:01:18 +02:00
README.md Added private and public comments 2022-08-31 08:12:27 +02:00
requirements.txt Refactored 2023-04-13 18:01:18 +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
sqlite-requeriments.txt Updated sqlite requirements 2022-08-27 11:09:49 +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 (or sqlite-requeriments.txt for sqlite3 version) 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 and the reason to do it, one pair software and reason per line, separating software and reason with a single space. Then save it.

  4. Run python blocksoft.py (or sqlite-bs.py for sqlite3 version) to block the configured software.

demo