This is a submission for the Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle
What I Built
The Problem: Freelancers Are Trapped Between Privacy and Productivity
If you are a freelancer, independent software consultant, or solo creative, managing your finances is a weekly headache. You juggle PDF client invoices, messy restaurant receipts, software subscription bills, and subcontractor invoices.
To make matters worse, freelancers face two huge obstacles:
- The NDA & Confidentiality Trap: Independent contractors frequently sign strict Non-Disclosure Agreements (NDAs) with enterprise clients. Uploading client invoices, hourly billing rates, proprietary deliverables, and bank account numbers to third-party closed cloud APIs (OpenAI, Anthropic) or multi-tenant cloud SaaS tools is a blatant compliance and contractual breach.
- The "Micro-SaaS Margin Bleed": Existing receipt scanners and bookkeeping tools (QuickBooks, Expensify, Dext) charge $30–$60 every month, limit the number of documents you can upload, and charge per-seat fees that drain your profits.
The Solution: VaultLedger AI
VaultLedger AI is an air-gapped financial operating system built specifically for freelancers and solopreneurs. It runs 100% locally on your laptop using open-weight AI (Llama 3.2 3B via Ollama).
With VaultLedger AI:
- Zero Cloud Leakage: Financial documents never leave your laptop. Not a single packet of client data is sent across the internet.
- Smart Document Parsing: Drop an invoice, receipt, or raw text snippet, and local Llama 3.2 extracts structured financial details (Vendor, Dates, Invoice #, Subtotal, Tax, Total, and granular itemized line items).
- IRS Schedule C Tax Write-Off Auditor: Automatically categorizes expenses (Software, Section 179 Hardware, 50% Business Meals, 1099 Subcontractors) and provides a legally grounded Tax Rationale explaining why each expense qualifies as a deduction.
- Client Invoicing & AI Payment Chaser: Tracks accounts receivable and drafts customized, polite, professional, or firm follow-up emails for past-due client balances with zero cloud token charges.
- Instant Tax Schedule Export: One-click export to IRS Schedule C-formatted CSV or backup JSON.
Who Would Pay For It?
- Freelance Software Engineers & Designers: Who sign enterprise NDAs and cannot upload billing records to the cloud.
- Solo Consultants & Agency Owners: Who want to avoid $400+/year in recurring SaaS fees and need audit-ready tax write-off classification.
- Digital Nomads & Remote Workers: Who need to organize receipts and send invoices mid-flight or off-grid without an internet connection.
Freelancers would gladly pay a $49–$79 one-time license (or $9/month self-hosted subscription) for unlimited, completely private, offline bookkeeping.
🎥 Demo
🛡️ VaultLedger AI — The 100% Local, Air-Gapped Freelance Financial & Invoice Intelligence OS
Built for the Hacktoberfest Open-Source AI Challenge (Week 2: Side Hustle)
Theme: Build something with open-weight models or open-source AI that someone would actually pay for.
⚡ What is VaultLedger AI?
VaultLedger AI is an air-gapped financial operating system designed specifically for independent freelancers, solopreneurs, and micro-consultancies. It runs entirely on local open-weight models (Llama 3.2 via Ollama) to ingest, categorize, audit, and extract structured financial records from messy invoices, receipts, and client bills—without a single byte of sensitive financial data ever leaving your laptop.
Unlike traditional SaaS accounting software (Dext, Expensify, QuickBooks) that costs $30–$60/month and uploads your confidential client invoices to public cloud servers, VaultLedger AI runs 100% offline, costs $0.00 in API fees, and guarantees zero data leakage.
💡 The Problem & Why Someone Would Pay For
…-
Local Application URL:
http://localhost:3000
VaultLedger AI features a dark glassmorphic interface with an emerald security aesthetic:
1. Real-Time Air-Gapped Dashboard & KPIs
Displays real-time connection status to local Ollama (llama3.2:latest), Gross Invoiced Revenue, Total Business Expenses, IRS Deductible Write-Offs, and Estimated Self-Employment Tax Savings (at 30%).
2. Audited Ledger & Instant CSV Export
Search and filter across all processed transactions. One-click export generates an RFC 4180-compliant IRS Schedule C CSV mapped directly to lines 11, 13, 18, and 24b.
💻 Code
📂 Full Source Code: https://github.com/624183-NITAP/VaultLedger-AI
The project is structured with a local Node.js Express backend mediating communication with Ollama, and a lightweight Vanilla HTML/CSS/JS frontend.
1. Local AI Payment Chaser Generator
// server.js - Contextual payment collection email drafter
app.post('/api/draft-email', async (req, res) => {
const { invoice, tone = 'gentle', daysOverdue = 14, model = 'llama3.2:latest' } = req.body;
const prompt = `You are an expert freelance business advocate. Write a polite, effective, professional payment follow-up email from a freelancer to a client for an overdue invoice.
Details:
- Client / Company Name: ${invoice.vendor_or_client}
- Invoice #: ${invoice.invoice_number}
- Amount Due: ${invoice.currency}${invoice.total}
- Days Overdue: ${daysOverdue} days
- Tone: ${tone} (Options: gentle reminder, professional follow-up, firm final notice)
Return ONLY valid JSON:
{
"subject": "Clear email subject line",
"email_body": "Complete email text formatted with salutation, body paragraphs, and professional sign-off"
}`;
const ollamaResponse = await callOllama('/api/generate', {
model: model,
prompt: prompt,
format: 'json',
stream: false,
options: { temperature: 0.3 }
}, 30000);
const result = JSON.parse(ollamaResponse.response);
res.json({ success: true, email: result });
});
🛠️ How I Built It
1. Open-Source AI Stack
-
Open-Weight Model: Llama 3.2 3B (
llama3.2:latest), Meta's state-of-the-art compact multilingual model. It runs comfortably on consumer hardware with 2GB RAM footprint (quantized to Q4_K_M GGUF format). -
Inference Harness: Ollama (v0.40.3) running locally via HTTP on
http://127.0.0.1:11434. Ollama provides high-throughput CPU/GPU acceleration, memory-mapped weights, and structured JSON output mode (format: 'json'). - Prompt Architecture: Strict JSON schema prompting with few-shot financial classification context and IRS Schedule C tax guidelines embedded into system instructions.
2. Web Stack & Design System
-
Core: Node.js and Express backend providing an air-gapped local mediator with persistent on-disk JSON storage (
data/ledger.json). - Styling: 100% Vanilla CSS3 using custom CSS design tokens, glassmorphism, responsive grid layouts, and typography powered by Google Fonts (Outfit and Plus Jakarta Sans).
- Zero Third-Party Telemetry: No Google Analytics, no tracking pixels, no external CDNs that could leak metadata.
🌍 Why Does Open Innovation Matter?
Why does open innovation matter for what I built? What did an open-source approach make possible that a closed API wouldn't?
1. True Privacy and NDA Compliance
When a freelancer works for an enterprise client or healthcare startup, they routinely sign agreements forbidding the upload of project details to public cloud AI services. Because VaultLedger AI uses an open-weight model running locally, not a single character leaves the computer. It gives freelancers the superpowers of AI without putting their contracts in jeopardy.
2. $0.00 Marginal Cost Per Document
Closed APIs charge per token. A busy freelancer or small agency auditing 200 invoices, receipts, and line items a month would burn through $30–$50/month in API tokens and SaaS subscription fees ($360–$600/year). With open-source Llama 3.2 running on the laptop, the marginal cost of running 1 or 10,000 extra extractions is literally $0.00.
3. Freedom From Vendor Lock-In
Closed APIs regularly deprecate model checkpoints, change pricing tiers, alter moderation filters, or suffer outages. With open-source AI, the model belongs to the developer and user forever. If you want to swap Llama 3.2 for Mistral, Gemma 2, or a domain-specialized tax fine-tune, you can change the model parameter in one second without rewriting a line of business logic.
4. True Offline Portability
Freelancers work on planes, in train cars, and at remote cabins without stable internet. Closed cloud APIs fail instantly the moment the Wi-Fi drops. Because VaultLedger AI runs locally, you can categorize a year's worth of business receipts at 35,000 feet with Wi-Fi disabled.
🤖 My Agent Session
This entire project was planned, designed, coded, and tested in collaboration with Antigravity (Google DeepMind's advanced agentic coding assistant).
What the Agent Accomplished:
-
Environment Discovery: Automatically detected existing local system capabilities (Node.js 24, Python 3.13, Ollama 0.40.3, and local
llama3.2:latestweights). - Architecture Design: Structured the air-gapped Express backend, Ollama JSON schema bridge, and deterministic fallback engine.
- Frontend Engineering: Crafted a high-end glassmorphic UI adhering to modern web design standards (dark slate/emerald palette, responsive KPI grid, tab navigation, accessible controls).
- End-to-End Browser Testing: Launched an autonomous browser subagent to interact with the running web application, test invoice extraction, test search filtering, test the AI Payment Chaser, verify IRS tax audit advice, and capture screenshots and WebP session recordings.
🏆 Prize Categories
- Main Track: Week 2 — Side Hustle (Build something with open-source AI that someone would actually pay for).
- Local AI & Edge Deployment: Demonstrating zero-cost, private, air-gapped local inference using Meta's Llama 3.2 open-weight model on consumer laptops.



Top comments (0)