Student Expense Radar: Offline CLI Expense Tracker
Built an offline Python CLI that tracks student expenses, persists data across sessions, shows category insights, and warns when budget is crossed.
AAmit kumar0
Internet needed
100%
Offline usage
3+
Sample expenses
Overview
College students often make many small daily payments through UPI, canteen bills, mobile recharges, travel, and books, but they rarely track where the money goes. Most expense apps need internet, accounts, or a full mobile app, which is too heavy for a quick student use case. I built a simple Python command-line tracker that works offline, opens instantly, includes 3 sample expenses for reviewers, and helps students see total spending, highest-spend category, and budget warnings. Process I started by breaking the brief into must-have actions: add expense, view expenses, calculate total spend, identify the highest-spend category, and support a monthly budget warning. I kept the interface menu-based so beginners can use it without remembering commands. The first version stored expenses only in a list, but I realized that every new terminal session would lose the student’s history. I then improved it by saving expenses and budget data to a local JSON file using only the Python standard library. I also added a delete option because students may enter the wrong amount or category. Finally, I tested the app through multiple terminal runs, refreshed the sample output, and added a README plus screenshot for submission. Results The final project is a working offline Python CLI with 8 menu options, 3 preloaded sample expenses, local JSON persistence, category-wise spending insight, total spend calculation, delete support, and monthly budget warnings. It uses only the Python standard library, needs no database, no internet, and no setup beyond running the .py file. In testing, an expense added in one session appeared correctly in a later session, and deleting it updated the saved data. Reflection With more time, I would add monthly filtering so students can compare spending month by month instead of seeing only the full history. I would also add CSV export for sharing or analyzing expenses in Excel, and maybe a simple search/filter by category. Another improvement would be recurring expenses for recharges or subscriptions. I kept the current version focused on reliability and hackathon constraints, but the next version could become a fuller student money dashboard.