Skip to content

ratoru/hledger-build

Repository files navigation

hledger-build

A fast, incremental build system for hledger personal finance workflows. It converts raw bank CSV exports into hledger journal files and generates standard financial reports automatically. I designed it to be an easy entry point for plain-text accounting newcomers.

If you're new to the world of personal finance tracking, there is quite a bit to learn before hledger-build will make sense to you. Fortunately, the world of plain-text accounting is full of generous people who have written detailed guides on how to get started. I did my best to consolidate the information here in one place for you.

I suggest reading my guides in the following order:

  1. Why track your finances?
  2. Learn accounting principles
  3. Automate your accounting
  4. How to use hledger-build
  5. Then continue with my guides for more specific how-tos, like fetching commodity prices or AI integration.

If you'd like to dive in deeper, I recommend checking out Further Reading below.

Features

  • Fast, automatic builds
  • Additional personal financial metrics
  • Visual categorization flow
  • Opinionated starter layout

Installation

Download a pre-built binary from the releases page, or install with Go:

go install github.com/ratoru/hledger-build/cmd/hledger-build@latest

This requires Go 1.26+ and places the binary in ~/go/bin/. Make sure that directory is in your PATH.

Quick Start

First, install the latest version of hledger. fzf is also recommended but not required.

Then, run

# Scaffold a new project
hledger-build init
# Run the full pipeline
hledger-build
# Start categorizing transactions
hledger-build categorize

After updating hledger-build, run hledger-build --force to regenerate all files.

Dev Setup

Please install

Further Reading

Credit

This project would not be possible without the following projects. I created hledger-build to make PTA accessible to my friends, and I did not want to write Haskell.

About

Automated plain-text accounting workflow using hledger

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages