Bettertrack AI
An expense tracking and group settlement app with an embedded AI assistant. Track shared expenses (dinner, rent, trips), split bills intelligently, and settle up with friends. Unlike basic expense apps, it uses Gemini AI to understand spending context, suggest optimizations, and automate settle-up calculations.
Build StackNext.js, React, TypeScript, Node.js, Firebase, Gemini API, Stripe (payments)
Challenges
Accurately splitting expenses when multiple payment methods are involved (someone pays, others reimburse)
Making AI suggestions feel useful without being intrusive or wrong
Handling currency conversion and international group expenses
Tracking who owes whom in complex multi-person scenarios without circular debts
Solutions
Graph-based settle-up algorithm that minimizes transactions (A→B, B→C instead of individual transfers)
Gemini API called on-demand for suggestions (e.g., "Hey, looks like pizza was pricey—eat in tomorrow?")
Currency lookup + real-time exchange rates cached hourly
Debt simplification algorithm; UI shows settlement plan before confirming