If you wire Playwright to take snapshots on a cron loop and diff HTML strings, it stops being useful within an hour. Relative clocks ( 2 mins ago ), CSRF nonces, and A/B banners change every reload, and an HTTP 500 outage looks like the entire store page vanished.
I built Chronosync with FastAPI, Playwright, and SQLite to handle the boring edge cases that break naive monitors:
Separating watches from pages
If 200 users subscribe to the same product page with slightly different UTM tracking params or trailing slashes, you shouldn't spin up 200 headless browser runs. app/normalizer.py canonicalizes URLs and maps many user watches onto a single scheduled pages row in SQLite, gated by robots.txt rules and per-domain jitter.
Catching 5xx outages and CAPTCHAs before diffing
Before touching snapshot history, app/classifier.py classifies responses into ok , error ( 5xx /timeouts), or blocked ( 401/403/429 /CAPTCHA).…