Commit Graph
2 Commits
Author SHA1 Message Date
nmemmertandClaude Sonnet 4.6 7f38c038fb Fix Docker build error; add multi-year view, PDF export, ntfy notifier
Fix: remove unused 'accessibleMonths' variable (tsc exit code 2)

Features:
- AllYearsLetter view: all years in chronological order, reachable
  from "All Years" at the top of the sidebar
- PDF export: window.print() with @media print CSS — sidebar, toolbar,
  and chrome hidden; each year starts on a new page via page-break
- "Download all" exports a plain-text file of every year's letter
- ntfy notifier: standalone Node.js service (notifier/) that fires a
  push notification via ntfy on the 1st of each month; configurable
  via NTFY_TOPIC, NTFY_URL, CRON_SCHEDULE, APP_URL env vars
- docker-compose: adds `notifier` service alongside `app`; reads from
  .env (example in .env.example); NTFY_TEST_ON_START=true sends a
  test ping on container start

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-17 13:13:05 -04:00
nmemmertandClaude Sonnet 4.6 54d54c2e1a Add GitHub Actions CI/CD and Docker Compose
- ci.yml: lint + type-check + build on every push/PR to main; uploads dist artifact
- docker.yml: builds and pushes image to ghcr.io/nmemmert/letter on main push and version tags; uses GHA layer cache
- docker-compose.yml: `app` service runs the production nginx image on :8080; `dev` profile mounts source and runs vite dev server on :5173

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-17 13:07:41 -04:00