Block the servers running the software of your choice from your Mastodon server's peers.
blocksoft.mov | ||
blocksoft.py | ||
LICENSE | ||
peers.py | ||
README.md | ||
requirements.txt | ||
software.txt | ||
sqlite-bs.py | ||
sqlite-peers.py | ||
sqlite-requeriments.txt |
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.txt
for sqlite3 version) to install needed Python libraries. -
Run
python peers.py
(orsqlite-peers.py
for sqlite3 version) to collect and store all needed data from your server peers. -
Edit
software.txt
file, add the software you want to block, one per line, and save it. -
Run
python blocksoft.py
(orsqlite-bs.py
for sqlite3 version) to block the configured software.