How edmarcrescencio/chuweydevpanel works
ChuweyDevPanel is an Electron desktop panel (also runnable in a browser) for administering remote SSH servers. The user workflow is to register a host, connect to it, then operate an interactive terminal or run commands for dashboard checks and Docker management; server and snippet data are also managed in the UI and can be backed up through Telegram. The graph separates the desktop shell, frontend features, backend SSH/API runtime, and backup integration. Several backend routes and UI wiring are documented but not fully sampled, so uncertain internal links are omitted.
Main entry points: app.js App router · server.js Express API · store.js Local store · main.js Electron shell
Components 17
Desktop shell
- Electron shell
main.js - IPC bridge
preload.js
Panel frontend
- App router
public/js/app.js - UI utilities
public/js/ui.js - Local store
public/js/store.js - Server manager
public/js/servers.js - Server dashboard
public/js/dashboard.js - Snippet runner
public/js/snippets.js - Docker manager
public/js/docker.js - Settings
public/js/settings.js
SSH runtime
- Express API
server.js - SSH sessions
server.js - WebSocket terminal
server.js
Backup integration
- Backup controls
public/js/backup.js
Other components
- User
- Remote SSH host
- Telegram API
Connections 29
- User → Electron shell: launches
- Electron shell → Express API: starts server
- Electron shell → App router: loads panel
- App router → Local store: initializes
- App router → UI utilities: initializes
- App router → Server manager: routes to
- App router → Server dashboard: routes to
- App router → Snippet runner: routes to
- App router → Docker manager: routes to
- App router → Settings: routes to
- App router → Backup controls: routes to
- Server manager → Local store: reads/writes
- Snippet runner → Local store: reads/writes
- Server dashboard → Local store: reads/writes
- Settings → Local store: reads/writes
- Backup controls → Local store: reads
- Server manager → Express API: SSH requests
- Server manager → WebSocket terminal: opens terminal
- Server dashboard → Express API: runs checks
- Snippet runner → Express API: executes commands
- Docker manager → Express API: runs Docker commands
- Express API → SSH sessions: dispatches SSH
- SSH sessions → Remote SSH host: connects
- WebSocket terminal → SSH sessions: uses session
- WebSocket terminal → Remote SSH host: streams PTY
- Backup controls → Express API: backup requests
- Express API → Telegram API: sends backup
- Electron shell → IPC bridge: handles IPC
- IPC bridge → App router: exposes API