Check and store data from sign-ups registered on your Mastodon server last seven says.
Anar al arxiu
spla 4c4ebaef77 Use of Mastodonplus.py's admin_ip_blocks endpoint 2022-09-06 21:32:01 +02:00
LICENSE Add LICENSE 2021-07-26 13:45:29 +00:00
README.md Updated 2022-08-15 17:32:11 +02:00
requirements.txt Use of Mastodonplus.py's admin_ip_blocks endpoint 2022-09-06 21:32:01 +02:00
spamcheck.py Use of Mastodonplus.py's admin_ip_blocks endpoint 2022-09-06 21:32:01 +02: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 last seven days.

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.