1
0
Fork
You've already forked blocksoft
0
Block the servers running the software of your choice from your Mastodon server's peers.
  • Python 100%
2026年01月11日 15:07:30 +01:00
app/libraries Refactored setup library 2026年01月11日 15:07:30 +01:00
blocksoft.mov Vídeo demo 2022年08月22日 12:59:50 +02:00
blocksoft.py Refactored setup library 2026年01月11日 15:07:30 +01: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 setup library 2026年01月11日 15:07:30 +01: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