Check and store data from sign-ups registered on your Mastodon server last seven says.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spla db24205899
Refactored to Class
6 months ago
LICENSE Add LICENSE 2 years ago
README.md Refactored to Class 6 months ago
checktornodes.py Added Tor exit node IP checking 1 year ago
requirements.txt Refactored to Class 6 months ago
spamcheck.py Refactored to Class 6 months ago
torbulkexitlist Limit text reason to 200 characters 12 months ago
torips.py Refactored to Class 6 months ago

README.md

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:

  1. Run pip install -r requirements.txt to install needed Python libraries.

  2. Run python torips.py to write Tor exit nodes IPs to new created database. You need to get the torbulkexitlist from here

  3. Run python spamcheck.py for the first time to configure it.

  4. Use your favourite scheduling method to set python spamcheck.py and python torips.py to run regularly.