3 Commits

Author SHA1 Message Date
František Musil dad182fe12 Add silent config option to suppress stdout output
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 09:51:29 +02:00
František Musil a37b3e848d Add time-based orchestration, state management, diffing and logging
- config: add overrideTime for testing (HH:MM string)
- state.ts: daily state persistence (reference, lastKnown, sentAt10)
- differ.ts: detect text changes and sold-out changes between menu snapshots
- logger.ts: append timestamped changes to logs/YYYY-MM-DD.log
- index.ts: full cron logic — before 10 log only, at 10 send TG, after 10
  send on text change; sold-out always to TG without log; exit after 14:00
- .gitignore: add state/ and logs/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 09:25:11 +02:00
František Musil ffa638429e Initial project setup: Bun + cheerio scraper with dev mode
- config/ with default + local (gitignored) merge pattern
- fetcher with manual redirect tracking, cookie jar, dev mode JSON logging
- cheerio parser stub ready for selectors
- telegram sender
- weekday-aware entry point

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 08:47:06 +02:00