This is a submission for the Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle
What I Built
Every tax season, freelancers, solo consultants, and creators face an expensive dilemma:
- Predatory SaaS Pricing: Incumbents like QuickBooks and Expensify charge $180 to $360 every year on recurring subscriptions just to track 15–20 monthly business expenses.
- Confidentiality & Privacy Breaches: Cloud platforms upload your private client invoices, bank slips, home addresses, and credit card numbers to remote cloud servers that mine transaction metadata.
- Flaky Internet Dependencies: Digital nomads and freelancers frequently work on trains, flights, coffee shops, and client job sites where cloud-only web apps fail.
I built LedgerVault AI — a 100% on-device, zero-cloud invoice and receipt intelligence workspace designed for freelancers and independent contractors.
It executes optical character recognition (OCR), smart financial entity extraction, and IRS Schedule C tax write-off classification directly in the user’s browser and local machine.
- 0 Bytes Cloud Egress: Zero sensitive client financial data leaves the user's laptop.
-
$0.00 Inference Cost: Runs locally using WebAssembly (
tesseract.js) and a local Ollama bridge (llama3.2,qwen2.5,mistral,smollm2). - Pay Once, Own Forever ($29): A high-margin micro-SaaS business model tailored for freelancers suffering from subscription fatigue.
Demo
- 🌐 Live Deployed App: https://ledgervault-2otx.onrender.com
- ⚡ Instant Test Suite: Includes 5 pre-configured synthetic business receipts (Cloud hosting, Client dining, Hardware Section 179 depreciation, Office space, and 1099 Subcontractors) so judges can test on-device OCR and tax categorization in 1 click without uploading personal receipts.
Code
🛡️ LedgerVault AI — Private, Zero-Cloud Invoice & Receipt Sorter for Freelancers
Hacktoberfest Week 3 Challenge: Side Hustle
Build something with open-source AI at its core that someone would actually pay for.
💡 What We Built & Why It Wins
Freelancers, independent contractors, and solo creators face a frustrating dilemma during tax season:
- Traditional SaaS is predatory: QuickBooks and Expensify charge $180 to $360 every single year on recurring subscriptions just to scan 15–20 receipts a month.
- Confidentiality & privacy risks: Cloud tools transmit private client contracts, corporate credit card numbers, home addresses, and bank accounts to third-party cloud servers that mine transaction metadata.
- Flaky internet friction: Freelancers and digital nomads work on flights, trains, coffee shops, and client job sites where cloud-only apps freeze.
LedgerVault AI solves this with open-source AI at its core. It is a 100% on-device, local-first receipt and invoice intelligence workspace for freelancers. It runs…
Repository: https://github.com/Master66999/LedgerVault
Architecture Highlights:
- Frontend: Modern Semantic HTML5, Vanilla CSS3 with high-contrast Dark Financial UI, Glassmorphism, and responsive CSS Grid.
-
Vision & OCR: In-browser Web Worker WASM pipeline (
tesseract.js) with bounding box extraction and interactive canvas inspection. -
Local Intelligence Bridge: Real-time Ollama REST client (
http://localhost:11434) for open-weight structured extraction (llama3.2,qwen2.5) with zero API keys required. - Storage & Analytics: IndexedDB persistent offline storage, HTML5 Retina Canvas charts (Schedule C Expense Donut & Monthly Write-Off Velocity), and 1-click accountant CSV/JSON/Print export.
How I Built It
LedgerVault AI is built around a hybrid open-source AI architecture that guarantees speed, accuracy, and total data sovereignty:
-
Client-Side WASM Vision Engine (
tesseract.js):- Processes uploaded receipt images and PDFs directly inside a background Web Worker without blocking the main UI thread.
- Extracts raw text tokens and coordinates for interactive visual verification.
-
Local Ollama Inference Engine:
- Directly interfaces with locally running open-weight models (
llama3.2:latest,qwen2.5:latest, orsmollm2) viahttp://localhost:11434. - Enforces a deterministic JSON extraction schema to accurately parse merchant, transaction date, subtotal, tax/VAT, payment method, and individual line items.
- Directly interfaces with locally running open-weight models (
-
IRS Schedule C Tax Classification Engine:
- Automatically maps extracted expenses into legal IRS tax buckets:
- Software & SaaS Subscriptions (100% Deductible — Line 18)
- Hardware & Tech Equipment (Section 179 First-Year Depreciation — Line 13)
- Client Meals & Dining (50% IRS Deductible — Line 24b)
- Office & Co-Working Spaces (100% Deductible — Line 20b)
- 1099 Freelance Subcontractor Labor (100% Deductible — Line 11)
- Computes instant tax savings based on federal self-employment tax rates.
- Automatically maps extracted expenses into legal IRS tax buckets:
-
Offline Deterministic Fallback:
- Includes a high-performance regex-based NLP parser that functions instantaneously on low-power devices even when Ollama is not active.
Why Does Open Innovation Matter?
| Metric / Dimension | LedgerVault AI (Open-Source Core) | Closed Cloud SaaS (QuickBooks / Expensify) |
|---|---|---|
| Data Privacy & Compliance | 0 Bytes Egress. Financial data stays on your machine. | Transmits bank slips and receipts to corporate servers. |
| Inference Cost to Host | $0.00 / month. Client CPU/GPU & WASM. | High monthly OpenAI / Claude API tokens. |
| User Pricing | $29 Lifetime License (Pay once, own forever). | $180 – $360 per year indefinitely. |
| Offline Resilience | 100% Offline. Works on flights, cafes, and trains. | Fails completely without continuous internet. |
| Model Freedom | Swap between Tesseract, Llama 3.2, Qwen, Mistral. | Locked into proprietary closed vendor models. |
What open innovation made possible:
With closed APIs (like OpenAI or Claude API), processing high-resolution receipt images burns $0.01 – $0.04 per scan. To turn a profit, a SaaS creator is forced to charge recurring monthly subscriptions to cover API bills.
By leveraging open-source on-device AI (WASM + Ollama), inference overhead drops to $0.00. This makes a $29 lifetime license economically viable with ~96% gross margins, creating a win-win for both solo software developers and privacy-conscious users.
My Agent Session
I used Google DeepMind's agentic AI coding environment to scaffold the core architecture, build the responsive glassmorphic UI, implement the WebAssembly OCR worker pipeline, and wire up the Ollama local inference bridge.
My First User
"I'm an independent motion designer and videographer. I had a shoebox of hard drive receipts, camera rental slips, and Adobe subscription invoices. I refused to pay $30/month for QuickBooks just to track a few expenses a month, and I hated the idea of uploading my client invoices to cloud servers. I paid $29 for LedgerVault, opened it on my laptop, and categorized all 120 receipts for the year in under 10 minutes without uploading a single byte to the web."
— Marco T., Independent Motion Designer & Freelancer
Unit Economics:
- Hosting Cost: $0.00/month (Render / Cloudflare Pages static edge)
- Inference Overhead: $0.00/month
- Price Point: $29 one-time lifetime license
- Gross Margins: ~96% (after payment gateway processing fees)
- Break-Even Point: Exactly 1 customer!
Prize Categories
- Side Hustle Champion (Most Viable & Sustainable Micro-SaaS Business Model)
- Best Local / On-Device AI Application (Tesseract WASM + Local Ollama Bridge)
- Best Open-Source AI Developer Experience
Top comments (1)
nice