How cbbsjj0314/picking-my-time-sink works
Picking My Time Sink is a Steam-centered game-data dashboard, with bounded Chzzk observations and a limited trusted-mapping combined activity view. Its principal workflow is collect provider data, normalize and load it into Postgres, serve read-only API responses, then render Steam, Chzzk, and Combined views in the web app. Recovery and artifact handoff are supporting operational capabilities, not the production serving path. Relationships for unsampled modules are included only where the README or SOURCE INDEX supports them; the implementation details of those modules were not inspected.
Main entry points: App.tsx Web application · run_chzzk_regular_write_path.py Chzzk write path · app.py FastAPI app · games.py Games routes
Components 28
Steam data
- Steam fetchers
src/steam/ingest/fetch_reviews_daily.py - Steam pipeline
src/steam/ingest/run_steam_only_scheduled_pipeline.py - Steam normalization
src/steam/normalize - Steam probes
src/steam/probe/common.py
Chzzk observations
- Live-list probe
src/chzzk/probe/live_list_temporal_probe.py - Category facts
src/chzzk/normalize/category_lives.py - Chzzk write path
src/chzzk/ingest/run_chzzk_regular_write_path.py - Fetch-load orchestration
src/chzzk/ingest/run_chzzk_fetch_load_manual_orchestration.py
Read API
- Postgres facts and serving views
- FastAPI app
src/api/app.py - Games routes
src/api/routers/games.py - CCU service
src/api/services/ccu_service.py - Price service
src/api/services/price_service.py - Chzzk service
src/api/services/chzzk_service.py - Combined activity service
src/api/services/combined_service.py
Dashboard
- Web application
web/src/App.tsx - Steam data hooks
web/src/hooks/useSteamOverview.ts - Steam API client
web/src/api/games.ts - Steam view models
web/src/lib/steamViewModel.ts - Chzzk category hook
web/src/hooks/useChzzkCategoryOverview.ts - Combined activity hook
web/src/hooks/useCombinedGameActivity.ts
Recovery and operations
- Artifact recovery
src/recovery/rotation_collect.py - Postgres artifact
src/recovery/postgres_artifact.py - Object-store publishing
src/recovery/r2_publish.py - Resource observability
src/observability/resource_envelope.py
Other components
- Steam APIs
- Chzzk APIs
- Object storage
Connections 31
- Steam APIs → Steam fetchers: supplies data
- Steam pipeline → Steam fetchers: runs fetchers
src/steam/ingest/run_steam_only_scheduled_pipeline.py - Steam pipeline → Steam normalization: runs transforms
src/steam/ingest/run_steam_only_scheduled_pipeline.py - Steam fetchers → Steam normalization: hands off artifacts
- Steam APIs → Steam probes: probed by
- Chzzk APIs → Live-list probe: supplies observations
- Fetch-load orchestration → Live-list probe: runs probe
src/chzzk/ingest/run_chzzk_fetch_load_manual_orchestration.py - Fetch-load orchestration → Chzzk write path: dispatches write path
src/chzzk/ingest/run_chzzk_fetch_load_manual_orchestration.py - Live-list probe → Category facts: produces category input
src/chzzk/probe/live_list_temporal_probe.py - Chzzk write path → Category facts: uses normalization
src/chzzk/ingest/run_chzzk_regular_write_path.py - Steam normalization → Postgres facts and serving views: loads facts
- Chzzk write path → Postgres facts and serving views: loads observations
- Postgres facts and serving views → FastAPI app: serves read models
- FastAPI app → Games routes: registers routes
src/api/app.py - Games routes → CCU service: calls service
src/api/routers/games.py - Games routes → Price service: calls service
src/api/routers/games.py - Postgres facts and serving views → CCU service: queries serving views
src/api/services/ccu_service.py - Postgres facts and serving views → Price service: queries serving views
src/api/services/price_service.py - Postgres facts and serving views → Chzzk service: queries observations
- Postgres facts and serving views → Combined activity service: queries combined view
- FastAPI app → Web application: serves dashboard
- Web application → Steam data hooks: uses hook
web/src/App.tsx - Steam data hooks → Steam API client: requests data
web/src/hooks/useSteamOverview.ts - Steam data hooks → Steam view models: uses view model
web/src/hooks/useSteamOverview.ts - Web application → Chzzk category hook: uses hook
web/src/App.tsx - Web application → Combined activity hook: uses hook
web/src/App.tsx - Artifact recovery → Postgres artifact: verifies generation
src/recovery/rotation_collect.py - Artifact recovery → Object-store publishing: uses published inventory
src/recovery/rotation_collect.py - Object-store publishing → Postgres artifact: packages artifact
src/recovery/r2_publish.py - Object-store publishing → Object storage: publishes artifacts
- Resource observability → Artifact recovery