Skip to content

Kavinesh11/Ledgerly

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LEDGERLY β€” Smart Receipt & Expense Management

Gemini_Generated_Image_55nbn955nbn955nb

A Flutter-based smart expense management app that turns physical receipts into structured financial data, enables seamless family expense sharing, and delivers AI-powered spending insights β€” all in one place.


✨ Overview

Ledgerly helps individuals and families manage receipts, track expenses, and split bills without manual effort. Using vision-based receipt scanning, automated calls, email workflows, and analytics, the app converts scattered financial records into clear, actionable insights.

Whether it’s day-to-day spending or shared family expenses, Raseed keeps everything organized, transparent, and easy to act on.

WhatsApp Image 2025-12-20 at 2 06 45 PM


Demo Pics


🧱 Tech Stack

ML Cbe_Hackathon (1)
  • Flutter – Cross-platform mobile development
  • Firebase – Authentication & Firestore database
  • Provider – State management
  • Home Widget – Native Android/iOS widgets
  • FL Chart – Interactive analytics & charts
  • Image Picker – Camera & gallery access
  • Geolocator – Location-based receipt tagging

πŸ”„ System Data Flow

ML Cbe_Hackathon

Receipt Processing

Camera / Gallery
↓
Vision API (10.95.243.157:5001)
↓
Receipt Data Extraction
↓
Firebase Firestore
↓
UI Update (Provider)

Expense Pass Workflow

User Creates Pass
↓
Family Provider
↓
Email Service
↓
Group Members
↓
Call Service (10.95.243.157:3004)
↓
Automated Voice Calls
↓
Accept / Reject via Email or App

Home Widget Interaction

Android Home Widget
↓
MainActivity
↓
Flutter Method Channel
↓
Widget Service
↓
Camera / Gallery / Assist Screen

πŸš€ Key Features

πŸ“Έ Smart Receipt Scanning

  • Capture receipts via camera or gallery
  • AI-based vision extraction (merchant, amount, date, items)
  • Automatic GPS location tagging
  • Secure cloud storage using Firebase

πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ Family Hub & Expense Sharing

  • Create and manage family or team groups
  • Split expenses automatically using Expense Passes
  • Automated voice calls via REST API
  • Email notifications with Accept / Reject actions
  • Real-time tracking of member responses

πŸ“Š Analytics & Insights

  • Spending trends over time
  • Category-wise expense breakdown
  • Budget velocity tracking (daily / weekly / monthly)
  • Period-to-period comparison
  • ML-driven insights and anomaly detection

πŸ€– AI Assistant

  • Natural language spending queries
  • Context-aware responses based on user data
  • Smart budget optimization suggestions
  • Demo-ready mock responses for sample users

πŸ“± Android Home Widget

  • One-tap access to Camera, Gallery, and Assist
  • View recent bills instantly
  • Track active / pending expenses
  • Smooth Flutter ↔ Android integration

🎨 UI & Experience

  • Clean dark mode interface
  • Material 3 design system
  • Responsive layouts
  • Smooth animations and transitions

⚑ Getting Started

Prerequisites

  • Flutter SDK >=3.4.4 <4.0.0
  • Dart SDK
  • Android Studio / Xcode
  • Firebase project
  • Vision API running at 10.95.243.157:5001
  • Call API running at 10.95.243.157:3004

Installation Steps

  1. Clone the repository

  2. Install dependencies

  3. Configure Firebase

    • Update firebase_service.dart
    • Add google-services.json to android/app
    • Add GoogleService-Info.plist to ios/Runner
  4. Set up backend services

    • Vision API β†’ http://10.95.243.157:5001
    • Call API β†’ http://10.95.243.157:3004
    • Update endpoints in vision_receipt_service.dart if required
  5. Configure email service

    • Update SMTP credentials in smtp_email_service.dart
    • Or switch to webhook_email_service.dart
  6. Run the app

flutter run

πŸ§ͺ Usage Guide

Scanning a Receipt

  • Tap the + button on the Receipts screen
  • Choose Camera or Gallery
  • Capture or select an image
  • Receipt data is extracted automatically
  • Receipt appears with complete details
Receipt(
  merchantName: "Cafe Coffee Day",
  amount: 250.0,
  date: DateTime.now(),
  category: "Food & Dining",
  items: ["Cappuccino", "Sandwich"],
)

πŸ—‚οΈ Project Structure

lib/
β”œβ”€β”€ main.dart
β”œβ”€β”€ models/
β”‚   β”œβ”€β”€ receipt.dart
β”‚   β”œβ”€β”€ family_group.dart
β”‚   β”œβ”€β”€ expense_pass.dart
β”‚   └── chart_data.dart
β”œβ”€β”€ screens/
β”‚   β”œβ”€β”€ dashboard_screen.dart
β”‚   β”œβ”€β”€ receipts_screen.dart
β”‚   β”œβ”€β”€ family_hub_screen.dart
β”‚   β”œβ”€β”€ assist_screen.dart
β”‚   └── expense_analytics_screen.dart
β”œβ”€β”€ providers/
β”‚   β”œβ”€β”€ app_provider.dart
β”‚   β”œβ”€β”€ auth_provider.dart
β”‚   └── family_provider.dart
β”œβ”€β”€ services/
β”‚   β”œβ”€β”€ firebase_service.dart
β”‚   β”œβ”€β”€ vision_receipt_service.dart
β”‚   β”œβ”€β”€ call_service.dart
β”‚   β”œβ”€β”€ email_service.dart
β”‚   └── widget_service.dart
β”œβ”€β”€ widgets/
β”‚   β”œβ”€β”€ spending_chart.dart
β”‚   β”œβ”€β”€ progress_bar.dart
β”‚   └── expense_pass_popup.dart
└── utils/
    β”œβ”€β”€ constants.dart
    └── helpers.dart

android/
β”œβ”€β”€ MainActivity.kt
β”œβ”€β”€ FloatingWidgetService.kt
└── RaseedWidgetProvider.kt

βœ… Conclusion

Ledgerly demonstrates how everyday financial workflows like receipt tracking, expense sharing, and spending analysis can be significantly simplified using a thoughtful mix of mobile engineering, backend services, and AI-driven automation.

By combining vision-based receipt extraction, real-time family expense coordination, analytics, and an AI assistant, the project moves beyond basic expense tracking and toward an intelligent financial companion. The architecture is modular, scalable, and designed to support future extensions such as autonomous AI agents, deeper financial insights, and broader platform integrations.


About

Flutter expense tracking app with AI features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Dart 86.2%
  • C++ 5.1%
  • CMake 4.0%
  • Kotlin 3.6%
  • Swift 0.5%
  • C 0.3%
  • Other 0.3%