@nuannuan_share: 有人开发了一款自托管AI应用,可自动处理所有收据和发票。 上传照片,它会提取产品、税费、日期,自动转换货币,并保持财务数据100%隐私。 100%开源。 链接:

X AI KOLs Timeline 产品

摘要

TaxHacker是一款自托管AI会计应用,可自动从收据和发票中提取数据,支持多币种转换,并确保数据隐私。

有人开发了一款自托管AI应用,可自动处理所有收据和发票。 上传照片,它会提取产品、税费、日期,自动转换货币,并保持财务数据100%隐私。 100%开源。 链接:https://t.co/8BKZlKYX6c
查看原文
查看缓存全文

缓存时间: 2026/05/15 00:44

有人开发了一款自托管AI应用,可自动处理所有收据和发票。

上传照片,它会提取产品、税费、日期,自动转换货币,并保持财务数据100%隐私。

100%开源。 链接:https://t.co/8BKZlKYX6c


vas3k/TaxHacker

Source: https://github.com/vas3k/TaxHacker


TaxHacker: Self-Hosted AI Accounting

GitHub Stars License Support Us

☝️ I’m currently looking for a job! Particularly interested in companies in Berlin or remote positions in Germany. Here’s my CV and Linkedin profile. Thank you 🙏

TaxHacker is a self-hosted accounting app designed for freelancers, indie-hackers, and small businesses who want to save time and automate expense and income tracking using the power of modern AI.

Upload photos of receipts, invoices, or PDFs, and TaxHacker will automatically recognize and extract all the important data you need for accounting: product names, amounts, items, dates, merchants, taxes, and save it into a structured Excel-like database. You can even create custom fields with your own AI prompts to extract any specific information you need.

The app features automatic currency conversion (including crypto!) based on historical exchange rates from the transaction date. With built-in filtering, multi-project support, import/export capabilities, and custom categories, TaxHacker simplifies reporting and makes tax filing a bit easier.

🎥 Watch demo video

Dashboard

[!IMPORTANT]

This project is still in early development. Use at your own risk! Star us to get notified about new features and bugfixes ⭐️

✨ Features

1 Analyze photos and invoices with AI

Currency Conversion

Snap a photo of any receipt or upload an invoice PDF, and TaxHacker will automatically recognize, extract, categorize, and store all the information in a structured database.

  • Upload and organize your docs: Store multiple documents in “unsorted” until you’re ready to process them manually or with AI assistance
  • AI data extraction: Use AI to automatically pull key information like dates, amounts, vendors, and line items
  • Auto-categorization: Transactions are automatically sorted into relevant categories based on their content
  • Item splitting: Extract individual items from invoices and split them into separate transactions when needed
  • Structured storage: Everything gets saved in an organized database for easy filtering and retrieval
  • Choose your LLM: You can use OpenAI, Google Gemini, or Mistral or even your local LLM (in the self-hosted version). Only you’re responsible for the quality and privacy of your data.

TaxHacker works with a wide variety of documents, including store receipts, restaurant bills, invoices, bank statements, letters, even handwritten receipts. It handles any language and any currency with ease.

2 Multi-currency support with automatic conversion (even crypto!)

Currency Conversion

TaxHacker automatically detects currencies in your documents and converts them to your base currency using historical exchange rates.

  • Foreight currency detection: Automatically identify the currency used in any document
  • Historical rates: Get conversion rates from the actual transaction date
  • All-world coverage: Support for 170+ world currencies and 14 popular cryptocurrencies (BTC, ETH, LTC, DOT, and more)
  • Flexible input: Manual entry is always available when you need more control

3 Use your own LLM: Ollama, LM Studio, vLLM, LocalAI etc

It’s compatible with your local LLM OpenAI-compatible API endpoint. Just make sure that your local model is good in OCR tasks, results are not guaranteed :)

Local LLMs

4 Organize your transactions using fully customizable categories, projects and fields

Transactions Table

Adapt TaxHacker to your unique needs with unlimited customization options. Create custom fields, projects, and categories that better suit your specific needs, idustry standards or country.

  • Custom categories and projecst: Create your own categories and projects to group your transactions in any convenient way
  • Custom fields: You can create unlimited number of custom fields to extraxt more information from your invoices (it’s like creating extra columns in Excel)
  • Full-text search: Search through the actual content of recognized documents
  • Advanced filtering: Find exactly what you need with search and filter options
  • AI-powered extraction: Write your own prompts to extract any custom information from documents
  • Bulk operations: Process multiple documents or transactions at once

5 Customize any LLM prompt. Even system ones

Custom Categories

Take full control of how TaxHacker’s AI processes your documents. Write custom AI prompts for fields, categories, and projects, or modify the built-in ones to match your specific needs.

  • Customizable system prompts: Modify the general prompt template in settings to suit your business
  • Field or project-specific prompts: Create custom extraction rules for your industry-specific documents
  • Full control: Adjust field extraction priorities and naming conventions to match your workflow
  • Industry optimization: Fine-tune the AI to understand your specific type of business documents
  • Full transparency: Every aspect of the AI extraction process is under your control and can be changed right in settings

TaxHacker is 100% adaptable and tunable to your unique requirements — whether you need to extract emails, addresses, project codes, or any other custom information from your documents.

6 Flexible data filtering and export

Data Export

Once your documents are processed, easily view, filter, and export your complete transaction history exactly how you need it.

  • Advanced filtering: Filter by date ranges, categories, projects, amounts, and any custom fields
  • Flexible exports: Export filtered transactions to CSV with all attached documents included
  • Tax-ready reports: Generate comprehensive reports for your accountant or tax advisor
  • Data portability: Download complete data archives to migrate to other services—your data stays yours

