This code publish information of the Mastodon instance where the bot has its account, if requested, then reply following information: Registered users, Active users (MAU), LocalPosts, Instance's peers, Mastodon's version and Registration Opened/Closed
Anar al arxiu
spla 5e2ebc628a Added Active Half Year data 2023-06-28 20:27:11 +02:00
LICENSE First release! Publish your Mastodon instance's information at demand 2022-08-05 19:39:15 +02:00
README.md Updated 2022-08-06 07:33:46 +02:00
info.py Mastobot Class refactor 2022-08-06 10:49:37 +02:00
mastobot.py Added Active Half Year data 2023-06-28 20:27:11 +02:00

README.md

Info

This code publish information of the Mastodon instance where the bot has its account, if requested.

The bot listen to 'info' word key:

@bot_username info

and then reply following information:

Registered users
Active users (MAU)
LocalPosts
Instance's peers
Mastodon's version
Registration Opened/Closed

Dependencies

  • Python 3
  • Mastodon account

Usage:

Within Python Virtual Environment:

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

  2. Run python info.py manually once to bot setup and get its access token to Mastodon instance.

  3. Use your favourite scheduling method to set python info.py to run every minute.