Budget helps you control the bills and donations of your Mastodon server and to share your current finantial status with your users, by posting it via the Publisher bot.
addfee.py | ||
budget.py | ||
db-setup.py | ||
LICENSE | ||
publisher.py | ||
README.md | ||
requirements.txt | ||
setup.py |
Budget
Budget helps you control your Mastodon's server bills and donations and share current financial status with your users by posting them via the publisher bot.
Dependencies
- Python 3
- Postgresql server
- Mastodon's bot account
Usage:
Within Python Virtual Environment:
-
Run
pip install -r requirements.txt
to install needed Python libraries. -
Run
python db-setup.py
to setup and create new Postgresql database and needed tables in it. -
Run
python setup.py
to get your Mastodon's bot account tokens and to be able to post your server's financial status. -
Run
python budget.py
to manage or list your bills and donations. -
Run
python addfee.py
to add your regular fees. -
Use your favourite scheduling method to set
python publisher.py
to run regularly. It will post your finances to your fediverse server.