app to track my HSA eligible receipts
Find a file
Jean-Michel Tremblay 99b8541da0 Static portable build + env-file launcher for deployment
- build.sh: CGO_ENABLED=0 + -ldflags "-s -w" → fully static binary (pure-Go
  SQLite, no C toolchain), runs on any linux/<arch>; note GOARCH cross-compile.
- scripts/hsa-app.sh: load an env file (default /etc/hsa-app/hsa-app.env, or arg/
  $HSA_ENV_FILE), export it, then exec the binary ($HSA_BIN or ./hsa next to it).
  Suitable as a systemd ExecStart.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 08:32:19 -04:00
cmd/hsa Add scheduled metadata-only DB backups (spec item 11) 2026-06-19 07:12:50 -04:00
internal Verify DB integrity at boot; document crash recovery (spec item 12) 2026-06-19 07:43:15 -04:00
scripts Static portable build + env-file launcher for deployment 2026-06-19 08:32:19 -04:00
.env.example Backups: ROOT/dbbackup, hsa_sqlite_backup_YYYY_MM_DD.db naming 2026-06-19 07:34:31 -04:00
.gitignore Initial commit: HSA receipt tracker 2026-06-17 21:40:12 -04:00
call_claude.sh Initial commit: HSA receipt tracker 2026-06-17 21:40:12 -04:00
config.json Initial commit: HSA receipt tracker 2026-06-17 21:40:12 -04:00
go.mod Initial commit: HSA receipt tracker 2026-06-17 21:40:12 -04:00
go.sum Initial commit: HSA receipt tracker 2026-06-17 21:40:12 -04:00
plan.md Initial commit: HSA receipt tracker 2026-06-17 21:40:12 -04:00
secret.md Initial commit: HSA receipt tracker 2026-06-17 21:40:12 -04:00
secret.sh Initial commit: HSA receipt tracker 2026-06-17 21:40:12 -04:00
spec.md Verify DB integrity at boot; document crash recovery (spec item 12) 2026-06-19 07:43:15 -04:00