You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
5 months ago | |
---|---|---|
LICENSE | 6 months ago | |
README.md | 5 months ago | |
blocksoft.mov | 6 months ago | |
blocksoft.py | 5 months ago | |
peers.py | 6 months ago | |
requirements.txt | 5 months ago | |
software.txt | 6 months ago | |
sqlite-bs.py | 6 months ago | |
sqlite-peers.py | 6 months ago | |
sqlite-requeriments.txt | 5 months ago |
README.md
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 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.py
for sqlite3 version) to block the configured software.