How catcat-blog/netmirror works
NetMirror is a panel-and-agent looking-glass service. Users select a node and run network diagnostics, speed tests, or view live traffic; administrators manage nodes and deployment tokens. The graph combines documented product capabilities with sampled UI/session behavior. Backend controller internals and several UI components were not sampled, so those links rely on README statements rather than inferred call chains.
Main entry points: App.vue Panel UI · Admin.vue Admin panel · Utilities-B5qUbnzC.js Utility launcher · route.go HTTP API
Components 28
Web experience
- Panel UI
ui/src/App.vue - Session state
ui/src/stores/app.js - Node selection
embed/ui/js/NodeList-B17mckd4.js - Utility launcher
embed/ui/js/Utilities-B5qUbnzC.js - Speed tests
embed/ui/js/Speedtest-DKJYFMfK.js - Speedtest.net
embed/ui/js/SpeedtestNet-Brv3X8ij.js - Traffic display
embed/ui/js/TrafficDisplay-C4EDPIfC.js - Localization
ui/src/config/lang.js - Frontend entry
embed/ui/js/index--YDGCYOB.js
Network operations
- Diagnostic tools
backend/als/controller/nettools/nettools.go - Ping tools
backend/als/controller/ping/ping6.go - iPerf3 service
backend/als/controller/iperf3/iperf3.go - Fake shell
backend/als/controller/shell/shell.go - Speed test service
backend/als/controller/speedtest/speedtest_cli.go - Traffic monitor
backend/als/timer/interface_traffic.go
Node management
- Admin panel
ui/src/components/Admin.vue - Node editor
ui/src/components/NodeEditModal.vue - Token creation
ui/src/components/TokenCreateModal.vue - Install script
ui/src/components/InstallScriptModal.vue - Node registry
backend/als/controller/nodes/nodes.go - Token management
backend/als/controller/tokens/handlers.go - Token storage
backend/als/controller/tokens/storage.go - Agent registration
backend/als/controller/tokens/handlers.go
Backend runtime
- HTTP API
backend/als/route.go - Session service
backend/als/controller/session/session.go
Other components
- Visitor
- Administrator
- Agent node
Connections 33
- Visitor → Panel UI: uses
- Administrator → Admin panel: manages
- Panel UI → Session state: reads state
ui/src/App.vue - Panel UI → Utility launcher: renders
ui/src/App.vue - Panel UI → Speed tests: renders
ui/src/App.vue - Panel UI → Traffic display: renders
ui/src/App.vue - Panel UI → Admin panel: renders
ui/src/App.vue - Panel UI → Localization: loads language
ui/src/App.vue - Frontend entry → Node selection: loads
embed/ui/js/index--YDGCYOB.js - Frontend entry → Utility launcher: loads
embed/ui/js/index--YDGCYOB.js - Frontend entry → Speed tests: loads
embed/ui/js/index--YDGCYOB.js - Frontend entry → Traffic display: loads
embed/ui/js/index--YDGCYOB.js - Utility launcher → Ping tools: offers
- Utility launcher → Diagnostic tools: offers
- Utility launcher → iPerf3 service: offers
- Utility launcher → Fake shell: offers
- Speed tests → Speed test service: uses
- Speedtest.net → Speed test service: uses
- Traffic display → Traffic monitor: displays
- Session state → Session service: opens session
ui/src/stores/app.js - Session state → HTTP API: requests methods
ui/src/stores/app.js - HTTP API → Session service: serves
- HTTP API → Diagnostic tools: routes requests
- HTTP API → Ping tools: routes requests
- Admin panel → Node editor: opens editor
ui/src/components/Admin.vue - Admin panel → Token creation: opens creation
ui/src/components/Admin.vue - Admin panel → Install script: shows script
ui/src/components/Admin.vue - Admin panel → Node registry: manages nodes
- Admin panel → Token management: manages tokens
- Token management → Token storage: stores tokens
- Agent node → HTTP API: registers with
- HTTP API → Agent registration: accepts registration
- Agent registration → Node registry: registers node