Skip to content
/ lumi Public

A collection of double-entry accounting tools in Rust, compatible with Beancount.

License

Notifications You must be signed in to change notification settings

Lencerf/lumi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lumi

GHA Build Status GitHub code size in bytes MIT licensed Crates.io

lumi is a collection of double-entry accounting tools:

  • lumi, a library for processing text-based ledger files, including a LL(1) parser (compatible with beancount syntax) and a transaction checker.
  • lumi-cli, a command line tool for parsing the leger file, presenting account balances, and serving a web UI, based on tokio and axum.
  • lumi-web, a front-end UI for presenting account balances and transaction history, based on Yew.

Build & Installation

The source code of lumi can be obtained from https://github.com/Lencerf/lumi. To build lumi from source,

# build
git clone https://github.com/Lencerf/lumi && cd lumi
cargo build --bin lumi --release

lumi binary is available at target/release/lumi.

Or install it through cargo,

cargo +nightly -Z bindeps install --git https://github.com/Lencerf/lumi lumi-cli

Usage

lumi -i /path/to/leger $COMMAND

COMMAND can be

  • balances: show balances of all accounts,
  • files: show the list of source files,
  • serve: start an HTTP server at 127.0.0.1:8001 and present a Web UI with account balances and the transaction history.

Check lumi --help for more details.

About

A collection of double-entry accounting tools in Rust, compatible with Beancount.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •