Intermediate AI Accounting Assistant Free & Open Source Trending in Self-Hosted
What is TaxHacker?
Developed by Vasily Zubarev (vas3k), TaxHacker is a self-hosted AI accounting application built specifically for freelancers, indie hackers, and small businesses. Instead of manually typing expense data into spreadsheets or relying on expensive, privacy-invasive cloud accounting software, TaxHacker uses Large Language Models (LLMs) to automate the entire data extraction process.
You simply upload photos of your receipts, PDF invoices, or bank statements, and the built-in AI will accurately read the documents, extract crucial accounting data (like line items, merchant names, tax amounts, and dates), and organize it into a structured database. Because it is fully self-hosted via Docker, your sensitive financial data remains completely private on your own server.
Who is it for?
- Freelancers & Indie Developers: Solo workers who want to automate their bookkeeping and save time during tax season without paying high monthly subscriptions.
- Privacy Advocates: Business owners who refuse to upload their sensitive financial documents and client invoices to third-party cloud SaaS providers.
- Digital Nomads: Expats and travelers who deal with multiple currencies and need an accounting tool that can automatically convert historical exchange rates on the fly.
- Data Tinkerers: Users who want the flexibility to create custom database fields and write their own AI prompts to extract highly specific data points from their documents.
What makes it special?
- Local LLM Support: You are not locked into OpenAI or Google. You can route the AI extraction through a completely local model via Ollama or LM Studio, ensuring zero data leakage.
- Historical Currency Conversion: Automatically detects the currency on a foreign invoice and converts it to your base currency using the exact exchange rate from the date of the transaction—even for 14 different cryptocurrencies.
- Flexible Schema: Unlike strict accounting apps, TaxHacker acts like an AI-powered Excel sheet. You can create unlimited custom fields and tell the AI exactly how to populate them via custom prompts.
- Line-Item Splitting: Automatically separates multi-item receipts so you can easily distinguish between tax-deductible business expenses and personal purchases on the same bill.
Requirements before you start
- Operating System: Any OS that supports Docker (Linux, macOS, or Windows with WSL2).
- Hardware: Minimum 2GB RAM. If you plan to run local AI models (like Ollama) for document parsing, 16GB+ RAM and a dedicated GPU are highly recommended.
- Software: Git, Docker, and Docker Compose installed on your host machine.
- API Keys: An OpenAI, Mistral, or Google Gemini API key (unless you are exclusively using local LLMs).
Step-by-step installation
Step 1 — Clone the Repository
Begin by downloading the official TaxHacker source code to your machine or server.
git clone https://github.com/vas3k/TaxHacker.git
cd TaxHacker
Step 2 — Configure Environment Variables
TaxHacker uses an environment file to securely store your database passwords and API keys. Copy the provided example template and open it in your preferred text editor.
cp .env.example .env
nano .env
Inside the .env file, set your secure passwords and paste in your preferred AI provider’s API key (e.g., OPENAI_API_KEY=sk-...). If you are using Ollama, point the API URL to your local instance.
Step 3 — Launch the Docker Containers
With your environment variables set, deploy the full stack (which includes the Next.js frontend and PostgreSQL database) using Docker Compose.
docker-compose up -d
Step 4 — Access Your Accounting Dashboard
Give the database a moment to initialize, then open your web browser and navigate to the TaxHacker web interface.
http://localhost:3000
From here, you can start uploading your PDFs and images to test the AI data extraction pipeline!
Common errors and fixes
| Error | Meaning | Fix |
|---|---|---|
| Port 3000 or 5432 is already in use | Another service on your computer is occupying the ports TaxHacker uses for its web interface or database. | Open docker-compose.yml and change the host port bindings (e.g., change "3000:3000" to "8080:3000"). |
| Poor OCR/Extraction Results | The AI is struggling to accurately read messy, crumpled, or handwritten receipts. | Small local models often struggle with complex vision tasks. Switch your backend to a high-tier multimodal model like GPT-4o or Gemini 1.5 Pro for significantly better accuracy. |
| Database Connection Refused | The Next.js container tried to start before the PostgreSQL database was fully initialized. | Simply restart the application container by running docker-compose restart app to re-establish the connection. |
Free vs Paid comparison
| Feature | TaxHacker (Self-Hosted) | Commercial SaaS (e.g., QuickBooks, Dext) |
|---|---|---|
| Monthly Software Cost | 100% Free (You only pay API token costs) | $20 – $50+ per month |
| Data Sovereignty | Absolute Privacy (Hosted on your own hardware) | Financial data is owned and stored by the provider |
| Customizability | High (Create unlimited fields and AI prompts) | Low (Restricted to predefined software features) |
| Bank Integrations | Manual CSV Import Only | Direct automated bank feed syncing |
Bottom line: TaxHacker solves one of the most frustrating aspects of freelance bookkeeping: manual data entry. By allowing you to securely host your own AI document parser, it acts as an intelligent, automated assistant that structures your financial life without compromising your privacy to a cloud conglomerate.
Alternatives — 3 similar tools
- Actual Budget A super robust, privacy-focused open-source personal finance app based on the envelope budgeting method. It’s excellent for managing cash flow but lacks the automated AI receipt-scanning features of TaxHacker.
🔗 actualbudget.org - Invoice Ninja A leading open-source platform tailored primarily for invoicing, quoting, and basic expense tracking. While highly professional and feature-rich for client-facing billing, it requires manual input for expenses.
🔗 invoiceninja.org - Firefly III A popular, self-hosted personal finance manager. Firefly III is incredibly detailed and strictly rule-based, perfect for those who want granular control over every penny, though it has a much steeper learning curve than TaxHacker’s AI-assisted approach.
🔗 firefly-iii.org
🚀 Want more free AI tools like this?
We find, test, and write setup guides for the best free and open-source AI tools — so you don’t have to dig through GitHub yourself.Browse Free AI Tools at globalaiforce.com/shop →
📸 Follow us for daily AI tool tips and tutorials: instagram.com/globalaiforce