A CLI ledger built in Rust. Audit-ready, tamper-proof, and designed for those who value data permanence.
$ codexi-cli search --last 2
+--------+------------+---------+----------+----------+------------+
| Id | Date | Type | Amount| Balance|Description |
+--------+------------+---------+----------+----------+------------+
| #GJ2YX | 2026-01-10 | Credit | 1500.00| 2500| Salary |
| #QFPY5 | 2026-01-12 | Debit | 42.00| 2458| Food |
+--------+------------+---------+----------+----------+------------+
Manage several accounts and switch the active one at any time with account use.
Anchor-based checks ensure your transaction history cannot be stealthily altered.
Close periods formally. Codexi moves data to .cld archives while keeping your balance.
One command to zip your entire financial history and move it to secure storage.
Don't just track numbers. Understand your behavior with a professional dashboard built directly into your terminal.
--net, preserving historical accuracy.
Unlike simple CSV trackers, Codexi relies on financial anchors to maintain a linear, auditable timeline.
git clone https://github.com/ethal/codexi-project.git
cd codexi-project
cargo build --release
| Command | Description | Example |
|---|---|---|
history init |
Initialize genesis balance and date. | codexi-cli history init 2026-01-01 150.00 |
credit |
Add funds with description. | codexi-cli credit 2026-01-10 1200.0 Salary |
debit |
Record an expense. | codexi-cli debit 2026-01-12 45.0 Grocery |
search |
Filter and view operations. | codexi-cli search --latest 10 |
report stats |
Generate the visual analytics dashboard. | codexi-cli report stats --from 2026-01-01 |
report statement |
Export an HTML statement, openable in your browser. | codexi report statement --from 2026-01-01 --open |
| Command | Description | Example |
|---|---|---|
account create |
Create a new account. | codexi-cli account create 2026-01-01 My Bank |
account use |
Switch the active account. | codexi-cli account use <id> |
account list |
List all accounts (* active, c closed). | codexi-cli account list |
account rename |
Rename an existing account. | codexi-cli account rename <id> New Name |
account close |
Close an account permanently. | codexi-cli account close <id> 2026-12-31 |
history close [date]
Archives operations and seals the history with a Carry Forward entry.
admin backup
Creates a full ZIP of your ledger and archives to your Documents.
data snapshot create
Instant point-in-time copy of your active ledger file.
data snapshot restore
Rollback to a previously saved .snp file safely.