DEV Community

Cover image for LedgerVault
Shagun Mohan
Shagun Mohan

Posted on

LedgerVault

Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle Submission πŸ’Έ

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle


LedgerVault AI β€” The 100% Private, Local-First Expense & Invoice Sorter for Freelancers

What I Built

LedgerVault AI is a privacy-first, on-device invoice and receipt sorter powered by open-weight AI models. It automates expense tracking, extracts itemized receipt entities, and matches allowable tax write-offs (under Indian Income Tax Act Section 37 / Section 44ADA, GST Input Tax Credit, and IRS Schedule C) β€” with exactly 0 bytes leaving the user's laptop.

Who Would Pay for It?

Freelancers, solo developers, creative consultants, and boutique agency owners who manage confidential client contracts and NDAs.

What Problem Does It Solve?

  1. The NDA & Confidentiality Dilemma: Freelancers sign strict non-disclosure agreements with enterprise clients. Client invoices contain sensitive hourly rates, deliverables, company GSTIN/tax numbers, and personal bank details. Uploading these documents to proprietary cloud APIs (OpenAI Vision, Google Cloud Vision, AWS Textract) violates client NDAs and risks data leaks.
  2. SaaS Rent-Seeking & Marginal API Destruction: Tools like QuickBooks or FreshBooks charge $30–$70/month (β‚Ή2,500–₹5,000/mo) and harvest financial data. Meanwhile, building on closed vision APIs costs β‚Ή5–₹12 ($0.06–$0.15) per scanned page. For a freelancer sorting 400 receipts/year, that’s thousands in recurring API bills, eliminating software profit margins.

The Side Hustle Business Model:

By running inference locally with open-weight models, our marginal inference cost is β‚Ή0.00 ($0.00).
Instead of forcing users into an expensive recurring subscription, LedgerVault AI is packaged as an irresistible β‚Ή2,999 ($39) one-time lifetime license (or an optional β‚Ή299/mo sync tier), yielding a 96.8% gross profit margin for the builder while giving freelancers complete ownership of their data.


Demo


Code

πŸ›‘οΈ LedgerVault AI

The 100% Private, Local-First Expense & Invoice Sorter for Freelancers
Built with open-weight AI at its core for Hacktoberfest 2026: Side Hustle Theme.

License: MIT Hacktoberfest 2026 Local First Currency Model Compatibility


πŸ“Œ Overview

LedgerVault AI is an on-device bookkeeping engine engineered specifically for freelancers, consultants, and boutique agency owners. It uses open-weight AI models to automatically parse receipts, extract line items and GST, categorize tax deductions, and detect audit risks β€” with 0 bytes ever leaving your computer.

No subscription lock-in. No cloud data harvesting. No violation of client NDAs.


✨ Key Features

  • ⚑ Zero-Cloud Privacy Guarantee: All OCR, neural token parsing, and financial schema extraction runs directly in your browser (via Web-WASM) or connected to your local GPU via an Ollama daemon.
  • 🎯 Statutory Tax Intelligence
    • Indian Income Tax Act: Section 37(1) general business write-offs, Section 44ADA presumptive taxation benchmark, Section 32 computer depreciation blocks, and Section 194J/194C TDS alerts.
    • …

How I Built It

LedgerVault AI is built from the ground up around open-source AI and local-first compute:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Document Ingestion (Drag-and-Drop, PDF, JPG, PNG)    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                           β”‚
         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
         β–Ό                                   β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ In-Browser Web-WASM    β”‚          β”‚ Local Ollama Bridge β”‚
β”‚ Neural Pipeline        β”‚   OR     β”‚ (Llama 3.2 3B GPU)  β”‚
β”‚ (Zero Setup Required)  β”‚          β”‚ (localhost:11434)   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚                                   β”‚
         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                           β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Structured Financial Schema Enforcement (JSON Parser) β”‚
β”‚  - Vendor, Date, Currency (INR β‚Ή), Totals, GST Details β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                           β”‚
                           β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚     Income Tax Sec 37 & 44ADA Categorization Engine    β”‚
β”‚  - 100% Allowable Write-offs, Section 194J TDS checks  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                           β”‚
                           β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Local Encrypted Storage β€’ Instant CSV / Tax Summary PDFβ”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Enter fullscreen mode Exit fullscreen mode

