You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
7 months ago | |
---|---|---|
LICENSE | 2 years ago | |
README.md | 7 months ago | |
requirements.txt | 7 months ago | |
spamcheck.py | 7 months ago | |
torips.py | 8 months ago |
README.md
Mastodon's spamcheck
Check and store data from last seven days sign-ups of 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. It 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.