Getting Started
Prerequisites
- Bun v1.0+
- A GitHub account with access to GitHub Models (free with a Copilot subscription)
Installation
bash
git clone https://github.com/lfarci/flouz.git
cd flouz
bun install
bun link # registers `flouz` as a global commandAfter bun link, configure your GitHub token so AI features work:
bash
flouz config set github-token ghp_your_personal_access_tokenGet a token at github.com/settings/tokens:
- Fine-grained PAT — enable the Models: Read permission (under "Account permissions")
- Classic PAT — no scopes required
Verify the installation
bash
flouz --helpYour first import
1. Create an account
bash
flouz accounts add checking "Main account" Belfius --iban "BE00 0000 0000 0000"2. Prepare a CSV file
Create a file transactions.csv with the expected format:
csv
date,amount,counterparty,counterparty_iban,currency,account,note
2026-01-15,-42.50,ACME Shop,BE00 0000 0000 0000,EUR,checking,Invoice 42
2026-01-16,1200.00,Employer,,EUR,,January salary3. Import transactions
bash
flouz transactions import transactions.csv4. View your transactions
bash
flouz transactions list5. AI categorization
bash
# Generate suggestions
flouz transactions categorize --limit 20
# Review suggestions interactively
flouz transactions suggestions review
# Apply approved suggestions
flouz transactions suggestions apply6. Set a budget
bash
flouz budget total set 3500
flouz budget set necessities 50%
flouz budget set discretionary 30%
flouz budget set savings 20%
flouz budget checkUpdating
bash
cd flouz
git pull
bun install # sync dependencies if changedNo need to re-run bun link after updates.
What's next?
- Command Reference — full list of commands and options
- Configuration — database path, AI model, environment variables
- AI Providers — switch between GitHub Models, Anthropic, or Ollama