WorldMonitor-CN Runtime Architecture

WorldMonitor-CN Runtime Architecture An architecture diagram generated by Archify. Browser / Frontend · TypeScript SPA · Architecture component Browser / Frontend TypeScript SPA Preact Frontend · 16 panels + services · Architecture component Preact Frontend 16 panels + services Vite API Server · bypass /api/* + HLS proxy · Architecture component Vite API Server bypass /api/* + HLS proxy Price Monitor Service · pytdx 5s quote feed · Architecture component Price Monitor Service pytdx 5s quote feed Local Data & Snapshot · .cache JSON + static geo · Architecture component Local Data & Snapshot .cache JSON + static geo GitHub Source · iptv-org/iptv zho.m3u · Architecture component GitHub Source iptv-org/iptv zho.m3u Data Sync Service · heartbeat scrapers · Architecture component Data Sync Service heartbeat scrapers Scheduler / Cron Jobs · THQ loop + heartbeat · Architecture component Scheduler / Cron Jobs THQ loop + heartbeat HTTPS fetch /api/* quotes /api/market write snapshot refresh data upstream feeds upstream data schedule scrapes trading hours 5s Legend Frontend Backend Database External

User entry

  • • The Preact SPA renders 16 live panels over MapLibre.
  • • Requests reach the Vite API layer through /api/* bypass.

Data path

  • • Heartbeat scrapers refresh ifeng, climate, conflict, and exchange.
  • • pytdx writes A-share quotes every 5s during trading hours.

Upstream & resilience

  • • iptv-org playlist refreshes hourly with config.yml fallbacks.
  • • Every service falls back to built-in mock data when offline.