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.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spla 38517fd850 Added Balance by month, year or total 1 month ago
LICENSE Added 2 years ago
README.md Added publisher.py and updated REAME.md 6 months ago
addfee.py remove debug code 2 years ago
budget.py Added Balance by month, year or total 1 month ago
db-setup.py New table to store regular fees 2 years ago
publisher.py Added publisher.py and updated REAME.md 6 months ago
requirements.txt First Budget commit! 2 years ago
setup.py Added missing setup.py 1 year ago

README.md

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:

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

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

  3. Run python setup.py to get your Mastodon's bot account tokens and to be able to post your server's financial status.

  4. Run python budget.py to manage or list your bills and donations.

  5. Run python addfee.py to add your regular fees.

  6. Use your favourite scheduling method to set python publisher.py to run regularly. It will post your finances to your fediverse server.