首页 > AI前沿 > Plain Text Accounting

Plain Text Accounting

Hacker News 2026-12-04 12:29 4 阅读 查看原文
plaintextaccounting.org Plain Text Accounting Welcome! Plain text accounting is a way of doing bookkeeping and accounting with plain text files and efficient, command-line-friendly software like Ledger, hledger, or Beancount. Quick links What is Plain Text Accounting ? , PTA FAQ , PTA Cookbook News & discussion: chat , forum , reddit , mastodon , twitter , bluesky Docs: PTA app comparisons , PTA app docs , Accounting basics , Intros , Cheatsheets , Cookbooks , FAQs , Slides , Videos Software: PTA apps , PTA apps feature matrix , AI , Distros/setups , Data conversion/import , Data generation , Editor plugins , Formatting , Invoicing , Price fetching , Reporting , Time logging , UI, terminal , UI, GUI , UI, web , UI, mobile , Utilities , Workflows , Libraries This site is a portal to the PTA community and its tools, docs, and practices, made with love by Simon Michael (PTA fan and hledger project leader). Updates to the repo are welcome. If you find this useful and resources allow, donating is a great way to help. Here are our financial reports. Thank you sponsors, including: A modern accounting book app based on Beancount and Git News & discussion Chat - #plaintextaccounting chat - plaintextaccounting matrix space - #plaintextaccounting IRC channel - project chats Blogs & articles - See the PTA forum's News category and RSS feed - Older blogs & articles, 2006-2024 PTA forum - forum.plaintextaccounting.org Reddit - /r/plaintextaccounting Lemmy - lemmy.world/c/plaintextaccounting Hacker News - stories - comments Mastodon - #plaintextaccounting - #ledgercli - #hledger - #beancount Twitter - plaintextaccounting - #plaintextaccounting - #ledgercli - #hledger - #beancount - LedgerTips 2014-2018 Bluesky - plaintextaccounting - #plaintextaccounting Stack Exchange - ledger-cli tag - ledger-cli search - hledger tag - hledger search Project specific - Project mail lists - This Week In Hledger plaintextaccounting.org site - commits - contributors - issues - email the site admin Docs PTA app comparisons , PTA app docs , Accounting basics , Intros , Cheatsheets , Cookbooks , FAQs , Slides , Videos PTA app comparisons PTA apps PTA apps feature matrix FAQ: Which PTA app should I choose ? Syntax Quick Reference hledger and Ledger, hledger and Beancount, hledger and other software 2014, 2019, 2022, 2023.. Matthias Kauer: Command Line Accounting – A look at the various ledger ports 2015 beancount mail list: Another Ledger user's perspective 2015 Beancount: A Comparison of Beancount and Ledger 2014 ledger list: ledger vs hledger vs beancount or how to choose the right cli client 2014 PTA app docs Ledger hledger Beancount rustledger Ledger (Go) Tackler pta Accounting basics PTA FAQ hledger: Accounting basics hledger: Accounting links Beancount: The Double-Entry Counting Method Accounting for Computer Scientists PractiBalance - journal entry exercises: write the debits and credits for a transaction and see which line is wrong Accounting for Dragons Intros What is Plain Text Accounting? Getting Started With Ledger hledger: Get Started Getting Started with Beancount Tackler: Quickstart Don't Sink Your First Attempts at Plaintext Accounting Program your Finances: Command-line Accounting Plain Text Accounting Workshop PTA Cookbook: Getting started BeanHub Academy Lazy Beancount Personal Accounting In Ledger (book) Ledger Basics Manual / Manual básico de Ledger (english, spanish) Cheatsheets Syntax Quick Reference Ledger CLI cheatsheet Beancount Syntax Cheat Sheet Beginners corner: a basic hledger transaction (Almost) everything you wanted to know about hledger transactions hledger: Journal cheatsheet hledger: CSV rules cheatsheet Cookbooks PTA Cookbook Beancount cookbook hledger cookbook Ledger wiki PTA Forum Reddit: plaintextaccounting FAQs PTA FAQ hledger FAQ Ledger FAQ Slides Marcus Rohrmoser: Buchhaltung, Hacker Art (2026, german) Youngbin Han: Plain Text Accounting with hledger (2025, korean and english) Simon Michael: Inside hledger: an architectural tour and how-to 2021 Michael Lynch: An introduction to plaintext accounting 2021 Andreas Pauley: Purely Functional Personal Finance 2018 Matthew Turland: Hacking Your Finances for Fun and Profit 2013 Videos (PTA videos are currently hard to find on youtube because of slop - if you find good ones, let me know.) TORGiren DevOpses: hledger part 1 (2026, 10m, polish) O Clementino: Gerencie suas finanças como um hacker (2026, 20m, brazilian portuguese) Coder Kaylee: Hledger in 10 Minutes: The Ultimate CLI Tool (2025, 5m) hledger add and hledger web from Youngbin Han's talk (2025, 1m, korean) Thanga Ayyanar: Ledger CLI (tamil) 2024 Edwin Espinoza: Ledger CLI, Personal finance in the command line 2023 Prakash Joshi Pax: How to Use Obsidian to Track Your Expenses 2022 Peter Berger: Plain Text Accounting: An Opinionated View 2022 Glenn Ramsey: Plain text accounting for fun and profit 2022 季路LJ: Beancount |简略记账说明 2021 Robert Nielsen: hledger fan channel short hledger beginner lessons, 2019-2021 Simon Michael: Inside hledger: an architectural tour and how-to 2021 Brian Ryall: Managing Your Finances Using Python 2020 Steve Anderson: Plain Text Accounting: How to do Signed Number Accounting 2019 Quiliro Ordóñez: ledger-mode lightning talk 2019 Dickson S. Guedes: Cuide de suas FINANÇAS pessoais ou profissionais usando TEXTO 2019 John Nduli: Plain Text Accounting 2019 Jean Louis: GNU Emacs database accounting and rant on text ledgers 2019 Cindy Zimmerman: Triple Entry Accounting, Ledger-cli, The blocktree hash tree - Guld Ledger File Format 2018 Colin Dean: Plaintext Accounting with the ledger ecosystem 2017 Colin Dean: Plain Text Accounting 2017 Simon Michael: Hands-on with hledger 2016 Chris Vollick: hledger, an open source accounting tool 2016 Austin Walker: Conquering Your Finances with Emacs and Ledger 2016 Simon Michael, Randal Schwartz, Simon Phipps: FLOSS Weekly 375: hledger (3m overview, show notes) 2016 John Wiegley, Randal Schwartz, Aaron Newcomb: FLOSS Weekly 150: Ledger (show notes) 2011 Software PTA apps , PTA apps feature matrix , AI , Distros/setups , Data conversion/import , Data generation , Editor plugins , Formatting , Invoicing , Price fetching , Reporting , Time logging , UI, terminal , UI, GUI , UI, web , UI, mobile , Utilities , Workflows , Libraries PTA apps To start doing plain text accounting, try one (or more) of the apps below. Generally it's possible to migrate data between them. Here's the PTA apps star history. PTA apps feature matrix Here's a comparison of the big three PTA apps' main features, plus some relevant third-party tools in italics, and some geeky technical specs that you may not care about. Corrections and suggestions are appreciated. Last updated: 2024-09 Distros/setups Some alternate distributions/setups for the PTA apps. AI accountant24 - local-first multi-model AI agent using hledger Setup Claude Code to work with hledger and Obsidian - Claude Code as the agent layer for hledger in an Obsidian vault Countbean - Claude Code plugin and MCP server for Beancount, with optional countbean.com integration Beanhand - AI-assisted Beancount ledger management: import scans/photos of receipts as transactions, associate receipts to existing transactions and organize them, add detail to transactions using their associated documents Agents Finance – hledger and Beancount pages: real write-ups of plain-text accounting run with Claude Code and other AI agents, each with source and what was tested Data conversion/import General Ledger and hledger have CSV conversion built in. Also: bean-identify, bean-extract, bean-file - import tools provided by Beancount v2 beanborg Advanced transaction importer with auto-categorization (python) beancount-import web app/framework for converting various formats to beancount (python) beancount-openbanking-io beangulp importer syncing EEA & UK bank transactions over PSD2, decrypted client-side; no eIDAS certificate, no per-account daily rate-limit (python) beancount-reds-importers Simple importers and tools for Beancount. A framework to allow you to easily write your own importers. beancount2ledger beancount to h/ledger converter (python) beancounttools importers, plugins and price fetchers for beancount (python) beanhub-extract Simple Python library for extracting all kinds of bank export CSV files into standardized transaction data objects beanhub-import Declarative idempotent rule-based beancount transaction import engine in Python consumes data extracted by beanhub-extract beanscrape CLI tool that automates using your browser to scrape bank data to beancount (C#) buchhaltung CSV/FinTS/HBCI/OFX to *ledger conversion/deduplication (haskell) Costflow convert one line message to beancount/*ledger format csv2beancount CSV to beancount converter (clojure) CSV2Ledger CSV to *ledger converter (perl) csv2ledger.el CSV to *ledger converter (emacs lisp) double-entry-generator Rule-based double-entry bookkeeping importer (from Alipay/WeChat/Huobi etc. to Beancount) FinancialBeancount ceancount converter/deduplicator for Alipay, WeChat Pay, bank statements, CSV, XLSX, PDF (python) finfetch local web app for downloading csv from your banks via Plaid (categorised, deduplicated, plus edits and deletions) fints2ledger FinTS/HBCI to csv to *ledger or beancount journals (python) grisbi2Ledger Grisbi to *ledger converter gsheet-csv.hs a script to download Google sheets (haskell) hledger-Excel Excel spreadsheet to *ledger journal converter (visual basic for applications) hledger-import-dsl alternate, programmable CSV converter for hledger hledger-to-influxdb hledger to InfluxDB converter (haskell) hledger2beancount hledger to beancount converter (haskell) homebank2ledger HomeBank to ledger and beancount converter (perl) icsvledger interactive CSV to *ledger converter (python) into-ledger CSV to *ledger converter invoice2data extract data from PDF invoices (python) jali downloader/importer to *ledger (python) ldgclip import bank transactions via the clipboard with one click (bash/awk) Ledger (Go) has limport, a CSV to *ledger converter ledger-autosync OFX download, OFX to *ledger conversion, deduplication ledgerbridge OFX 1.x/2.x/QFX, QIF, CAMT.053 and CSV to beancount, hledger or Firefly III CSV; verifies opening + transactions == closing balance and refuses to write output when it doesn't (python, stdlib only) ledger-guesser neural network for generating entries like past ones, can be used with ledger-autosync (js) ledger-myexpenses MyExpenses android app sqlite db to *ledger conversion (python, 2017) ledgermyexpenses sync MyExpenses android app to/from Ledger (bash, 2023) ledger-to-beancount yet another simple ledger to beancount converter (python) ledger-tutorials convert Pete Keen's tutorials to ebook format ledger2beancount h/ledger to beancount converter (perl) ledger2beancount.py *ledger to beancount converter (python) limabean-harvest - Beancount importer with transaction pairing across accounts (clojure/rust) moneymoney-ledger MoneyMoney export extension for *ledger plaid2text Plaid API to *ledger/beancount download/conversion reckon smart interactive/non-interactive CSV to *ledger converter slc generates Ledger accounting entries, works with generic CSV files as well as the Stripe API smart_importer library for building smarter CSV to beancount/Fava converters Tiller service to download from mostly-US banks to google or microsoft spreadsheets (commercial but pretty good) total_recall CSV to *ledger converter GnuCash WolfgangFahl/pynomina (updated 2025) interconversion between many formats, including gnucash-xml and beancount piecash/scripts/ledger.py (updated 2024) gnucash-sql to ledger lodenrogue/gnucash2ledger (2023) gnucash-xml to ledger tfree87/gnucash2ledger (2021) gnucash-xml to *ledger gnucash-xml-to-ledger-dat (2020) gnucash-xml to ledger gnucash-to-beancount (2017) gnucash-sqlite to beancount cookthebooks (2017) gnucash-xml to ledger pygnucash/gnucash2ledger.py (2014) gnucash-sqlite to ledger Intuit outofit QuickBooks to *ledger converter plaid2qif Download transactions from plaid as QIF or CSV files qb2ledger QuickBooks General Journal CSV to *ledger converter QIFtoLedger (Bank of America's) QIF to *ledger converter KMyMoney kmymoney2ledgers KMyMoney to *ledger/beancount converter (python) kmymoney2ledgers.awk KMyMoney to *ledger/beancount converter (Awk) YNAB beancount-ynab Import YNAB4 (legacy desktop-based version) into beancount beancount-ynab5 Import YNAB5 (cloud-based version) transactions into beancount ynab-to-ledger YNAB5 (transactions) to *ledger converter (2025) ynab-to-ledger You Need A Budget (YNAB) to *ledger converter. Handles multiple currencies, multiple number formats, reconciliation, memos, transfers, and split transactions ynab_to_ledger YNAB to *ledger converter Data generation beancount-extract-price generate prices transactions based on your beancount ledger (python) DepreciateForLedger generate *ledger depreciation transactions (python) hledger-interest generate *ledger interest entries (haskell) ledger-ts typescript EDSL for generating beancount journals (ts) ledgerbil schedule recurring txns, interactive reconcile, date sorting LedgerScheduler move entries from one file to another when they come due (python) lotter generate postings for capital gain/loss (go) recurring generate recurring *ledger entries (python) reorder-journal.sh sort hledger entries, preserving directives/comments at top of file (bash) Editor plugins See also: hledger: Editor configuration Emacs beancount-mode hledger-mode ledger-mode (good for hledger also) JetBrains IDEs (IntelliJ, PyCharm, etc.) Ledger CLI Nano scopatz/nanorc Sublime sublime-ledger-syntax TextMate Ledger.tmbundle VIM vim-ledger vim-beancount hledger-vim cmp-beancount ledg-vim VS Code hledger-vscode (2017..) vscode-beancount (2023..) vscode-ledger-mode (2026) ledger (2016) ledg (2026) Formatting beancount-black opinionated beancount file formatter beancount-black web app opinionated beancount file formatter as a web-based app hledger-fmt opinionated hledger file formatter Invoicing kairos generate invoices from hledger timedot files (go) Price fetching bean-price Beancount's price fetching tool (python) hledger-stockquotes download market prices for your hledger commodities (haskell) ledger-get-prices download market prices (ruby) LedgerStockUpdate update a Ledger price database (go) market-prices download market prices from several sources (python) market-prices.hs small, easy to adapt script to scrape market data from the internet (Haskell) pricehist fetch and format historical price data, with support for multiple sources and output formats (python) the-solipsist/scripts download prices for your hledger commodities, including indian commodities (bash) update-stocks-hledger in .net fetching stocks market prices and currency exchange rates from Yahoo Finance Reporting beancount-zakat zakat calculation for beancount & fava (python+js) budget_report budget reporting with beancount (python) gainstrack personal wealth analysis app with beancount export (scala+ts) hledger-diff report differing transactions between two journals (haskell) hledger-irr calculate an account's internal rate of return (superseded by roi) (haskell) hledger-lit show multiple charts in web browser (python) hledger-sankey Script + HTML files to plot income next to expense money flows from an hledger ledger file (shell + js) hledger-tools generating charts from hledger (ts) hledger-vega makes configurable vega-lite charts from hledger (shell) hreports customise hledger reports with templates and PDF output (python) ledger-plot interactive tool for making GNUplot charts from Ledger (python) ledger-plots R package & script to make charts from Ledger (R) r-ledger an R package for reading and reporting on ledger/hledger/beancount files (R) TaxingLots calculates capital gains for a ledger journal (python) Time logging org2tc org to timeclock converter on-modify.timetrack.py taskwarrior hook for timeclock output t ledger timeclock shellscript tim time logging/reporting tool using hledger timekeeping-template time logging/reporting examples/how-to using hledger toggl2timeclock.py Toggl CSV export to timeclock converter UI, terminal bean-add interactive transaction entry tool (python, 2021..) dravik TUI for hledger viewing (python, 2025) hledger add interactive transaction entry tool (built-in command, 2009..) hledger-edit open any subset of transactions in your editor (python, 2023) hledger-iadd TUI for h/ledger transaction entry (haskell, 2015..) hledger-textual TUI for hledger viewing/entry/editing (python, 2026) hledger-tui TUI for hledger viewing (python, 2025) hledger-ui TUI for h/ledger viewing (haskell, 2015.., video) ladd create and edit a new *ledger transaction by fuzzy-matching past descriptions (shell, 2020) ladder TUI for hledger transaction entry, a souped-up hledger add (rust, 2026) ldash TUI for viewing portfolio, net worth and monthly budget (rust, 2026) ldgr command line tool to add/sort/tag ledger files (ruby, 2017) ledger xact history-aware transaction generator (built-in command, 2004..) ledger-add TUI for h/ledger transaction entry (python, 2024) puffin TUI for hledger viewing (go, 2023..) regdel TUI for viewing Ledger files (python, 2016) UI, GUI BeanDesk desktop client and GAAP financial workbench for Beancount / Fava (tauri+react, 2026) favagtk app of Fava web UI for beancount viewing (python+gtk, 2022..) Finzytrack GUI for beancount with optional local/cloud AI integration (python, ts, 2026) fruit-credits data entry/reporting GUI for hledger (vala+gnome, 2024) hledger-macos mac app for viewing/editing (swift, 2026) ledgeline cross platform accounting app based on hledger (rust+ts, 2026) Ledgera cross platform accounting app based on hledger (rust+ts, 2026) ledgerble reporting GUI with charts & adjustable reports (js, 2019) ledgerhelpers misc. GUI tools + helper library (python+gtk, 2016..) Prudent integrated journal editing/importing/reporting GUI for Ledger (closed source, mac, js, 2019) Surebeans hledger-compatible YNAB clone, providing data entry, budgeting, reports (closed source, cross platform, C#, 2026) UI, web BeanHub web UI for beancount viewing, data entry with a Git repository (closed source with open source tools, python, 2022) cash offline-capable web UI for data entry to CSV (js, 2024) discourse-hledger (ruby+js, 2026, ann) fava web UI for beancount viewing (python, 2016.., demo) finfetch local web app for downloading csv from your banks via Plaid (ts, 2025) hledger-web web UI for *ledger viewing, data entry (haskell, 2010.., demo, Sandstorm app) hledger-webuix one-page local web app for hledger viewing, adding, editing (html+js, 2026) Ledger (Go) web UI for viewing ledger transactions, reports, and porfolios (go+js, 2021..) Ledger Web ledger HTML reporting system (ruby+postgres, 2011) Ledger Web web UI/API for ledger viewing, data entry (python, 2019) ledger-analytics web UI for ledger data analytics (js, 2018) ledger-dashboard web UI for ledger viewing, data entry (python, 2015) ledgeraccounting web UI for hledger: data entry, basic reports and budgets (python+js, 2018) ledgible web UI for ledger viewing, data entry (python+js, 2016) muhasib-e-hledger web UI for hledger reports (rust, 2024) mymoney web UI for ledger viewing and some data entry (java, 2026) nextcloud-hledger hledger UI on the Nextcloud file-sharing/web-app platform (php, 2021) node-ledger-web web UI for ledger viewing (js, 2014) Paisa web UI or desktop app for ledger, hledger and beancount (go/js/ts, 2022.., demo) Ruby Ledger Rails mountable Rails engine with balance/reigster web UI for ruby_ledger journals (ruby, 2026) WealthPulse web UI for ledger viewing, price fetching (F#+js, 2013) UI, mobile Beanbook mobile app (Android, kotlin, 2026..) Beancount Mobile CE mobile app (Android/IOS, ts, 2020..) beancount-mobile data entry app (Android, ts, 2019) beanviz report viewing app (IOS, 2026) cashier mobile or desktop client for ledger and hledger-web (Android/Desktop, js, 2019) cone data entry app for the h/ledger format (Android, dart, 2019) ledgedroid full-featured hledger-like app with data entry & reports (Android, kotlin, 2026) MoLe mobile client for hledger-web (Android, java, 2020) NanoLedger data entry app for h/ledger (Android, kotlin, 2023..) receiptdroid offline receipt scanner, an addon for ledgedroid (Android, kotlin, 2026) hledger.org: Mobile apps Utilities beanhub-cli beancount command line tools come with features like formatter, beanhub-import and a beanhub-forms web app bean-sort naive sorting for Beancount files Workflows docker-finance hledger/hledger-flow/docker-based system for tracking, reporting, and metadata analysis of traditional and cryptocurrency finances Full-fledged hledger scripts and detailed tutorial for generating hledger journals from CSV files (haskell, shell) hledger-flow command-line tool to generate hledger (or Ledger) journals from CSV files (haskell) rtrledger another hledger journals from CSV files system, designed for chaotic German freelancers (shell etc.) Lazy Beancount Beancount packaged in Docker with additional plugins and tools Libraries beancount-parser-lima another Beancount parser in Rust using Logos and Chumsky beancount-parser a Beancount parser in Rust using nom beancount-parser standalone Lark-based beancount syntax parser (not relying on the beancount library) beancount-txn-elisp a library to read/parse and write/insert individual Beancount transactions, implemented in Emacs Lisp BeanHub API SaaS API for operating on hosted beancount repositories and beanhub-forms beanhub-forms a library provides data types and processors of custom beancount forms for inputting repeating similar entries easily beanhub-web-react react components for beancount entry input forms and beanhub-forms gledger Go package to interface with Ledger (go) hledger-lib library for parsing and generating reports from *ledger files (haskell) hledger-web the web app includes a JSON API server for *ledger files (haskell) ledgerhelpers extends Ledger's python library (python) ledgerkit command line reports / python library / DataFrame export for hledger files (python) magicbeans Beancount extensions for cryptocurrency tax tracking and reporting node-hledger Node.js API for *ledger files (js) pyhledger python scripts for parsing / converting to hledger format (python) ruby_ledger parser and library for h/ledger-format files, plus CLI (ruby) (c) 2016-2026 Simon Michael & contributors | Send updates via github, matrix, or IRC