691 B
691 B
Mastodon's spamcheck
Check and store data from sign-ups registered on your Mastodon server.
Dependencies
- Python 3
- Postgresql server
- Mastodon server admin
Usage:
Within Python Virtual Environment:
-
Run
pip install -r requirements.txt
to install needed Python libraries. -
Run
python torips.py
to write Tor exit nodes IPs to new created database. You need to get the torbulkexitlist from here -
Run
python spamcheck.py
for the first time to configure it. -
Use your favourite scheduling method to set
python spamcheck.py
andpython torips.py
to run regularly.