7 Self-hosted mode for data privacy

Self-hosting

Keep complete control over your financial data with local storage and self-hosting options. TaxHacker respects your privacy and gives you full ownership of your information.

  • Home server ready: Host on your own infrastructure for maximum privacy and control
  • Docker native: Simple setup with provided Docker containers and compose files
  • Data ownership: Your financial documents never leaves your control
  • No vendor lock-in: Export everything and migrate whenever you want
  • Transparent operations: Full access to source code and complete operational transparency

🛳 Deployment and Self-hosting

TaxHacker can be easily self-hosted on your own infrastructure for complete control over your data and application environment. We provide a Docker image and Docker Compose setup that makes deployment simple:

curl -O https://raw.githubusercontent.com/vas3k/TaxHacker/main/docker-compose.yml

docker compose up

The Docker Compose setup includes:

  • TaxHacker application container
  • PostgreSQL 17+ database (or connect to your existing database)
  • Automatic database migrations on startup
  • Volume mounts for persistent data storage
  • Production-ready configuration

New Docker images are automatically built and published with every release. You can use specific version tags (e.g., v1.0.0) or latest for the most recent version.

For advanced setups, you can customize the Docker Compose configuration to fit your infrastructure. The default configuration uses the pre-built image from GitHub Container Registry, but you can also build locally using the provided Dockerfile.

Example custom configuration:

services:
  app:
    image: ghcr.io/vas3k/taxhacker:latest
    ports:
      - "7331:7331"
    environment:
      - SELF_HOSTED_MODE=true
      - UPLOAD_PATH=/app/data/uploads
      - DATABASE_URL=postgresql://postgres:postgres@localhost:5432/taxhacker
    volumes:
      - ./data:/app/data
    restart: unless-stopped

Environment Variables

Configure TaxHacker for your specific needs with these environment variables:

VariableRequiredDescriptionExample
UPLOAD_PATHYesLocal directory for file uploads and storage./data/uploads
DATABASE_URLYesPostgreSQL connection stringpostgresql://user@localhost:5432/taxhacker
PORTNoPort to run the application on7331 (default)
BASE_URLNoBase URL for the applicationhttp://localhost:7331
SELF_HOSTED_MODENoSet to “true” for self-hosting: enables auto-login, custom API keys, and additional featurestrue
DISABLE_SIGNUPNoDisable new user registration on your instancefalse
BETTER_AUTH_SECRETYesSecret key for authentication (minimum 16 characters)your-secure-random-key

⌨️ Local Development

We use:

  • Next.js 15+ for the frontend and API
  • Prisma for database models and migrations
  • PostgreSQL as the database (PostgreSQL 17+ recommended)
  • Ghostscript and GraphicsMagick for PDF processing (install on macOS via brew install gs graphicsmagick)

Set up your local development environment:

# Clone the repository
git clone https://github.com/vas3k/TaxHacker.git
cd TaxHacker

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env

# Edit .env with your configuration
# Make sure to set DATABASE_URL to your PostgreSQL connection string
# Example: postgresql://user@localhost:5432/taxhacker

# Initialize the database
npx prisma generate && npx prisma migrate dev

# Start the development server
npm run dev

Visit http://localhost:7331 to see your local TaxHacker instance in action.

For a production build, instead of npm run dev use the following commands:

# Build the application
npm run build

# Start the production server
npm run start

🤝 Contributing

No AI-slop PRs. Please open a new Issue and discuss the details with maintainers before sending new changes.

❤️ Support the Project

If TaxHacker has helped you save time or manage your finances better, consider supporting its development! Your donations help us maintain the project, add new features, and keep it free and open source. Every contribution helps ensure we can keep improving and maintaining this tool for the community: https://vas3k.com/donate/

Thank the TaxHacker devs

📄 License

TaxHacker is licensed under the MIT License.

相似文章

@Jolyne_AI: 跟大家安利一款好用的截图识别 AI 工具:Snippai。完全开源免费,识别稳、准、快。 不止能把图片里的文字和公式抠出来,还能读懂图像内容、把表格转成可用格式,甚至对截图里的题目直接给思路和答案。 GitHub:http://githu…

X AI KOLs Timeline

Snippai 是一款完全开源免费的截图识别 AI 工具,支持公式转 LaTeX、文字提取、表格转 Markdown、图像理解、截图解题、代码解释、色彩分析和截图翻译等功能。

@justloveabit: 用这个开源工具,我让一群AI替我上班了 事情是这样的,最近一直在折腾各种AI agent。Claude Code开一堆窗口,Codex也在跑,偶尔还要用Cursor。结果呢,乱成一锅粥——哪个agent在干啥,花了多少钱,完全搞不清楚。重…

X AI KOLs Timeline

本文介绍了一款名为Paperclip的开源工具,用于统一管理和调度多个AI Agent。它通过模拟公司组织架构、任务分配与预算控制等功能,解决了多Agent协作时上下文丢失、成本不可控和调度混乱的痛点。

@lxfater: 终于让我找到了一个AI-native企业协同办公软件了!! 事情是这样的,今年愚人节那天,我朋友的Slack工作区被锁死了!! 几年和客户的聊天记录,大家做决策的过程,公司的知识库,没就没了。 更可怕的是随着这些数字资产消失,企业的 AI…

X AI KOLs Timeline

文章作者推荐了一款名为Tanka AI的AI原生企业协同办公软件,旨在解决第三方平台数据丢失风险,并强调其保障用户数据主权与集成企业级AI功能的优势。