Hello ledger fans,
A long time ago, I wrote a simple web app to plot my ledger data.
Before posting it to the web, I wanted to clean up the code so that
non-American currency would work. I have finally realized that I am
far too lazy to do this, so I am posting it as is. Hopefully someone
will find it useful!
Screenshot:
http://www.bitcrafter.net/files/ledger-plot.png
Source code:
http://www.bitcrafter.net/files/plot.tar.gz
Readme:
Dependences
===========
* web.py 0.31
* jinja2 2.1
Usage
=====
Make sure you can run ledger with having to use the -f|--file switch.
This can
be done by setting the LEDGER_FILE environment variable to the path of
your
ledger file.
Next, run
$ python plot.py
and point your browser to
http://127.0.0.1:8080/
Bugs
====
This program only works with American currency. At least one function
uses the
dollar sign when parsing.
The graphs were only tested in Firefox and Opera. Internet Explorer
may or may
not work.