Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.54 KB

README.md

File metadata and controls

45 lines (33 loc) · 1.54 KB

turningledge

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!

Setup

  1. 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.
  2. Copy .turningledgerc into your home directory and replace the example settings with your own.

Usage

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

Licence

turningledge is free software released under the GNU General Public Licence v3.