Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

papayaah/ledgee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ledgee

Built-in AI invoice extraction for small businesses. Perfect for mom-and-pop shops! Extract invoice data instantly using Chrome's built-in AI, generate reports, and sync to Google Sheets.

Demo

Ledgee Demo

Screenshots

Dashboard

Dashboard

Add Invoice

Add Invoice

Google Sheets Integration

Google Sheets

Features

  • Built-in Chrome AI - Uses Chrome's native LanguageModel API with Gemini Nano
  • Offline-First - Works completely offline after initial load
  • Local Database - Stores all data locally using IndexedDB
  • Analytics & Reports - Generate insights and export to Google Sheets
  • Responsive Design - Works seamlessly on desktop and mobile
  • Privacy-Focused - All processing happens locally in your browser
  • Automatic Extraction - Automatically extracts merchant, items, totals, dates

Tech Stack

  • Next.js 14 - React framework with App Router
  • TypeScript - Type-safe development
  • Tailwind CSS - Utility-first styling
  • Chrome LanguageModel API - Built-in Gemini Nano model
  • Dexie - IndexedDB wrapper for client-side database
  • Google Sheets API - Export and sync functionality

Usage

  1. Setup Chrome:

    • Enable these flags in Chrome:
      • chrome://flags/#prompt-api-for-gemini-nano
      • chrome://flags/#optimization-guide-on-device-model
      • chrome://flags/#enable-experimental-web-platform-features
    • Set all to "Enabled" and restart Chrome
    • Visit chrome://components/ and update "Optimization Guide On Device Model"
  2. Install & Run:

    git clone https://github.com/papayaah/ledgee
    cd ledgee
    npm install
    npm run dev
  3. Extract Invoices:

    • Drag and drop invoice images
    • Review extracted data
    • Generate reports and sync to Google Sheets

Browser Compatibility

  • Chrome (with LanguageModel flags enabled)
  • Other browsers not supported yet

Support


Built with love by Stro Studio - Small apps, big heart.