blocksoft/README.md

27 líneas
904 B
Markdown

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:
2022-08-27 11:09:49 +02:00
1. Run `pip install -r requirements.txt` (or `sqlite-requeriments.txt` for sqlite3 version) to install needed Python libraries.
2022-08-21 20:00:02 +02:00
2022-08-23 20:40:53 +02:00
2. Run `python peers.py` (or `sqlite-peers.py` for sqlite3 version) to collect and store all needed data from your server peers.
2022-08-31 08:12:27 +02:00
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.
2022-08-21 20:00:02 +02:00
2022-08-23 20:40:53 +02:00
4. Run `python blocksoft.py` (or `sqlite-bs.py` for sqlite3 version) to block the configured software.
2022-08-22 13:02:31 +02:00
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