Skip to content
Skillpedia
General coding7.8k Β· #13092

worldmonitor-reference

What it does

This skill is an index of how the WorldMonitor open-source dashboard is built. It points to its panel, layout, service and refresh patterns. It is for developers planning a similar dashboard.

When to use it

  • βœ“When you are creating a new dashboard panel and want to follow an established design.
  • βœ“When you want to understand a specific pattern in WorldMonitor before adapting it.
  • βœ“When you need to decide which parts of WorldMonitor to copy and which to simplify.

Skill link

https://github.com/HKUDS/AgentPilot/blob/main/openspace/legacy/v1/showcase/skills/worldmonitor-reference/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/HKUDS/AgentPilot/blob/main/openspace/legacy/v1/showcase/skills/worldmonitor-reference/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCan you show me how WorldMonitor is organized so I can build a panel in the same style?”

5 new skills a week. 1 minute to read.

How it works

The skill lists the main folders and patterns in the project, so the agent knows where to look and what to adapt for your own work.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

WorldMonitor Architecture Reference

WorldMonitor is a real-time global intelligence dashboard built with vanilla TypeScript (no framework). This skill provides a curated index of its architecture, organized by the patterns most relevant to building a personal daily monitor.

When to Use

  • You are creating a new dashboard panel and need to follow WorldMonitor conventions
  • You need to understand how a specific pattern works before adapting it
  • You are deciding which WorldMonitor patterns to adopt vs. simplify for a personal project

Project Overview

Aspect Detail
Language TypeScript (strict), vanilla DOM β€” no React/Vue/Angular
Bundler Vite
Deployment Vercel (60+ Edge Functions) + Railway (WebSocket relay)
Desktop Tauri 2 (Rust) with Node.js sidecar
Map engines globe.gl + Three.js (3D), deck.gl + MapLibre GL (2D)
CSS Custom properties, dark/light themes, responsive grid
API contracts Protocol Buffers (92 proto files, 22 services)
Data sources 435+ RSS feeds, 45 data layers, 30+ live video streams

Directory Structure

worldmonitor/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ main.ts                    # Entry point: Sentry, analytics, App bootstrap
β”‚   β”œβ”€β”€ App.ts                     # Root application class
β”‚   β”œβ”€β”€ components/                # All UI panel classes (80+ files)
β”‚   β”‚   β”œβ”€β”€ Panel.ts               # *** BASE CLASS β€” most important file ***
β”‚   β”‚   β”œβ”€β”€ VirtualList.ts         # Virtual scrolling for large lists
β”‚   β”‚   β”œβ”€β”€ NewsPanel.ts           # News with clustering, NER, summaries
β”‚   β”‚   β”œβ”€β”€ MarketPanel.ts         # Stock market with sparklines
β”‚   β”‚   β”œβ”€β”€ SearchModal.ts         # Cmd+K command palette
β”‚   β”‚   β”œβ”€β”€ InsightsPanel.ts       # AI briefing + metrics
β”‚   β”‚   β”œβ”€β”€ WorldClockPanel.ts     # Multi-timezone clock
β”‚   β”‚   └── ...                    # 70+ more panels
β”‚   β”œβ”€β”€ services/                  # Data layer (117 files)
β”‚   β”‚   β”œβ”€β”€ runtime.ts             # SmartPollLoop, desktop detection, fetch routing
β”‚   β”‚   β”œβ”€β”€ bootstrap.ts           # Initial data hydration from Redis
β”‚   β”‚   β”œβ”€β”€ rss.ts                 # RSS feed aggregation
β”‚   β”‚   β”œβ”€β”€ news/index.ts          # News fetching + processing
β”‚   β”‚   β”œβ”€β”€ market/index.ts        # Market data (Yahoo Finance, Finnhub)
β”‚   β”‚   β”œβ”€β”€ i18n.ts                # 21-language internationalization
β”‚   β”‚   β”œβ”€β”€ threat-classifier.ts   # 3-stage threat classification
β”‚   β”‚   β”œβ”€β”€ clustering.ts          # News headline clustering
β”‚   β”‚   └── ...                    # 100+ more services
β”‚   β”œβ”€β”€ config/                    # Static configuration
β”‚   β”‚   β”œβ”€β”€ variant.ts             # Multi-variant (world/tech/finance/commodity/happy)
β”‚   β”‚   β”œβ”€β”€ feeds.ts               # 435+ RSS feed definitions
β”‚   β”‚   β”œβ”€β”€ panels.ts              # Panel enable/disable config
β”‚   β”‚   β”œβ”€β”€ markets.ts             # Stock symbol lists
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ app/                       # Application-level modules
β”‚   β”‚   β”œβ”€β”€ app-context.ts         # Shared state (inFlight, isDestroyed)
β”‚   β”‚   β”œβ”€β”€ refresh-scheduler.ts   # *** REFRESH PATTERN ***
β”‚   β”‚   β”œβ”€β”€ panel-layout.ts        # Grid layout management
β”‚   β”‚   β”œβ”€β”€ search-manager.ts      # Command palette logic
β”‚   β”‚   └── event-handlers.ts      # Global keyboard/visibility events
β”‚   β”œβ”€β”€ utils/                     # Utilities (22 files)
β”‚   β”‚   β”œβ”€β”€ dom-utils.ts           # h(), fragment(), replaceChildren() β€” JSX-free helpers
β”‚   β”‚   β”œβ”€β”€ sanitize.ts            # escapeHtml(), sanitizeUrl() β€” XSS prevention
β”‚   β”‚   β”œβ”€β”€ index.ts               # formatTime, formatNumber, etc.
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ styles/                    # CSS
β”‚   β”‚   β”œβ”€β”€ main.css               # *** THEME VARIABLES + GRID LAYOUT ***
β”‚   β”‚   β”œβ”€β”€ panels.css             # Panel-specific styles (tabs, rows, badges)
β”‚   β”‚   β”œβ”€β”€ base-layer.css         # Foundation layer
β”‚   β”‚   └── ...
β”‚   └── generated/                 # Auto-generated from .proto files
β”‚       β”œβ”€β”€ client/                # TypeScript API clients
β”‚       └── server/                # TypeScript API handlers
β”œβ”€β”€ api/                           # Vercel Edge Functions (60+)
β”‚   β”œβ”€β”€ _cors.js                   # CORS origin allowlist
β”‚   β”œβ”€β”€ _rate-limit.js             # Upstash Redis rate limiting
β”‚   β”œβ”€β”€ _api-key.js                # API key injection
β”‚   β”œβ”€β”€ bootstrap.js               # Pre-fetch 15 Redis keys for first render
β”‚   β”œβ”€β”€ rss-proxy.js               # RSS feed proxy with domain allowlist
β”‚   β”œβ”€β”€ market/v1/[r
FAQ

Is WorldMonitor a framework?

No. It is a dashboard app built with plain TypeScript and no framework for the interface.

Do I need to copy the whole project?

No. The skill is an index, so you can borrow only the patterns you need.

What is the project built with?

The skill lists TypeScript, Vite and a set of map engines and CSS features.

Details

Original description by the author

Curated architecture index of the WorldMonitor open-source dashboard. Reference for extracting patterns β€” vanilla TypeScript, Panel class hierarchy, service layer, CSS grid, API edge functions, refresh scheduler, and 60+ data source integrations.

repo: HKUDS/AgentPilot

Popularity

GitHub stars
7.8k
Ranking position
#13092
License
MIT
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills