Skip to content

haruki7049/kakei

Repository files navigation

kakei

A kakeibo (household financial ledger) CLI application with powerful Lisp-based table transformations.

License: MIT

📚 Documentation

Full documentation is available at: https://haruki7049.github.io/kakei/

Overview

kakei is a command-line application for managing personal finances using the Japanese kakeibo (家計簿) method. It provides transaction tracking, categorization, and powerful Lisp-based table transformations for flexible analysis and reporting.

Key Features

  • 📊 Transaction Management - Add, list, and manage financial transactions
  • 🏷️ Category & Account Organization - Organize by customizable categories and accounts
  • 🔄 Lisp-Based Transformations - Transform and analyze data using a Lisp dialect
  • 📋 Beautiful Tables - Formatted output using the tabled crate
  • 💾 SQLite Database - Persistent storage with automatic migrations
  • ⚙️ Configurable - Customize categories and accounts via TOML config

Quick Installation

Using Cargo

cargo install --path .

Using Nix

nix profile install github:haruki7049/kakei

From Source

git clone https://github.com/haruki7049/kakei.git
cd kakei
cargo build --release

📖 For detailed installation instructions, see the Installation Guide.

Quick Start

# Initialize database
kakei init

# Add transactions
kakei add --date 2025-01-01 --amount -1000 --category Food --account Cash
kakei add --date 2025-01-15 --amount 50000 --category Salary --account Bank

# List transactions
kakei list

# Transform with Lisp
kakei transform --program "(group-by table (lambda (pair) (cdr (assoc 'category (cdr pair)))))"

📖 For a detailed walkthrough, see the Quick Start Guide.

Documentation

All detailed documentation has been moved to the kakei Documentation Book:

Building the Documentation

The documentation is built with mdBook:

# Install mdBook
cargo install mdbook

# Build and serve locally
cd docs/book
mdbook serve

# Open http://localhost:3000 in your browser

License

MIT License - see LICENSE file for details.

Contributing

Contributions are welcome! See the Contributing Guide for details.

Author

haruki7049 tontonkirikiri@gmail.com

Repository

https://github.com/haruki7049/kakei

About

A kakeibo cli application.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Contributors 3

  •  
  •  
  •