It would be a nice project to have a small web2py app based on this
http://furius.ca/beancount/
that uses a database instead of a flatfile (but can output a
compatible flatfile) and allows to type queries via a web interface
and records the history of every record in the database using:
crud.update(db.table,record,onaccess=auth.archive)
It could be implemented in very few lines of code.
Massimo

