Skip to content

An SSH script designed to work with ledger (ledger-cli.org) to give you a turn-based budget. Inspired by Alex Recker's bennedetto (https://github.com/arecker/bennedetto).

License

Notifications You must be signed in to change notification settings

willthong/turningledge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An SSH script designed to work with ledger (ledger-cli.org) to give you a turn-based budget. Inspired by Alex Recker's bennedetto (https://github.com/arecker/bennedetto).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages