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
spla 2d4f2431ab remove debug code 2021-01-22 18:41:17 +01:00
LICENSE Added 2020-12-24 17:19:21 +01:00
README.md New table to store regular fees 2021-01-22 18:36:18 +01:00
addbill.py First Budget commit! 2020-12-24 14:13:31 +01:00
addfee.py remove debug code 2021-01-22 18:41:17 +01:00
addincome.py First Budget commit! 2020-12-24 14:13:31 +01:00
budget.py New table to store regular fees 2021-01-22 18:36:18 +01:00
db-setup.py New table to store regular fees 2021-01-22 18:36:18 +01:00
requirements.txt First Budget commit! 2020-12-24 14:13:31 +01:00

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 this Budget 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 addincome.py to add your donations.

  5. Run python addbill.py to add your server or domain bills.

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

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