How meshlinkfoundation/operator-dashboard works
Meshlink Operator Dashboard is an optional multi-node control panel: an operator configures broker nodes, then views aggregate health and metrics or manages clients and sessions per node. The React UI calls the dashboard API; Express routes load node configuration and invoke a server-side HTTP proxy, which handles broker authentication and requests. The README documents these capabilities and the proxy architecture. Some page and hook implementations were read but their references are not listed in the index, so uncertain UI-to-hook links are omitted.
Main entry points: App.tsx Application router · routes.ts Dashboard routes · api.ts Dashboard API client · proxy.ts Broker proxy and auth
Components 18
Operator interface
- Application router
client/src/App.tsx - Aggregate overview
client/src/pages/overview.tsx - Node detail
client/src/pages/node-detail.tsx - Node settings
client/src/pages/settings.tsx - Node summary card
client/src/components/node-card.tsx - Health badge
client/src/components/node-health-badge.tsx - Client management
client/src/components/clients-table.tsx - Session management
client/src/components/sessions-table.tsx - Revenue chart
client/src/components/revenue-chart.tsx - Tier breakdown
client/src/components/tier-breakdown-chart.tsx - Dashboard API client
client/src/lib/api.ts - Query client
client/src/lib/queryClient.ts
Dashboard API
- Express server
server/index.ts - Dashboard routes
server/routes.ts
Node configuration
- Node configuration
server/nodes.ts
Broker integration
- Broker proxy and auth
server/proxy.ts - Meshlink broker nodes
Other components
- Operator
Connections 18
- Operator → Application router: uses dashboard
README.md - Application router → Aggregate overview: routes to
client/src/App.tsx - Application router → Node detail: routes to
client/src/App.tsx - Application router → Node settings: routes to
client/src/App.tsx - Application router → Query client: provides queries
client/src/App.tsx - Node summary card → Health badge: renders
client/src/components/node-card.tsx - Aggregate overview → Dashboard API client: requests overview
README.md - Node detail → Dashboard API client: requests node data
README.md - Node settings → Dashboard API client: manages nodes
README.md - Dashboard API client → Query client: uses requests
client/src/lib/api.ts - Dashboard API client → Express server: calls dashboard API
README.md - Express server → Dashboard routes: registers routes
server/index.ts - Dashboard routes → Node configuration: reads and updates
server/routes.ts - Dashboard routes → Broker proxy and auth: dispatches broker calls
server/routes.ts - Broker proxy and auth → Node configuration: updates auth token
server/proxy.ts - Broker proxy and auth → Meshlink broker nodes: proxies HTTP requests
README.md - Dashboard routes → Meshlink broker nodes: tests connectivity
server/routes.ts - Dashboard routes → Broker proxy and auth: aggregates node summaries
server/routes.ts