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.
Anar al arxiu
2022-08-19 14:30:39 +02:00
addfee.py remove debug code 2021-01-22 18:41:17 +01:00
budget.py Get current monh or year by default 2022-08-19 14:30:39 +02:00
db-setup.py New table to store regular fees 2021-01-22 18:36:18 +01:00
LICENSE Added 2020-12-24 17:19:21 +01:00
publisher.py Added publisher.py and updated REAME.md 2022-04-06 20:15:14 +02:00
README.md Added publisher.py and updated REAME.md 2022-04-06 20:15:14 +02:00
requirements.txt First Budget commit! 2020-12-24 14:13:31 +01:00
setup.py Added missing setup.py 2021-08-20 18:14:33 +02:00

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.