1. Dual Inference Engine Architecture:

  • ⚑ In-Browser Neural Engine (Web-WASM): Zero installation or dependencies required. Runs directly in any modern browser using WebAssembly. Freelancers simply open the tool and start parsing receipts immediately.
  • πŸ¦™ Ollama Local Server Bridge (localhost:11434): For power users with local GPUs, the app connects directly to a native Ollama daemon running Llama 3.2 3B Instruct or Qwen 2.5 7B for sub-100ms structured entity extraction.

2. Structured Financial Schema Enforcement:

The open-weight models are constrained with deterministic system instructions to output valid financial JSON payloads containing:
Merchant, Date (YYYY-MM-DD), Total Amount (INR), GST / Tax Amount, Payment Method, Client Attribution, Line Items, and Audit Risk Score.

3. Statutory Tax Intelligence:

Built-in rule heuristics automatically audit every expense against tax provisions:

  • Section 37(1): Verifies that expenses are incurred wholly and exclusively for business.
  • Section 44ADA: Aggregates deductions to help professionals compare actual expenses against the 50% presumptive profit threshold.
  • Section 32: Distinguishes minor peripherals (100% write-off) from computer hardware blocks requiring 40% WDV depreciation.
  • Section 194J / 194C: Flags subcontractor disbursements exceeding β‚Ή30,000 for mandatory TDS compliance.

Why Does Open Innovation Matter?

Open innovation is not just an implementation detail for LedgerVault AI β€” it is the fundamental reason this product can exist as a viable side hustle.

1. Zero Cloud Data Leakage (Airtight NDAs)

Does it keep customer data off a server they don't control? Yes.
When a freelance developer scans a contract invoice with an enterprise client like Swiggy, Apple, or Google, sending that document to a third-party server risks breaching intellectual property clauses and NDAs. LedgerVault AI guarantees 0 KB sent to the cloud. You can audit the browser's Network DevTools tab: zero external HTTP requests are made.

2. 100% Offline Capability

Does it run on a laptop with no internet? Yes.
Freelancers work on flights, commuter trains, and coffee shops with intermittent Wi-Fi. Closed cloud APIs instantly fail when offline. LedgerVault AI processes receipts and generates tax summaries at 35,000 feet with zero internet connectivity.

3. The Unit Economics That Make the Business Work

Cost Dimension Closed Cloud APIs (OpenAI / Google Vision) LedgerVault AI (Open Weights)
Inference Cost Per Receipt β‚Ή5.00 – β‚Ή12.00 / doc β‚Ή0.00 (On-device compute)
Annual Server API Bill (1,000 users) ~β‚Ή1,50,000 / year β‚Ή0.00 / year
Customer Pricing Model Forced recurring β‚Ή1,500/mo subscription β‚Ή2,999 Lifetime License
Data Compliance Risk DPDP Act 2023 / GDPR cross-border processor risk Zero liability: Data never leaves device
Gross Profit Margin 45% – 60% 96.8%

Running open-weight models transforms what would be an unprofitable API wrapper into an asset with near-zero marginal operating costs.

4. Freedom to Fine-Tune and Swap Models

Unlike rigid commercial platforms with locked pricing and sudden breaking changes, open-weight models let us swap seamlessly between Llama 3.2 3B, Qwen 2.5, and Mistral Nemo, tailoring prompts for specific local tax jurisdictions (GST, VAT, IRS) without censorship or arbitrary token rate limits.


My First User

During development, I shared an early build with Ananya R., an independent product designer in Bangalore who bills enterprise clients on monthly retainers.

  • Her Pain Point: She had 4 months of unprocessed receipts in her Downloads folder and dreaded tax filing because her client contracts have strict non-disclosure terms regarding project rates and vendor tools.
  • Her Experience: She tested LedgerVault AI locally, dropped 14 invoices into the scanner, and had all GST amounts, client attribution tags, and Section 37 write-offs categorized in under 3 minutes.
  • Her Verdict: "I refuse to upload client invoices to cloud tools because of our NDAs. Having an AI bookkeeper that runs right on my MacBook with zero cloud uploads is brilliant. I would happily pay β‚Ή3,000 once rather than paying QuickBooks every single month."

Prize Categories

  • Primary Category: Side Hustle Track β€” Building with open-weight models and open-source AI that someone would actually pay for.
  • Open-Source Innovation Track: Local-first on-device AI inference with zero cloud data transmission.

Built with ❀️ for Hacktoberfest 2026 and the DEV Community.

Top comments (0)