2022-08-21 20:00:02 +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` to install needed Python libraries.
|
|
|
|
|
2022-08-21 20:59:54 +02:00
|
|
|
2. Run `python peers.py` to collect and store all needed data from your server peers.
|
|
|
|
|
|
|
|
3. Edit `software.txt` file, add the software you want to block, one per line, and save it.
|
2022-08-21 20:00:02 +02:00
|
|
|
|
2022-08-22 13:02:31 +02:00
|
|
|
4. Run `python blocksoft.py` to block the configured software.
|
|
|
|
|
2022-08-22 13:14:12 +02:00
|
|
|
[demo](https://git.mastodont.cat/spla/blocksoft/raw/branch/master/blocksoft.mov)
|
2022-08-21 20:00:02 +02:00
|
|
|
|
|
|
|
|
|
|
|
|