currentz

module
v0.0.0-...-3f95ff2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2026 License: MIT

README ยถ

Currentz

Currentz is a modern personal finance app. Its primary focus is cash flow: helping you see not just where your money went, but where itโ€™s going.


โœจ Features (MVP)

  • โœ… Interactive CLI menu to manage finances
  • โž• Add income & expenses
  • ๐Ÿ“‹ View and delete transactions
  • ๐Ÿ’ฐ Update your starting balance
  • ๐Ÿ”ฎ Generate a 90-day cash flow forecast with ASCII chart + summary

๐Ÿš€ Quickstart

  1. Prerequisites

    • Go 1.21+
    • PostgreSQL 13+ (running locally)
    brew services start postgresql
    
    
  2. Clone:

git clone https://github.com/jdelles/currentz.git
cd currentz
  1. Local Setup
make dev-setup # Edit .env if you need to override defaults.
  1. Run the application:
make run

Using the CLI

When you run the app you'll see:

๐Ÿ’ต Personal Finance Cash Flow Forecaster

Options:

  1. Add Income
  2. Add Expense
  3. View Transactions
  4. Delete Transaction
  5. Manage Recurring Transactions
  6. Generate Forecast
  7. Update Starting Balance
  8. Exit

View Transactions:

๐Ÿ“‹ Transactions (Past 30 days โ†’ Next 30 days)

[5] ๐Ÿ’ธ Aug 31, 2025 | $ 175.00 | amazon cc
[R] ๐Ÿ’ธ Sep 06, 2025 | $ 121.00 | bday gift
[R] ๐Ÿ’ฐ Sep 12, 2025 | $ 2525.00 | payday

Generate Forecast:

๐Ÿ“Š 90-Day Cash Flow Forecast

Balance Range: $350.00 to $500.00

Jan 02 โ”‚โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ.......................โ”‚ $ 500.00
Jan 09 โ”‚โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ..........................โ”‚ $ 350.00

๐Ÿ›  Tech Stack

Go for application logic
PostgreSQL for persistence
sqlc to generate type-safe queries
goose for migrations

Project Structure

currentz/
โ”œโ”€โ”€ cmd/
โ”‚   โ””โ”€โ”€ currentz/
โ”‚       โ””โ”€โ”€ main.go
โ”œโ”€โ”€ internal/
โ”‚   โ”œโ”€โ”€ app/          # CLI / TUI layer (menus, prompts, output)
โ”‚   โ”œโ”€โ”€ config/       # config loading (expects DB_URL)
โ”‚   โ”œโ”€โ”€ database/     # sqlc-generated code (models & queries)
โ”‚   โ””โ”€โ”€ service/      # business logic (forecasting, helpers)
โ””โ”€โ”€ sql/
    โ”œโ”€โ”€ migrations/   # goose migrations
    โ””โ”€โ”€ queries/      # sqlc query files

๐Ÿ›ค Roadmap

  • Transaction import (CSV/OFX)
  • Recurring events & bills & PAYCHECKS ๐Ÿ’ฐ
  • More forecasts & charts
  • An actual UI for richer experience...

Directories ยถ

Path Synopsis
cmd
currentz command
mcp command
server command
internal
api
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL