vas3k/TaxHacker
Self-hosted Next.js app for AI receipt and invoice extraction into transaction records
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
TaxHacker is a TypeScript web app whose Next.js frontend and API take receipt photos and invoice PDFs through an unsorted queue into manual entry or model-assisted extraction. Ghostscript and GraphicsMagick support PDF processing. Prisma manages PostgreSQL records and migrations; in the supplied Compose setup, uploaded documents are stored separately under /app/data/uploads on a bind mount.
The model layer uses LangChain, with dependencies for OpenAI, Google Gemini, and Mistral. Self-hosted deployments can also point the app at an OpenAI-compatible API. That endpoint and the editable system and field prompts are the main customization points: changing what the app extracts can be a configuration change rather than a code change. Better Auth handles authentication, and Compose runs the app and a separate cron service from the same image.
Key Capabilities & Differentiators
The app extracts merchants, dates, totals, taxes, and line items, then categorizes transactions. Individual invoice lines can become separate transactions. Custom fields add transaction columns with their own extraction prompts, while projects and categories provide grouping and can carry prompts of their own. Full-text search, filters, and bulk operations support review after extraction.
Currency detection and historical conversion use the transaction date and cover 170+ fiat currencies and 14 cryptocurrencies, with manual entry available when needed. Users can export a filtered set of transactions to CSV with associated documents or download a complete archive. These outputs are useful for handing records to an accountant, but they do not establish that the app can produce jurisdiction-specific filings.
Trade-offs & Limitations
Compared with a spreadsheet, TaxHacker reduces manual transcription and keeps source documents linked to searchable transaction records, at the cost of running a web app, database, and document-processing stack. Compared with a full bookkeeping suite, its strongest fit is document intake and expense tracking. Do not adopt it as the only accounting system if bank reconciliation, a general ledger, or statutory filing is a hard requirement.
Hosted models avoid running inference hardware but may incur usage charges and send financial document data outside your infrastructure. A local endpoint gives you control over that data path but shifts model capacity planning and OCR validation to your team. Test on your own receipts and verify totals, taxes, classifications, and currency conversions before using the results for reporting. The project is still in early development; test upgrades on a copy of your data. The MIT license permits commercial use, but does not settle provider terms or financial-data obligations.
Hardware & Deployment Guide
The supplied Docker Compose setup uses ghcr.io/vas3k/taxhacker, maps port 7331, and bundles PostgreSQL; PostgreSQL 17+ is recommended. Migrations run at startup. Back up both the database and ./data, which is mounted at /app/data and holds uploaded files. If BETTER_AUTH_SECRET is unset, self-hosted Docker generates and persists one at ./data/.better_auth_secret; keep it with the backups because it also protects stored email credentials. Self-hosted mode enables auto-login, so do not treat the default deployment as an authenticated public service.
For source development, package.json requires Node.js >=26; provide PostgreSQL, Ghostscript, and GraphicsMagick, then generate the Prisma client, apply development migrations, and run npm run dev. A local model endpoint can keep inference off hosted APIs, but do not assume the entire workflow is offline without checking how historical rates are obtained. The v0.8.2 release notes include a LangChain v1 upgrade and transaction filter fixes; v0.8.5 points to a comparison changelog. Pin a release tag rather than latest for a repeatable rollout.
Freelancers and small teams that need to turn receipt photos and invoice PDFs into reviewable, multi-currency transaction records with custom fields.
You need a complete accounting system for reconciliation or statutory reporting, or cannot allocate time to review model output and maintain the deployment.
Quick Start & Installation
curl -O https://raw.githubusercontent.com/vas3k/TaxHacker/main/docker-compose.yml docker compose up
Comparison vs. Top Voice, Vision & Video Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| TaxHacker ★ | 6.9k | +11 | TypeScript | MIT | Self-hosted Next.js app for AI receipt and invoice extraction into transaction r |
| OpenMontage | 85.5k | +1.6k | Python | AGPL-3.0 | Agent-led video production from brief to finished edit |
| hyperframes | 95.7k | +4.1k | TypeScript | Apache-2.0 | HTML timelines for editable video projects and frame-by-frame rendering |
| openmotion | 18.6k | +1.6k | TypeScript | Apache-2.0 | An HTML-first video studio for turning references into editable branded motion g |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/vas3k/TaxHacker.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about TaxHacker
How do I connect a local model?
Do I need a GPU, and what should I size for?
Can a business self-host or modify TaxHacker?
When is this a better fit than a spreadsheet or bookkeeping suite?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy