Elektrine lite

โ† Feed

@cliffle@hachyderm.io

Post #4477300

2026-07-06 19:33 UTC

@mere@infosec.exchange well it sounds like we should keep in touch! ๐Ÿ˜„ I took a look at the format last night, the best reference I could find was actually hledger's docs: https://hledger.org/1.52/hledger.html#journal-cheatsheet It seems pretty reasonable, and in a lot of ways cleaner than what I've got. It also has a _lot_ of features, far more than I currently support. (In particular I don't support multiple currencies or cost-basis tracking.) But a subset of it might be useful! It sounds like the Ledger family of tools is based on a model of taking a source file, like a CSV, and importing it by modifying a journal file (in Ledger's format), so that you can assign transactions to accounts and add tags and stuff. That's reasonable! But I'm doing something a little bit different: I'm trying to check in the exact files from banks or credit cards or whatever, unmodified, and use them as the source material without duplicating their contents anywhere. So I have sidecar files to add metadata, but the CSV/XLS/PDF/QDF file is always the source of truth. Is this a good idea? I don't know! It's been working for me so far, but wanting to do this is why I haven't seriously attempted using any of the PTA-family of tools. No shade, they seem great.

Replies (1)

  • @mere@infosec.exchange 2026-07-07 08:14

    @cliffle@hachyderm.io we should definitely keep in touch. The ledger format is kinda like markdown for accounting, the command line tool is just the parser, using different types of commands to make sense of your accounting/spending. Ledger doesn't have first class support for dealing with CSV/XLS/PDF/QDF files, so indeed it does not meet your requirements. For my software I do plan to add a way to import data from those formats into a ledger file. But I am not sure if there is a generic way to do this. But I am sure your code will be handy ๐Ÿ˜€

    Open ##4477301