Settings

Theme

Show HN: A Beancount txn parser/writer, implemented in Emacs Lisp

sr.ht

3 points by trs-80 a year ago · 0 comments · 2 min read

Reader

Happy Friday, everyone! :)

I started getting into so called "plain text accounting"[0] some years ago, and after having a look around, settled on Beancount (as opposed to Ledger or others).

It took me a few tries to get off the ground, but eventually I did. And now I am finally realizing one of my life-long goals of getting my personal books (accounting) in order. FeelsGoodMan.jpg :)

Along the way, I cobbled together various hacky scripts to manipulate my text based transactions (txns) in Beancount. I am a big Emacs user and I prefer to work in Emacs Lisp so that was what I used.

I went on, piling hack upon hack the last few years, re-implementing things in different ways over and over, just to quickly accomplish whatever I needed at the time to do my bookkeeping.

Recently I realized that I needed to build even more things on top of all these hacks, until for some reason I experienced a moment of clarity, and decided I should refactor all these hacks into a proper library.

I also thought it might be generally useful to others, so I released it publicly this morning.

I am very please to present to you:

beancount-txn-elisp

A library to read/parse and write/insert individual Beancount transactions, implemented in Emacs Lisp.

https://sr.ht/~trs-80/beancount-txn-elisp

Please try to break it. :) And let me know if you are successful.

Cheers, TRS-80

[0] https://plaintextaccounting.org

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection