A script designed to work with Ledger to give you a turn-based budget. Inspired by Alex Recker's bennedetto, about which he wrote this fascinating article.
Inspired by turn-based video games, turningledge takes your Ledger journal and works out how much you make per day. It then deducts any regular outgoings you may have declared (eg rent, bills, subscription services) to arrive at a figure for how much money you get to spend per day while still breaking even or saving, or alternatively how much money you need to save per day to break even or achieve your saving targets.
Read more about it in this article on my blog!
- Check that your Ledger installation runs by default without needing to call
any options. You can do this by making sure that options (in particular
--file
and--date-format
if you've used a non-standard date format) are set in~/.ledgerrc
. - Copy
.turningledgerc
into your home directory and replace the example settings with your own.
Once you cd
to where turningledge is stored, you can display the basic
turningledge report:
$ ./turningledge.sh
Or you can show how turningledge got to its workings:
$ ./turningledge.sh -v
turningledge is free software released under the GNU General Public Licence v3.