How guritadarattt/panel works
Gurita Panel is a Node.js VPS management panel. Users authenticate, view owned servers, manage files and ports, monitor resources, and control server processes; administrators additionally manage users, server configuration, settings, themes, media, and audit history. The graph follows the documented HTTP/WebSocket entry points and sampled controller, process, and resource calls. Some route-to-controller wiring and unsampled services are inferred only where the README or route declarations identify the capability; uncertain internal links are omitted.
Main entry points: index.js API routes · server.js HTTP and WS host · serverController.js Server control · processManager.js Process manager
Components 27
Panel interface
HTTP and access
- HTTP and WS host
server.js - API routes
src/routes/index.js - Authentication
src/controllers/authController.js - Account management
src/controllers/accountController.js - User administration
src/controllers/userController.js - Server administration
src/controllers/adminServerController.js
Server operations
- Server control
src/controllers/serverController.js - File manager
src/controllers/fileController.js - Port allocation
src/services/allocationService.js - Resource monitor
src/resources/resourceManager.js - Live console
src/websocket/consoleServer.js - Interactive shell
src/websocket/shellServer.js - Process manager
src/process/processManager.js - Cgroup limits
src/process/cgroupManager.js - File operations
src/services/fileService.js
State and extensions
- JSON data store
src/database/store.js - Session service
src/services/sessionService.js - Panel settings
src/controllers/settingsController.js - Theme management
src/controllers/themeController.js - Background and music
src/controllers/mediaController.js - Audit history
src/services/auditService.js
Other components
- Browser user
- GitHub
- Linux VPS
Connections 34
- Browser user → Panel UI: uses
- Browser user → Server UI: uses
- Browser user → Admin UI: uses
- Panel UI → HTTP and WS host: HTTP requests
- Server UI → HTTP and WS host: HTTP and WS
- Admin UI → HTTP and WS host: HTTP requests
- HTTP and WS host → API routes: dispatches API
- HTTP and WS host → Live console: attaches WS
- HTTP and WS host → Interactive shell: attaches WS
- API routes → Authentication: dispatches auth
- API routes → Account management: dispatches account
- API routes → User administration: dispatches users
- API routes → Server administration: dispatches admin servers
- API routes → Server control: dispatches servers
- API routes → File manager: dispatches files
- API routes → Panel settings: dispatches settings
- API routes → Theme management: dispatches themes
- API routes → Background and music: dispatches media
- Authentication → Session service: creates sessions
- Session service → JSON data store: reads and writes
- Server control → Process manager: controls runtime
- Server control → Resource monitor: requests stats
- Server control → Port allocation: manages ports
- File manager → File operations: uses file ops
- Server control → Audit history: records actions
- Server administration → Audit history: records actions
- Theme management → Audit history: records actions
- Panel settings → JSON data store: persists settings
- Theme management → GitHub: imports theme
- Process manager → Cgroup limits: applies limits
- Resource monitor → Cgroup limits: reads stats
- Process manager → Linux VPS: spawns processes
- Interactive shell → Linux VPS: spawns PTY
- Live console → Process manager: streams output