home.social

#hledger — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #hledger, aggregated by home.social.

fetched live
  1. Wow. From hledger's AI policy:

    Can engaging with the AI phenomenon be ethical ?

    Great question. Let's carefully avoid answering it!

    • Choosing to avoid AI use entirely will become increasingly hard if not impossible. [...]
    • It is here and will continue to unfold and impact us all for at least the next N years. It shouldn't be left only to the boosters and zealots.

    "Can punching babies be ethical? Well, baby punching is here and will continue to unfold, and we can't leave baby punching to the baby punchers. It's called ethics."

    #hledger #LLM

  2. Wow. From hledger's AI policy:

    Can engaging with the AI phenomenon be ethical ?

    Great question. Let's carefully avoid answering it!

    • Choosing to avoid AI use entirely will become increasingly hard if not impossible. [...]
    • It is here and will continue to unfold and impact us all for at least the next N years. It shouldn't be left only to the boosters and zealots.

    "Can punching babies be ethical? Well, baby punching is here and will continue to unfold, and we can't leave baby punching to the baby punchers. It's called ethics."

    #hledger #LLM

  3. I'm pleased to announce hledger 2.0 preview release 3!

    Highlights:
    - conventional file layout for rules/data/prices
    - get command
    - commodity aliases
    - print aligns by decimal mark
    - more intuitive precision behaviour
    - more robust lot detection
    - average cost basis methods
    - customisable report titles
    - prices --summary report
    - a more robust roi report
    - and many other improvements and fixes.

    hledger.org/relnotes.html#2026
    hledger.org/install

  4. I'm pleased to announce hledger 2.0 preview release 3!

    Highlights:
    - conventional file layout for rules/data/prices
    - get command
    - commodity aliases
    - print aligns by decimal mark
    - more intuitive precision behaviour
    - more robust lot detection
    - average cost basis methods
    - customisable report titles
    - prices --summary report
    - a more robust roi report
    - and many other improvements and fixes.

    hledger.org/relnotes.html#2026
    hledger.org/install

    #hledger #plaintextaccounting #haskell

  5. `hledger bal -t --drop=1 -D -T -A -N --pretty-tables Expenses`
    hledger is pretty cool and the more i dig into the built in help and the flags and switches, it just keeps me surprising me in the most joyful way.
    what do the switches here do?
    1. -t for tree style display of accounts and subaccounts
    2. --drop=1 since my top level is Expenses, it will just show the overall totals anyways.
    3. -D for day by day multi column report of account balances in the current month by default
    4. -T print the row wise totals. this means the total spent in a particular account across all the days from start of month till date by default
    5. -A same as -T but for row wise averages.
    6. -N this is optional and to remove the final total row. try with on or off. in this case, i could have also instead removed --drop=1 and that row would have shown the day wise Expenses totals as well.
    7. --pretty-tables uses unicode characters for a better looking tabular output.

    lots more flags to go through, but this itself was so useful to see trends at a glance.

    Thank you @simonmic for letting me feel cool using the terminal. Love the project

    #pta #plaintextaccounting #hledger #tips
  6. `hledger bal -t --drop=1 -D -T -A -N --pretty-tables Expenses`
    hledger is pretty cool and the more i dig into the built in help and the flags and switches, it just keeps me surprising me in the most joyful way.
    what do the switches here do?
    1. -t for tree style display of accounts and subaccounts
    2. --drop=1 since my top level is Expenses, it will just show the overall totals anyways.
    3. -D for day by day multi column report of account balances in the current month by default
    4. -T print the row wise totals. this means the total spent in a particular account across all the days from start of month till date by default
    5. -A same as -T but for row wise averages.
    6. -N this is optional and to remove the final total row. try with on or off. in this case, i could have also instead removed --drop=1 and that row would have shown the day wise Expenses totals as well.
    7. --pretty-tables uses unicode characters for a better looking tabular output.

    lots more flags to go through, but this itself was so useful to see trends at a glance.

    #pta #plaintextaccounting #hledger #tips
  7. Hi @simonmic,
    thanks for clarifying, so cleaned up, without header and simpler names.

    Just the + sign with liabilities:vat looks odd:

    ; I am renting out for a monthly fee, receive payments and owe the VAT to the tax authorities.

    2026-04-01 rent april per contract
    assets:receivable:customer 20 €
    equity:customer

    2026-04-03 rent april payment
    assets:bank:customer 20 €
    assets:receivable:customer

    2026-04-08 rent april billing/tax
    assets:bank:customer -20 €
    liabilities:vat:customer 3,19 €
    revenues:customer 18,81 €

    ; #hledger #plaintextaccounting

  8. Hi @simonmic,
    thanks for clarifying, so cleaned up, without header and simpler names.

    Just the + sign with liabilities:vat looks odd:

    ; I am renting out for a monthly fee, receive payments and owe the VAT to the tax authorities.

    2026-04-01 rent april per contract
    assets:receivable:customer 20 €
    equity:customer

    2026-04-03 rent april payment
    assets:bank:customer 20 €
    assets:receivable:customer

    2026-04-08 rent april billing/tax
    assets:bank:customer -20 €
    liabilities:vat:customer 3,19 €
    revenues:customer 18,81 €

    ; #hledger #plaintextaccounting

  9. Five years ago, I received a 100$ regression bounty pretty much by accident for reporting a regression in [1] (what an amazing concept and stability commitment!). I decided to spread that back as issue bounties to feed into the community [2]. Those often sat there for years, humans take time.

    That was before the slop era.

    Now, AI bountyhunters want it, so I changed my terms to 100% human work [3].

    [1] github.com/simonmichael/hledge
    [2] github.com/simonmichael/hledge
    [3] github.com/simonmichael/hledge

  10. Five years ago, I received a 100$ regression bounty pretty much by accident for reporting a regression in #hledger [1] (what an amazing concept and stability commitment!). I decided to spread that back as issue bounties to feed into the community [2]. Those often sat there for years, humans take time.

    That was before the slop era.

    Now, AI bountyhunters want it, so I changed my terms to 100% human work [3].

    [1] github.com/simonmichael/hledge
    [2] github.com/simonmichael/hledge
    [3] github.com/simonmichael/hledge

  11. #fedihelp wanted for #hledger #plaintextaccounting: when I sell a product to a customer, does accountng like that make sense or would you do otherwise?

    ; hledger.org/5-minute-quick-sta
    account assets:bank ; type:C
    account assets:cash ; type:C

    account equity:conversion ; type:V

    commodity 1.000,00 €
    decimal-mark ,

    account tax:e25:eue:42 ; type:L ; VAT 19%
    account tax:e25:eue:12 ; type:R ; buniness revenue net

    2026-05-10 rent may sale
    liabilities:busi:prod_a:cust_23 23 €
    equity:busi:prod_a:cust_23

    2026-05-11 rent may payment
    asset:bank:giro:busi:prod_a:cust_23 23 €
    liabilities:busi:prod_a:cust_23

    2026-05-12 rent may billing/tax
    asset:bank:giro:busi:prod_a:cust_23 -23 €
    tax:e25:eue:42:busi:prod_a:cust_23 3,67 €
    tax:e25:eue:12:busi:prod_a:cust_23

  12. #fedihelp wanted for #hledger #plaintextaccounting: when I sell a product to a customer, does accountng like that make sense or would you do otherwise?

    ; hledger.org/5-minute-quick-sta
    account assets:bank ; type:C
    account assets:cash ; type:C

    account equity:conversion ; type:V

    commodity 1.000,00 €
    decimal-mark ,

    account tax:e25:eue:42 ; type:L ; VAT 19%
    account tax:e25:eue:12 ; type:R ; buniness revenue net

    2026-05-10 rent may sale
    liabilities:busi:prod_a:cust_23 23 €
    equity:busi:prod_a:cust_23

    2026-05-11 rent may payment
    asset:bank:giro:busi:prod_a:cust_23 23 €
    liabilities:busi:prod_a:cust_23

    2026-05-12 rent may billing/tax
    asset:bank:giro:busi:prod_a:cust_23 -23 €
    tax:e25:eue:42:busi:prod_a:cust_23 3,67 €
    tax:e25:eue:12:busi:prod_a:cust_23

  13. G'day all. I'm pleased to announce hledger 2.0 preview release 2, with many refinements to lot tracking, based on user testing.

    (And also hledger 1.52.1, which adds hledger 2-compatible G and U account types to hledger 1.)

    - github.com/simonmichael/hledge
    - hledger.org/relnotes.html#2026
    - hledger.org/install

    Release contributors: Simon Michael, Joshua Chapman.

  14. G'day all. I'm pleased to announce hledger 2.0 preview release 2, with many refinements to lot tracking, based on user testing.

    (And also hledger 1.52.1, which adds hledger 2-compatible G and U account types to hledger 1.)

    - github.com/simonmichael/hledge
    - hledger.org/relnotes.html#2026
    - hledger.org/install

    Release contributors: Simon Michael, Joshua Chapman.

    #hledger #plaintextaccounting

  15. G'day all. A poll:

    Should hledger 2 always infer market prices from @/@@ transacted prices, like Ledger ? (and drop the --infer-market-prices flag)

    - Yes, having this always on would be harmless and more useful
    - No, having it always on, or changing it, would be harmful
    - Other, see my reply

    Or vote in the matrix poll: matrix.to/#/!6BCfAOV-btRKuqChp

  16. G'day all. A poll:

    Should hledger 2 always infer market prices from @/@@ transacted prices, like Ledger ? (and drop the --infer-market-prices flag)

    - Yes, having this always on would be harmless and more useful
    - No, having it always on, or changing it, would be harmful
    - Other, see my reply

    Or vote in the matrix poll: matrix.to/#/!6BCfAOV-btRKuqChp

    #hledger #plaintextaccounting

  17. Glad it has helped you! A few things that might help:
    - other rust projects linked at plaintextaccounting.org
    - hledger.org/SPEC-journal.html
    - hledger.org/hledger.html#amoun (manual is a kind of spec)
    - amountp and friends in Hledger.Read.Common

  18. Glad it has helped you! A few things that might help:
    - other rust projects linked at plaintextaccounting.org
    - hledger.org/SPEC-journal.html
    - hledger.org/hledger.html#amoun (manual is a kind of spec)
    - amountp and friends in Hledger.Read.Common

    #hledger #plaintextaccounting #haskell

  19. Thanks all, for your comments re my explorations of use in developing . I probably won't be able to respond in every case, but all civil inputs will be read and considered and are much appreciated.

  20. Thanks all, for your comments re my explorations of #AI use in developing #hledger. I probably won't be able to respond in every case, but all civil inputs will be read and considered and are much appreciated.

  21. I'm pleased to announce a double release! First, hledger 1.52, with

    more robust paging,
    faster valuation,
    commodity tags,
    and cost basis annotations which are preserved and can be exported (examples provided).

    - github.com/simonmichael/hledge
    - hledger.org/relnotes.html#2026
    - hledger.org/install

  22. I'm pleased to announce a #hledger double release! First, hledger 1.52, with

    more robust paging,
    faster valuation,
    commodity tags,
    and cost basis annotations which are preserved and can be exported (examples provided).

    - github.com/simonmichael/hledge
    - hledger.org/relnotes.html#2026
    - hledger.org/install

    #plaintextaccounting #haskell

  23. @Bebef ahso - ich verwende client-seitig kein Excel oder ähnliches.
    Hab eine selbstgebaute Pipeline, welche mit Hilfe von "mlr" die exportierten CSVs normalisiert und dann basierend auf teils generierten, teils manuell definierten Regeln mit "hledger import..." meine Journals generiert.

    Ich sehe also die CSVs im plain-text.

    #hledger #plaintextaccounting #miller

  24. @Bebef ahso - ich verwende client-seitig kein Excel oder ähnliches.
    Hab eine selbstgebaute Pipeline, welche mit Hilfe von "mlr" die exportierten CSVs normalisiert und dann basierend auf teils generierten, teils manuell definierten Regeln mit "hledger import..." meine Journals generiert.

    Ich sehe also die CSVs im plain-text.

    #hledger #plaintextaccounting #miller

  25. Support question for the #hledger #plaintextaccounting community:

    Prefacing this by acknowledging that I know I'm probably trying to do something weird, but I’m just getting started so please be patient.

    I’m trying to import a large CSV file and am running into unbalance transaction errors. For example:
    > hledger: Error: /Users/cris/checking.csv:1751-1750:
    > 1751 | 2025-03-21 Starting Balance
    > | SBA $-100
    >
    > This transaction is unbalanced.
    > The real postings' sum should be 0 but is: $-100

    The line from the CSV file is:
    > SBA,,03/21/2025,Starting Balance,,,,,$100,$0.00,Cleared

    And the relevant rule from my import rules:
    > fields account1, , date, description, , , account2, comment, amount-out, amount-in,

    I can manually add the above transaction without issues, so I guess I need some clarity as to what I'm doing wrong with my import file.

    Thanks!

  26. Support question for the #hledger #plaintextaccounting community:

    Prefacing this by acknowledging that I know I'm probably trying to do something weird, but I’m just getting started so please be patient.

    I’m trying to import a large CSV file and am running into unbalance transaction errors. For example:
    > hledger: Error: /Users/cris/checking.csv:1751-1750:
    > 1751 | 2025-03-21 Starting Balance
    > | SBA $-100
    >
    > This transaction is unbalanced.
    > The real postings' sum should be 0 but is: $-100

    The line from the CSV file is:
    > SBA,,03/21/2025,Starting Balance,,,,,$100,$0.00,Cleared

    And the relevant rule from my import rules:
    > fields account1, , date, description, , , account2, comment, amount-out, amount-in,

    I can manually add the above transaction without issues, so I guess I need some clarity as to what I'm doing wrong with my import file.

    Thanks!

  27. Me! 👋

    Don't Skip The Docs.
    For emacs tips, start at hledger.org/editors.html#emacs.

    Don't assume you need hledger-mode (ledger-mode also works well, I use it).

    With flycheck-hledger (or a VCS precommit hook), don't feel you need maximal error checking - do what's most useful now, you can always do stricter checks manually.

    Don't try for perfect accounts/files/workflow up front - expect evolution.

    Don't limit yourself with an ancient hledger version - get the latest.

  28. Me! 👋

    Don't Skip The Docs.
    For emacs tips, start at hledger.org/editors.html#emacs.

    Don't assume you need hledger-mode (ledger-mode also works well, I use it).

    With flycheck-hledger (or a VCS precommit hook), don't feel you need maximal error checking - do what's most useful now, you can always do stricter checks manually.

    Don't try for perfect accounts/files/workflow up front - expect evolution.

    Don't limit yourself with an ancient hledger version - get the latest.

    #hledger #plaintextaccounting

  29. Who here uses Hledger for Emacs? What's the best way to get started and more importantly what should I NOT try to do? #emacs #hledger

  30. Who here uses Hledger for Emacs? What's the best way to get started and more importantly what should I NOT try to do? #emacs #hledger

  31. GitHub - juev/hledger-lsp: Language Server Protocol (LSP) implementation for hledger journal files github.com/juev/hledger-lsp

    Thanks to your requests, a number of problems in the #hledger lsp server have been solved. The new version is much better. Thank you!

  32. GitHub - juev/hledger-lsp: Language Server Protocol (LSP) implementation for hledger journal files github.com/juev/hledger-lsp

    Thanks to your requests, a number of problems in the #hledger lsp server have been solved. The new version is much better. Thank you!

  33. Having grown accustomed to "yank name" and "yank path" in #ranger, I find myself wishing this behavior were available in #hledger (hledger-ui), too! ;)

  34. Having grown accustomed to "yank name" and "yank path" in #ranger, I find myself wishing this behavior were available in #hledger (hledger-ui), too! ;)

  35. @platymew @msdropbear42 Oh I'd love to make videos about and , has been on my TODO list for a long time, but I just have to prioritise other stuff. But I'll get there eventually 👍

  36. @platymew @msdropbear42 Oh I'd love to make videos about #hledger and #plaintextAccounting, has been on my TODO list for a long time, but I just have to prioritise other stuff. But I'll get there eventually 👍

  37. If you are a user of my HLedger Formatter VSCode extension, you might like my just-released `hledger-fmt` CLI tool! It allows you to do the same format/sort as you can with the VSCode extension, but in your CLI. I am using this a lot in my codex skills to keep the journals consistently formatted.

    npmjs.com/package/@iiatlas/hle

    github.com/iiAtlas/hledger-for

  38. After bouncing around ideas and several experiments, I've decided to launch a new project with the goal of creating CLI tooling that facilitates receipt handling for #plaintextaccounting workflows. LLM based OCR and data extraction has improved to the point that I believe it will be possible to make bulk data extraction useful. If you have ideas, want to contribute, or just want to follow along jump in:

    codeberg.org/plaintextaccounti

    #hledger #ledgercli #beancount #llm #ocr

  39. After bouncing around ideas and several experiments, I've decided to launch a new project with the goal of creating CLI tooling that facilitates receipt handling for #plaintextaccounting workflows. LLM based OCR and data extraction has improved to the point that I believe it will be possible to make bulk data extraction useful. If you have ideas, want to contribute, or just want to follow along jump in:

    codeberg.org/plaintextaccounti

    #hledger #ledgercli #beancount #llm #ocr

  40. @nobodyinperson I'm asking you first because involving #gitannex would be high on my priority list. Really this wouldn't need to be #hledger specific as it could just as well be paired with #ledgercli or #beancount either directly or via CSV or whatever. I'm not a huge GitLab fan these days but can do it if you prefer. Codeberg seems more aligned or GitHub having the advantage of contributor pool. Thoughts?

  41. @nobodyinperson I'm asking you first because involving #gitannex would be high on my priority list. Really this wouldn't need to be #hledger specific as it could just as well be paired with #ledgercli or #beancount either directly or via CSV or whatever. I'm not a huge GitLab fan these days but can do it if you prefer. Codeberg seems more aligned or GitHub having the advantage of contributor pool. Thoughts?

  42. I apologize for not warning, but I released an update of the #hledger extension for vscode. Now I use my hledger-lsp server to work.

    Release 0.5.0 · juev/hledger-vscode github.com/juev/hledger-vscode

  43. I apologize for not warning, but I released an update of the #hledger extension for vscode. Now I use my hledger-lsp server to work.

    Release 0.5.0 · juev/hledger-vscode github.com/juev/hledger-vscode

  44. @Bdkl #hledger is the bomb. I'm a VIM user myself but @simonmic the maintainer is an emacs type I think so I imagine there is decent interaction available.

  45. @Bdkl #hledger is the bomb. I'm a VIM user myself but @simonmic the maintainer is an emacs type I think so I imagine there is decent interaction available.

  46. After a long session yesterday evening I finally managed to print custom QR code labels for onto sticker label A4 sheets. The QR code contains 'TAG:👛 Yann' and paperless can be configured to auto-detect that in scanned documents (such as receipts) and auto-attach a tag '👛 Yann' to know from whose purse that receipt was, which is very handy for (with ) later, especially for cash purchases that you otherwise don't have any other trace of.

  47. After a long session yesterday evening I finally managed to print custom QR code labels for #paperless onto sticker label A4 sheets. The QR code contains 'TAG:👛 Yann' and paperless can be configured to auto-detect that in scanned documents (such as receipts) and auto-attach a tag '👛 Yann' to know from whose purse that receipt was, which is very handy for #accounting (with #hledger) later, especially for cash purchases that you otherwise don't have any other trace of.

  48. GitHub - juev/hledger-lsp: Language Server Protocol (LSP) implementation for #hledger journal files github.com/juev/hledger-lsp

  49. GitHub - juev/hledger-lsp: Language Server Protocol (LSP) implementation for #hledger journal files github.com/juev/hledger-lsp

  50. @driedmushroom @tea I have my own bespoke bash script, but it's basically a log of bought and drank. It's all stored in sqlite so i can do these queries.
    My finances i track with #hledger. One could probably also track their tea using #plaintextaccounting.