How bharat-uniyal/watchdog works
Watchdog turns user-defined web watches into scheduled or on-demand TinyFish checks, stores normalized results and diffs in SQLite, and presents a unified feed with an optional Claude digest. The graph follows the documented and excerpted flow; the frontend is a single HTML file and its implementation was not sampled, so its API calls are not asserted.
Main entry points: app.py Parallel check runner · index.html Dashboard · tinyfish.py TinyFish client
Components 15
Watch setup
- Watch management API
backend/app.py - Watch templates and goals
backend/app.py - Frequency scheduler
backend/app.py
Result collection
- Parallel check runner
backend/app.py - Goal builder
backend/app.py - TinyFish client
backend/tinyfish.py - Result normalizer
backend/app.py
State and feed
- Watch and result store
backend/app.py - Item diff engine
backend/app.py - Unified feed API
backend/app.py
Change digest
- Digest API
backend/app.py
Other components
- User
- Dashboard
frontend/index.html - TinyFish Agent API
- Claude Messages API
Connections 19
- User → Dashboard: uses
README.md - Dashboard → Watch management API: manages watches
README.md - Watch management API → Watch templates and goals: validates
backend/app.py - Frequency scheduler → Parallel check runner: checks due watches
backend/app.py - Watch management API → Parallel check runner: starts checks
backend/app.py - Parallel check runner → Goal builder: builds goals
backend/app.py - Parallel check runner → TinyFish client: runs agent
backend/app.py - TinyFish client → TinyFish Agent API: requests extraction
backend/tinyfish.py - Parallel check runner → Result normalizer: normalizes result
backend/app.py - Watch management API → Watch and result store: stores watches
backend/app.py - Parallel check runner → Watch and result store: reads and writes results
backend/app.py - Parallel check runner → Item diff engine: computes changes
backend/app.py - Item diff engine → Watch and result store: loads prior items
backend/app.py - Unified feed API → Watch and result store: reads latest results
backend/app.py - Dashboard → Unified feed API: shows feed
README.md - Dashboard → Digest API: requests digest
README.md - Digest API → Unified feed API: collects changes
backend/app.py - Digest API → Claude Messages API: summarizes changes
backend/app.py - Digest API → Dashboard: returns digest
README.md