Shiplog

Backend

Telegram Expense Bot

February 5, 2026

A Nami-themed Telegram bot for logging expenses without opening a spreadsheet just message it. It parses amount, category, and date from natural language, then answers questions like current balance, monthly summaries, top spending category, and month-over-month comparisons.

Transactions and user profiles are stored in Postgres (Supabase), with a Docker-based publish workflow in GitHub Actions.

Why: Opening a spreadsheet every time to log an expense was too much friction this made tracking as simple, easy, and low-effort as sending a message.

Stack: TypeScript, Bun, Postgres (Supabase), Telegram Bot API, Docker