Check and store data from sign-ups registered on your Mastodon server last seven says.
Anar al arxiu
spla db24205899 Refactored to Class 2022-08-15 16:55:31 +02:00
LICENSE Add LICENSE 2021-07-26 13:45:29 +00:00
README.md Refactored to Class 2022-08-15 16:55:31 +02:00
checktornodes.py Added Tor exit node IP checking 2022-01-16 14:33:44 +01:00
requirements.txt Refactored to Class 2022-08-15 16:55:31 +02:00
spamcheck.py Refactored to Class 2022-08-15 16:55:31 +02:00
torbulkexitlist Limit text reason to 200 characters 2022-02-14 17:05:23 +01:00
torips.py Refactored to Class 2022-08-15 16:55:31 +02:00

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.