Mastodon's Trending manager
| app/libraries | Handling some exceptions | |
| LICENSE | First commit | |
| README.md | Save mods list as dict to a file | |
| requirements.txt | Save mods list as dict to a file | |
| trending.py | Save mods list as dict to a file | |
Mastodon's trending manager
This code automatically approve hashtags and notify moderators via private mention about pending posts and links.
Dependencies
- Python 3
- Mastodon bot account with the custom role (Manage Users & Manage Taxonomies)
- Mastodon running server.
Usage:
Within Python Virtual Environment:
-
Run
pip install -r requirements.txtto install needed libraries. -
Run
python trending.py. First run will set everything up. -
Use your favourite scheduling method to run
python trending.pyperiodically.