Go app for capturing and archiving HSA-eligible receipts: OIDC/PKCE auth against Authelia, SQLite storage with dual-write (filesystem + DB blob), mobile-first upload, and DB export. Adds AI receipt classification: a config.json catalog of people and categories (seeded into the DB on startup), a prompt builder that derives name-order/initial variants from the data (with same-surname ambiguity handling), and an Anthropic tool-use client behind POST /classify. Tests run against a mock endpoint; a live integration test is env-gated to the cheapest model. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
21 lines
320 B
Text
21 lines
320 B
Text
# Compiled binary (root only; not the cmd/hsa/ package dir)
|
|
/hsa
|
|
|
|
# Env files (keep the example)
|
|
*.env
|
|
.env
|
|
!.env.example
|
|
|
|
# Local data: SQLite DB + uploaded receipt files
|
|
data/
|
|
*.db
|
|
*.db-shm
|
|
*.db-wal
|
|
|
|
# Generated output from the call_claude.sh prototype
|
|
response.json
|
|
|
|
# Go build/test artifacts
|
|
*.test
|
|
*.out
|
|
coverage.*
|