Home / Use case / Open source

Open source

An open-source expense tracker you can read, fork, or self-host

Hisaab is MIT-licensed, hosted publicly, and small enough to read end to end in an afternoon. Here's what's in the repo and how to run your own copy.

Open in Telegram

Free tier · 20 messages and 2 questions per day

Most personal-finance apps are closed source. That's not a moral failing — it's just the default. But for a tool that touches your spending data, there's a real value in being able to read every line of code that runs.

Hisaab is open source under the MIT licence. The full repository lives at github.com/NoobAIDeveloper/hisaab. If you'd rather run your own bot against your own database, the README walks through it in about 20 minutes.

What's in the repository

Why self-host

Reasons people self-host Hisaab:

What you'll need to run it

The README has the full recipe; the rough version is:

  1. A Telegram bot token from @BotFather.
  2. A Postgres database (Neon free tier works; so does any local Postgres).
  3. An LLM API key (fal.ai, OpenRouter, Anthropic direct, etc.).
  4. A Vercel account (or any host that runs Python serverless functions).

Most users have it running in under an hour.

Contributing

PRs welcome on the GitHub repo. The codebase is intentionally small — the entire bot is a few thousand lines of Python — so it's a reasonable place to learn how a Telegram bot, a Postgres schema, and an LLM-backed query interface fit together.

Frequently asked

Why MIT and not AGPL?
MIT was the easier choice for a small project — no compliance burden on adopters, no "network use" obligations to think about. If the project ever became a commercial fork target, that calculus might change.
Do I have to self-host?
No — there's a free hosted bot at @hisaab_finance_bot. Self-hosting is for users who want full control or higher rate limits.
Will the hosted bot stay free?
The free tier (20 messages + 2 questions per day) is intended to stay free. A paid tier with higher limits is on the long-term roadmap, but isn't shipped today.
Can I rebrand the code for my own product?
Yes — that's what MIT allows. The standard MIT terms apply (preserve the licence file, don't claim warranty).

Try Hisaab — free, no install.

Open in Telegram