Files
runtipi/apps/costco-watch/build/README.md
T

14 lines
643 B
Markdown

# costco-watch image
Dependency-free Node service (node:22-alpine + curl for the healthcheck).
Source: https://git.alexzaw.dev/alexz/costco-watch (working copy:
~/projects/costco-watch). Build + push with ./build.sh.
Gotchas:
- TARGET_URL must go through the costco-tire cloudflared proxy AND that
hostname needs a Cloudflare Transform Rule adding browser headers
(User-Agent, Accept, Accept-Language, Sec-Fetch-*). Without it Costco stalls
the request until timeout and the checker reports "error"/"blocked".
- State (last stock value, transition history) lives in ${APP_DATA_DIR}/data;
wiping it means the next check can re-alert.