Bookkeeping for normal people.
An open-source bookkeeping application with a beautifully simple and lightning-fast local workflow. Escape from financial surveillance and subscription fees with exactly the features and reports you need to run your business. Nigel comes with an easy-to-use dashboard and a fully scriptable CLI.
↓ scroll ↓

See the big picture.

default (nigel)
Nigel dashboard screenshot
Nigel's Dashboard

A reliable bloke who does his job well.

Nigel is a terminal-based bookkeeping tool built for freelancers and small consultancies. Import your bank statements, auto-categorize transactions with simple rules, review flagged transactions, and instantly generate the reports you actually need — P&L, expenses, tax summaries, cash flow.

No cloud. No subscription. No 47-step setup wizard. Just a single password-protected database file, your transactions, and a bloke named Nigel who gets things done.

Everything you need. Nothing you don't.

📥

Bank imports

CSV and XLSX with format auto-detection. Drop your statement in, Nigel figures out the rest.

🏷️

Rules engine

Pattern-based auto-categorization. Contains, starts_with, regex — with priority ordering. Teach Nigel once, he remembers.

🔍

Interactive review

Step through flagged transactions one by one. Assign categories, create rules on the fly. No surprises at tax time.

📊

Reports

P&L, expense breakdown, tax summary (Schedule C / 1120-S), cash flow, and cash balance. Export to PDF.

🔌

Modular design

Importers, reports, and exports are all modular. Built-in support for multiple banks, report types, and output formats.

🗄️

Local-first

Single SQLite file. No server, no account, no cloud sync. Your books stay on your machine.

🔐

Encryption & 2FA

SQLCipher database encryption with optional TOTP two-factor authentication. Your financial data is locked down tight.

🐍

Snake

Everyone needs a break from charts from time to time.

Nigel in action.

default (nigel)
nigel import bofa-march-2025.csv --account "BofA Checking"
Detected format: Bank of America Checking (CSV)
Parsing transactions...
✓ 47 transactions imported
├── 38 auto-categorized via rules
├── 6 flagged for review
└── 3 duplicates skipped
Run nigel review to categorize flagged transactions.
nigel review
── Transaction 1 of 6 ──────────────────────────
Date: 2025-03-14
Desc: TRANSFERWISE LTD
Amount: -$2,400.00
Account: BofA Checking
? Category: Contract Labor
↑↓ browse ⏎ select r create rule s skip q quit
nigel report pnl --month 2025-03
══════════════════════════════════════════════════
PROFIT & LOSS — March 2025
══════════════════════════════════════════════════
INCOME
Consulting Revenue $28,500.00
Hosting Revenue $1,200.00
──────────────
Total Income $29,700.00
EXPENSES
Contract Labor ($4,800.00)
Software & Subscriptions ($847.00)
Server & Infrastructure ($312.00)
Office Supplies ($156.23)
──────────────
Total Expenses ($6,115.23)
══════════════
NET PROFIT $23,584.77
nigel rules list
── Categorization Rules ──────────────────────────
# Pattern Type Category
── ──────────────────── ────────── ──────────────────────
1 ADOBE contains Software & Subscriptions
2 GITHUB contains Software & Subscriptions
3 HETZNER contains Server & Infrastructure
4 TRANSFERWISE contains Contract Labor
5 GUSTO.*PAYROLL regex Payroll
6 CHECK DEPOSIT starts_with Income
6 rules · 94% auto-categorization rate
nigel rules add "CLOUDFLARE" --category "Server & Infrastructure"
✓ Rule added: CLOUDFLARE → Server & Infrastructure

Three commands. That's the whole workflow.

1

Import your bank statements

Download a CSV from your bank. Nigel auto-detects the format and imports your transactions.

nigel import statement.csv --account "BofA Checking"
2

Review the flagged ones

Most transactions get categorized automatically by your rules. Walk through anything Nigel isn't sure about.

nigel review
3

Run your reports

P&L, expenses, tax prep, cash flow. Export to PDF when your accountant asks for them.

nigel report pnl --year 2025

Batteries included.

Nigel ships with importers, reports, and export formats ready to go. Plus a generic CSV importer for any bank.

importer
Bank of America
Checking, credit card, and line of credit CSV formats
importer
Gusto Payroll
XLSX payroll imports with auto-categorization
importer
Generic CSV
Custom column mappings for any bank. Save as reusable profiles.
report
K-1 Prep
K-1 prep worksheet for 1120-S / Schedule K
export
PDF Export
Print-ready PDF export for any report

Automation-ready by design.

Nigel contains no AI features, but every command is fully scriptable via CLI, which means it plays beautifully with AI agents and automation tools.

The repo includes Claude Code skills for adding new importers and intelligently creating categorization rules from your statements. With a tool like Claude Cowork, point it at a CSV and say:

cowork
"Import my latest statements into Nigel and generate my monthly P&L"
"Create a list of categorization rules for new accounts in this statement."
"Generate a Schedule K-1 prep report for 2025"

Get Nigel.

No dependencies, download a native binary for your platform:

Or clone and build from source: github.com/madebyraygun/nigel-keeps-your-books