Ledger (2023)

27 points by helene


This is about the accounting program Ledger, not the cryptocurrency/hardware company of the same name.

olexsmir

I use a similar tool, hledger(which is a rewrite of ledger in haskell, with more quality of life features). It’s the only tool that stuck with me, and I love it. Plain text accounting is the only tool(methodology?) that allows me to quickly input and edit data because it’s just plain text, and I can use my beloved neovim or tools like grep/sed since it’s all just plain text.

It’s quite handy if you want to know exactly how you spend your money.

P.S: The community is lovely. If you have questions, “what is the way to do it?”, you will get plantly of help if you ask on reddit/forum

ketchupfriend

I use a similar tool/language, Beancount. Coming from Mint/YNAB/GNUCash, it has been so much easier to wrap my mind around and keep things organised.

With plain text accounting, I now have control of the “mutations” that I make to my spending, vs things being much more opaque with traditional accounting software. This is a super oversimplified analogy, but I like to think of it the difference between functional and imperative programming.

Sarcasm

I have been using ledger since 2016, tracking almost every penny, as a hobby. I input data manually or sometimes automatically, e.g. parsing PDFs. The various reports feels like profiling a program, you get insights on your finances. Sometimes I wonder when was the last time I went to a place or bought something, what frequency I go to the hairdresser. It’s all here.

Plain text accounting is very flexible, I often “refactor” / refine my past transactions, with confidence : Emacs + Git + ledger bal. Over time I learned to tune my transactions so that month on month comparisons works well (quarterly or yearly as well). Without these adjustments my history is not as readable/insightful, e.g. an error on my paycheck one month and a resolution the next one could make some discrepancy in my monthly (Income - Expenses) visualization.

Since 2021 I also automatically convert my ledger file to Beancount format (via ledger2beancount) to use the Fava web UI (https://github.com/beancount/fava). An UI with interactive charts is really great to get insights. I filter out exceptional revenues, compare expenses by periods, etc.

Beancount model is a bit nicer/richer than ledger I think, with standardized document directories, ability to link transactions (e.g. doctor expense and reimbursement from health insurance), split of Payee / Narration. I did not commit to Beancount yet because the implementation seems less stable to me. Mainly one author and big rewrites with technologies I’m not necessarily fond of for the use case but symptomatic of a Googler (e.g. protobuf). I hope that does not sound too harsh, Beancount is really great, I just think the implementation is not so “KISS”. I feel like a Rust/Zig/Go implementation, with not too much dependencies, would be easier to hack/rely on.

What I find missing with either tools, is an LSP server, I think there is potentials here, for example when a transaction has an unfilled amount, I’d like for the LSP to show it computed and allow me to fill it in or show the balance of accounts as inlay hints for example.

koala

I started using Ledger on January 1st this year. I thought it would be a chore to keep up, but in the end if I sit down every 2-3 days, not a lot of stuff accumulates, and I don’t spend so much time typing out stuff.

I do very basic reporting- the queries in the linked article are much more than I usually do, ledger bal is more or less useful.

Now I face a quandary- my account structure and tagging are way less than ideal, I think. I wonder if I should start a new structure next year (when I will be more familiar with things), because refactoring my current Ledger file is 2k lines and I dread manipulating it.

If you wonder where you are spending money, it’s quite handy. Now at least I know how much I spend in the supermarket, how much did holidays cost, etc. By showing me that electricity was costing me about 2x more than the other most expensive utility, it pushed me to switch providers, for instance.

It’s pretty nice.

mro

just recently I found the way to prepare for my business tax declaration with hledger by streamlining the tax form fields and (h)leder account names. Really love plaintext accounting. Am curious how it turns out.