Check and store data from sign-ups registered on your Mastodon server last seven says.
db-setup.py | ||
LICENSE | ||
README.md | ||
requirements.txt | ||
spamcheck.py |
Mastodon's spamcheck
Check and store data from spam bots trying to register to your Mastodon server. You need to configure your Mastodon server like this:
- Registration mode -> Approval required for sign up
- Require new users to enter a reason to join -> activated
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 db-setup.py
to setup and create new Postgresql database and needed tables in it. -
Use your favourite scheduling method to set
python spamcheck.py
to run regularly.