# ledger/ledger

Double-entry accounting system with a command-line reporting interface

Repository: https://github.com/ledger/ledger
Canonical: https://ross.abutalabs.com/products/ledger
Homepage: https://www.ledger-cli.org
Language: C++
License: NOASSERTION
License Family: other
Topics: ledger, plaintext-accounting, accounting, command-line-tool
Last push: 2026-08-26T22:22:11+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 54, longevity 100
- inputs: {"age_days": 6687, "days_push": 7, "days_rel": 311, "gap_med": 3, "n_releases_24m": 2}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6019, forks 547 (observed 2026-08-28T04:09:34.307956+00:00)

## What it is
Ledger is a powerful double-entry accounting system accessed from the UNIX command-line, written in C++. It reads plain-text journal files and generates balance, register, and custom reports with no stored database state.

## Use cases
- track personal finances in plain text files
- generate balance and register reports from the command line
- manage multi-currency accounting entries
- reconcile accounts and verify double-entry balances
- produce monthly or average spending reports
- track capital gains on stocks and investments

## When to choose
- you prefer plaintext accounting with version-controllable data files
- you want powerful command-line reporting over a GUI
- you need multi-currency support and strict double-entry validation
- you want a mature tool with no hidden database state

## When to avoid
- you need a graphical interface or mobile app
- you want bank feed integration or automatic transaction import out of the box
- you prefer web-based or collaborative accounting
- you are not comfortable with command-line tools and text file formats

## Facets
- artifact type: cli-tool
- maturity: stable
- function: cli, developer-tools
- domain: fintech, developer-tools
- platform: windows, bsd, cli, cross-platform
- tags: plaintext-accounting, double-entry, accounting, personal-finance, reporting, command-line, linux, macos

## Member repositories
- ledger/ledger (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:34.307956+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:49:44.866653+00:00, confidence not recorded.
  - readme: https://github.com/ledger/ledger (fetched 2026-08-28T04:09:34.307956+00:00, sha 7d2aad687115)
  - homepage: https://www.ledger-cli.org (fetched 2026-08-29T08:45:39.571113+00:00, sha 1e326c338672)
  - site_page: https://ledger-cli.org/features.html (fetched 2026-08-29T08:45:39.580624+00:00, sha 7c9ac43d7bae)
  - site_page: https://ledger-cli.org/docs.html (fetched 2026-08-29T08:45:39.582881+00:00, sha 254382b41299)
- Data as of 2026-08-30T08:39:29.467469+00:00.
