Skip to content
BudgetSphere

BudgetSphere

All in one Finance Assistance

Created on 21st June 2025

•

BudgetSphere

BudgetSphere

All in one Finance Assistance

The problem BudgetSphere solves

  1. Untracked and Unplanned Spending
      Problem: Many users struggle to understand where their money goes each month.
      Solution: BudgetSphere’s Expense Tracker helps users log, categorize, and visualize expenses — making spending habits clear and actionable.

  2. Fragmented Financial Data
      Problem: Income, expenses, and investments are often scattered across bank accounts, emails, statements, and apps.
      Solution: BudgetSphere centralizes financial tracking in one clean interface — users can manually log or use AI-assisted extraction.

3. Manual Extraction from Emails & Statements
  Problem: Financial details in emails or messages (e.g., salary credits, rent payments) are hard to process and record manually.
  Solution: Gemini API integration allows users to paste such messages and get structured values auto-extracted into categories like income, rent, savings, etc.

4. Lack of Personalized Investment Advice
  Problem: Users don't know how to allocate their savings across FDs, mutual funds, gold, or other investments based on their risk appetite.
  Solution: The Smart Advisor module of BudgetSphere provides dynamic, AI-generated recommendations tailored to user savings and risk profile.

  1. Poor Visibility into Investment Portfolio
      Problem: People often forget how much they invested and what it’s worth now.
      Solution: BudgetSphere’s Portfolio Tracker lets users record investments, current values, and see how their assets are performing over time.

image

image

image

image

Challenges we ran into

  1. Data Storage & Persistence
    Challenge:
    Currently, data is stored in memory. When the server restarts, everything is lost.
    Impact:
    User data (expenses, investments, Gemini analysis) isn’t retained.
    Solution:
    Integration with PostgreSQL with proper schemas.

2.Gemini API Integration
Challenge:
a. Rate limiting (429 errors)
b. Latency for large prompts
c. Unexpected or inconsistent output structure
Impact:
Could disrupt UX or crash the app if not handled.

Solution:
Added robust error handling, retries, and response schema validation.
Validate the response format before using it.

3.Data Validation and Categorization
Challenge:
Users may input unstructured or incorrect data (typos, ambiguous terms).
Gemini may misclassify or skip fields.

Solution:
Added frontend validation (JavaScript)
Offers category suggestions, uses dropdowns for categories

  1. User Management (future)
    Challenge:
    when we implemented authentication we faced:
    Handling sessions securely
    Storing user data separately
    Preventing cross-user access

Solution:
Use Flask-Login; store user IDs with each record.

5.Gamified UI Performance
Challenge:
Card UI, animations, or drag-drop might lag on mobile or low-end devices.

Solution:
Optimization with CSS transitions (not JS-heavy)
Avoided unnecessary DOM updates

  1. Parsing Complexity in Gemini
    Challenge:
    Emails may have varied formats (bank statements, invoices, chats, etc.)
    Gemini may struggle with vague inputs or new formatting.

Solution:
Preprocess input to normalize formatting (e.g., remove headers/footers)

  1. Testing and Debugging
    Challenge:
    Gemini’s output is non-deterministic and difficult to test repeatedly.

Solution:
Log all input/output pairs for debugging
Used mock responses in test mode

8.Deployment and Hosting
Challenge:
Gemini API key security
CORS and CSRF issues
Server crashes due to unhandled input

Solution:
Use environment variables for API keys
Deployed via Render

Tracks Applied (1)

Best use of Gemini API

How Gemini API works in BudgetSphere: 1.Parses semi-structured email-like text 2.Classifies content into financial cate...Read More
Major League Hacking

Major League Hacking

Discussion

Builders also viewed

See more projects on Devfolio