Block the servers running the software of your choice from your Mastodon server's peers.
- Python 100%
| app/libraries | Refactored setup library | |
| blocksoft.mov | Vídeo demo | |
| blocksoft.py | Refactored setup library | |
| LICENSE | Added LICENSE | |
| peers.py | Refactored | |
| README.md | Added private and public comments | |
| requirements.txt | Refactored setup library | |
| software.txt | Added file software.txt and updated README.md | |
| sqlite-bs.py | Added sqlite3 support | |
| sqlite-peers.py | Added sqlite3 support | |
| sqlite-requeriments.txt | Updated sqlite requirements | |
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:
-
Run
pip install -r requirements.txt(orsqlite-requeriments.txtfor sqlite3 version) to install needed Python libraries. -
Run
python peers.py(orsqlite-peers.pyfor sqlite3 version) to collect and store all needed data from your server peers. -
Edit
software.txtfile, 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. -
Run
python blocksoft.py(orsqlite-bs.pyfor sqlite3 version) to block the configured software.