DEV Community

Arush Singh
Arush Singh

Posted on

Building a Privacy-First Expense Sorter with Open-Source AI for Freelancers

Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle Submission 💸

What I Built
LedgerShield is a local-first receipt and invoice categoriser built for freelancers, consultants, and micro-business owners who need automated bookkeeping without handing sensitive financial records over to third-party cloud platforms.

Users drag and drop mixed receipts—scanned PDFs, smartphone photos, and digital bills—into a clean interface. LedgerShield extracts key metadata (vendor name, date, total amount, taxes, and category) and exports them into structured CSV or JSON formats.

Interface: Fast drag-and-drop web dashboard.
Inference Core: Open-weight vision model processing receipts entirely on the local device.

Architecture: Python backend with a lightweight SQLite database for local persistence.
Why Open Innovation Matters for This Build
Handling invoices, tax slips, and client agreements introduces strict privacy and cost constraints where proprietary cloud APIs fall short:

Strict Data Privacy: Open-weight models run locally on the user's laptop, ensuring sensitive financial documents, client names, and tax identifiers never leave their hardware or get used to train closed corporate systems.

Predictable Unit Economics: Closed APIs charge per image and token, which erodes margins for low-ticket side hustles. Open-weight inference runs at zero incremental API cost, making it viable as a lightweight subscription or one-time license.

Offline Reliability & Sovereignty: Freelancers frequently travel or work on spotty internet. Because the model runs locally, processing works without an active connection, immune to sudden API rate limits or deprecations.

The Side Hustle Angle: First User Validation
To validate demand, I shared an early build with a freelance designer who routinely wastes hours sorting expenses at the end of every tax cycle:

The Test: They processed 18 mixed receipts—including paper fuel slips and digital software subscriptions.
Results: The extraction parsed line totals and vendor details in under three minutes, eliminating manual spreadsheet entry.
User Feedback: The user stated they would gladly pay a one-time utility fee or modest monthly rate for automated weekly CSV exports. Their primary feature request for the next release was automated multi-currency conversion.
Tech Stack
Model: Open-weight vision-language model running via local inference

Backend: Python, SQLite
Deployment & Hosting: Render (hosting the public landing page and documentation service)

Top comments (1)

Collapse
 
arushsingh4334 profile image
Arush Singh •

Good