No description
  • Go 99.4%
  • Makefile 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-02-17 10:38:52 +08:00
.github/workflows Create workflow for goreleaser (#55) 2024-08-04 08:01:58 +08:00
assets [v3] Add basic support for config + add screenshots & gif to readme (#71) 2025-09-13 13:42:12 +08:00
data Added a tab for assets table (#5) 2023-08-02 11:27:30 +08:00
ui [v3] Add basic support for config + add screenshots & gif to readme (#71) 2025-09-13 13:42:12 +08:00
.gitignore remove .DS_Store 2025-04-16 14:45:11 +08:00
.goreleaser.yaml ci: add prerelease=auto in goreleaser config 2025-05-17 15:39:21 +08:00
config.debug.json update readme and update gif 2024-08-27 12:19:57 +08:00
config.json Use CSV for balance reports + add graphs (#59) 2024-08-18 12:51:54 +08:00
config_v3.json [v3] Add basic support for config + add screenshots & gif to readme (#71) 2025-09-13 13:42:12 +08:00
CONTRIBUTING.md Rename file 2024-06-23 13:48:54 +08:00
demo.tape move gif into assets/ dir 2024-08-27 12:21:35 +08:00
demo_v3.tape [v3] Add basic support for config + add screenshots & gif to readme (#71) 2025-09-13 13:42:12 +08:00
go.mod fix: imports 2025-05-12 12:55:42 +08:00
go.sum fix: imports 2025-05-12 12:55:42 +08:00
LICENSE Create LICENSE (#28) (closes #26) 2024-06-19 13:25:18 +08:00
main.go [v3] Add basic support for config + add screenshots & gif to readme (#71) 2025-09-13 13:42:12 +08:00
Makefile [v3] Add basic support for config + add screenshots & gif to readme (#71) 2025-09-13 13:42:12 +08:00
README.md Update readme about v3 2026-02-17 10:38:52 +08:00

Puffin

Terminal dashboard to manage personal finances. Built with hledger and bubbletea.

Latest Release Build Status

Table of Contents

📢 V3 announcement

2026-02-17 Update: The work on v3 is paused due to personal reasons. v3 is stable but does not have all the features from v2. It looks better than v2 in my opinion! Contributions are welcome.

A new version of Puffin is under development. This version completely revamps the UI and gives you a far better overview of your finances. Some features have been implemented, while others are still being built.

To try V3, you can update to the latest version and run

./puffin -v3

Please note, v3 uses a simple config file with only the journalFile field. So if you are using a config file with v2 then it won't be used with v3. However, you can modify the journal file to be used with v3.

Demo

demo

Screenshots

Home

home

Reports

reports

V3 roadmap

  • Accounts table
  • Balance table
  • Register table
  • Income statement
  • Balance sheet
  • Balance table with periodic columns
  • Config file support
  • Custom reports

💫 Features

All hledger reports are viewable using Puffin. Some of them are natively supported, others are displayed in a simple scrollable view.

📈 View reports

Puffin supports the following reports natively:

  • assets
  • expenses
  • revenue
  • liabilities
  • register
  • accounts
  • commodities

The following reports are also easily viewable:

  • income statement
  • balance sheet

🔎 Filter reports

The data can be filtered by:

  • account name
  • start/end date
  • displayed periodically - weekly, monthly, quaterly, yearly
  • change account depth

🤖 Installation

Homebrew

brew install siddhantac/puffin/puffin

Download binaries

If you just want to use it, you can download the binary from here.

Install from source

Pre-requisites

  • hledger is required for puffin to work.
  • make
  • Go compiler (>=1.17)

Build

  • Clone this repo
  • Run the command make build. This creates the binary puffin.

Run demo

  • Clone this repo
  • Run make debug

Run with your own journal file

  • Use make start

or

  • Run using make build && ./puffin

It uses your hledger setup as it is. So there is no need to setup journal files if you are already using hledger.

Configuration

Puffin can use a config file written in json. It is not required though. Without a config file Puffin will use sane defaults.

The default config:

"reports": [
    {
        "name": "register",
        "cmd": "hledger register"
    },
    {
        "name": "expenses",
        "cmd": "hledger balance type:x"
    },
    {
        "name": "assets",
        "cmd": "hledger balance type:a"
    },
    {
        "name": "revenue",
        "cmd": "hledger balance type:r"
    },
    {
        "name": "liabilities",
        "cmd": "hledger balance type:l"
    },
    {
        "name": "income statement",
        "cmd": "hledger incomestatement"
    },
    {
        "name": "balance sheet",
        "cmd": "hledger balancesheet"
    },
    {
        "name": "accounts",
        "cmd": "hledger accounts --tree",
        "locked": true,
    }
]
  • name represents the name of the report, as displayed in the left sidebar
  • cmd is the hledger command to be run
  • locked: if true, filters will not be applied to the report

Note about locked reports A report is considered "locked" if the locked field is set to true. A locked report remains unaffected by the filters. This means that they cannot be filtered by date, period, account name etc.

Locked reports are useful for 2 purposes

  1. Reports where filters don't make sense, such as a list of accounts or commodities
  2. Reports that you want to remain static. Such as a report with more a complex hledger command or other custom modifications.

See config.debug.json for more ideas.

Keys

Show this help with ?

keybindings