885 B

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


  • Python 3
  • Postgresql server
  • Mastodon server admin


Within Python Virtual Environment:

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

  2. Run python to setup and create new Postgresql database and needed tables in it.

  3. Run python to write Tor exit nodes IPs to database. You need to get the torbulkexitlist from here

  4. Use your favourite scheduling method to set python to run regularly.