{"slug": "receipt-sorter-pro-my-hacktoberfest-ai-side-hustle-built-with-gemma-2b", "title": "Receipt Sorter Pro: My Hacktoberfest AI Side Hustle Built with Gemma 2B", "summary": "A developer built Receipt & Invoice Sorter Pro, a privacy-first local micro-SaaS utility that parses multi-vendor PDF, CSV, and JSON invoices into structured, itemized tables with automatic tax categorization. The tool runs entirely offline on a local Gemma 2B instance via Ollama, with a FastAPI backend that uses regex chunking and mathematical guardrails to compensate for small-model limits, and a Next.js, TypeScript, and Tailwind CSS frontend. It targets freelancers and small businesses seeking bookkeeping without sending financial data to cloud servers.", "body_md": "# \n  \n  \n  Receipt & Invoice Sorter Pro: Local AI Bookkeeping for Freelancers\n\n*This is a submission for the [Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle](https://dev.to/challenges/hacktoberfest-week2-2026-10-12).*\n\n**(Targeting Prize Categories: Best Use of Gemma)**\n\n## \n  \n  \n  What I Built\n\n**Receipt & Invoice Sorter Pro** is a privacy-first, 100% local micro-SaaS utility designed for freelancers and small businesses. It parses multi-vendor PDF, CSV, and JSON invoices into structured, itemized tables with automatic tax categorization—all running completely offline on a local Gemma 2B instance.\n\n## \n  \n  \n  Who Would Pay For It & Why\n\nFreelancers and small business owners spend hours manually sorting receipts for quarterly tax filing or client expense billing. Existing cloud solutions pose significant data security and compliance risks by uploading sensitive financial telemetry, bank statements, and client information to cloud servers.\n\nReceipt & Invoice Sorter Pro operates as a paid local utility tool. Freelancers and small businesses get an instant bookkeeping assistant with zero risk of client data leaking to third-party servers.\n\n## \n  \n  \n  How I Built It\n\n- \n**Local AI Inference Engine:** Powered by**Gemma 2B** running locally via**Ollama** , ensuring zero cloud latency and complete offline capability.\n- \n**Deterministic Python Backend:** Built with**FastAPI** . To overcome small-model limits like attention bleed across dense documents, the backend uses regex chunking to isolate individual invoices, sanitizes broken OCR line breaks, and enforces strict mathematical guardrails on line-item math.\n- \n**Frontend Dashboard:** Built using**Next.js, TypeScript, and Tailwind CSS** , featuring document staging, raw text parsing, and nested itemized breakdown cards.\n\n## \n  \n  \n  Why Does Open Innovation Matter?\n\n1. \n**Zero Marginal Cost:** SaaS accounting tools charge per invoice processed. Running open-weight models locally allows freelancers to process thousands of heavy invoices with zero per-token API charges.\n2. \n**Absolute Privacy Guarantee:** Financial and tax data never touches a remote server, offering complete privacy compliance by design.\n\n## \n  \n  \n  Code Highlight: Deterministic Chunker & Math Guardrails\n\nHere is how the Python backend isolates multi-invoice documents and corrects column shifts:", "url": "https://wpnews.pro/news/receipt-sorter-pro-my-hacktoberfest-ai-side-hustle-built-with-gemma-2b", "canonical_source": "https://dev.to/arjav_patni_1963ed32c00d2/receipt-sorter-pro-my-hacktoberfest-ai-side-hustle-built-with-gemma-2b-39hh", "published_at": "2026-10-15 07:44:34+00:00", "updated_at": "2026-10-15 07:46:15.899956+00:00", "lang": "en", "topics": ["ai-products", "ai-tools", "large-language-models", "generative-ai", "ai-startups"], "entities": ["Gemma 2B", "Ollama", "FastAPI", "Next.js", "TypeScript", "Tailwind CSS", "Hacktoberfest"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/receipt-sorter-pro-my-hacktoberfest-ai-side-hustle-built-with-gemma-2b", "markdown": "https://wpnews.pro/news/receipt-sorter-pro-my-hacktoberfest-ai-side-hustle-built-with-gemma-2b.md", "text": "https://wpnews.pro/news/receipt-sorter-pro-my-hacktoberfest-ai-side-hustle-built-with-gemma-2b.txt", "jsonld": "https://wpnews.pro/news/receipt-sorter-pro-my-hacktoberfest-ai-side-hustle-built-with-gemma-2b.jsonld"}}