How gnmyt/nexterm works
Nexterm is a server-management platform: users organize server connections, launch remote sessions, and operate on remote hosts through terminal, desktop, and SFTP interfaces. The web client communicates with the server API; the server registers engines and relays engine operations, while the engine provides remote execution and connection capabilities. The README also documents Docker deployment and Proxmox management, but the supplied tree and excerpts do not expose their implementation details. Edges are limited to relationships supported by the supplied source or README; many backend runtime paths were not sampled.
Main entry points: engine.js HTTP API · main.c Nexterm engine · App.jsx Application shell · Servers.jsx Server workspace
Components 26
Web client
- Application shell
client/src/App.jsx - Server workspace
client/src/pages/Servers/Servers.jsx - Session views
client/src/pages/Servers/components/ViewContainer/ViewContainer.jsx - Terminal renderer
client/src/pages/Servers/components/ViewContainer/renderer/XtermRenderer.jsx - Desktop renderer
client/src/pages/Servers/components/ViewContainer/renderer/GuacamoleRenderer.jsx - SFTP file manager
client/src/pages/Servers/components/ViewContainer/renderer/FileRenderer/FileRenderer.jsx - Monitoring
client/src/pages/Monitoring/Monitoring.jsx - Audit and recordings
client/src/pages/Audit/Audit.jsx - Scripts and snippets
client/src/pages/Snippets/Snippets.jsx - Administration
client/src/pages/Settings/pages/Engines/Engines.jsx
Server control plane
- HTTP API
server/routes/engine.js - Engine management
server/controllers/engine.js - Engine registrations
server/models/Engine.js - Access control
server/permissions/engine.js - Control plane
- Engine SFTP client
server/lib/EngineSftpClient.js - Engine HTTP relay
server/lib/engineFetch.js
Remote engine
- Nexterm engine
engine/src/main.c - Session manager
engine/src/core/session.c - Remote connection
engine/src/net/connection.c - SFTP protocol
engine/src/net/sftp.c - FTP protocol
engine/src/net/ftp.c - File protocol
engine/src/net/file_proto.c
Remote operations
- Managed servers
- Proxmox hosts
Other components
- User
Connections 26
- User → Application shell: uses
- Application shell → Server workspace: opens
- Server workspace → Session views: opens sessions
- User → Monitoring: views
- User → Audit and recordings: reviews
- User → Scripts and snippets: manages
- User → Administration: administers
- Administration → HTTP API: requests engines
- HTTP API → Engine management: invokes
- Engine management → Engine registrations: reads and writes
- HTTP API → Control plane: queries status
- Control plane → Nexterm engine: communicates
- Nexterm engine → Session manager: manages sessions
- Session views → Control plane: remote session
- Terminal renderer → Control plane: terminal traffic
- Desktop renderer → Control plane: desktop traffic
- SFTP file manager → Engine SFTP client: file requests
- Engine SFTP client → Control plane: uses relay
- Control plane → Nexterm engine: dispatches requests
- Session manager → Remote connection: opens connections
- Remote connection → Managed servers: connects remotely
- SFTP protocol → Managed servers: transfers files
- FTP protocol → Managed servers: transfers files
- File protocol → Managed servers: handles file protocol
- Engine HTTP relay → Control plane: relays HTTP
- Control plane → Proxmox hosts: Proxmox management