hledger/examples
Simon Michael a1de9148f2 ;examples:
2025-03-05 16:19:29 -10:00
..
budgeting
costs
csv ;examples:csv: pooltool-rewards.csv.rule cleanup 2025-01-30 21:12:34 -10:00
dungeons-and-dragons
i18n ;examples: 2025-03-05 16:19:29 -10:00
investing
invoicing
lots ;examples: 2025-03-05 16:19:29 -10:00
multi-year
reports
self-tracking
shared-finances
systemd
templates
.gitignore
1468.j
alias.journal
all.journal
ascii.journal
balance-multicol.journal
bcexample.hledger examples: bcexample: drop beancountish double quotes 2022-07-23 02:35:17 +01:00
bitcoin-split-coinbase.journal
borrowing.journal
business.journal
chinese.journal
Cody.journal
current.journal
demote-accts.aliases ;examples: 2025-03-05 16:19:29 -10:00
demote-accts.conf ;examples: 2025-03-05 16:19:29 -10:00
forecast.journal
hledger2beancount.conf
multicurrency.journal
onelinecsv.hs
personal.journal
README.md
reports1.hledger.sh ;examples: update report scripts ahead of planned change 2025-03-01 11:23:21 -10:00
reports2.hledger.sh ;examples: update report scripts ahead of planned change 2025-03-01 11:23:21 -10:00
sample2.journal ;examples: 2025-03-05 16:19:29 -10:00
sample.csv ;examples: test files for CSV encoding [#2319] 2025-02-15 14:48:30 -10:00
sample.csv.cp1252.rules ;examples: test files for CSV encoding [#2319] 2025-02-15 14:48:30 -10:00
sample.csv.iso88591.rules ;examples: test files for CSV encoding [#2319] 2025-02-15 14:48:30 -10:00
sample.csv.rules
sample.fr.cp1252.csv ;examples: test files for CSV encoding [#2319] 2025-02-15 14:48:30 -10:00
sample.fr.csv.py ;examples: test files for CSV encoding [#2319] 2025-02-15 14:48:30 -10:00
sample.fr.iso88591.csv ;examples: test files for CSV encoding [#2319] 2025-02-15 14:48:30 -10:00
sample.fr.utf8.csv ;examples: test files for CSV encoding [#2319] 2025-02-15 14:48:30 -10:00
sample.journal
sample.journal.csv
sample.timeclock
sample.timedot
status.journal
templates.journal
TXF-spec-v042.org
unicode.journal

Here in examples/ youll find a mixed bag of sample journals, time logs, CSV rules, scripts, etc. Like the Cookbook docs, these vary in age and quality; “examples” here does not mean “exemplary”. Some may be ready to use; some are to be studied and adapted; some are just for interest; some are outdated and best ignored.

The content here is not necessarily stable but here are some subcategories as of 2024-01:

  • budgeting - some budgeting-related journals
  • costs - some examples of cost notation
  • csv - a growing collection of rules and maybe helper scripts you can use and adapt for reading real world CSV/TSV/SSV files
  • dungeons-and-dragons - a nifty example of dungeon master accounting
  • i18n - examples of non-ascii data and account declarations in different languages
  • investing - a place to collect investing-related journal entries
  • invoicing - scripts and templates for generating invoices
  • multi-year - examples of working with multiple year files
  • reports - miscellaneous reporting scripts
  • self-tracking - a mini-tutorial on working with Marek Gibneys “Syntax for Self-Tracking” logging format
  • systemd - an example of systemd service configuration for hledger-web
  • templates - a start at gathering “clean starter file sets for various needs” (2021)