VNC Gateway (WebSocket → Unix socket) #45
Labels
No labels
bug fix
feature implementation
new feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
syonad/two#45
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Objective
Implement a lightweight, high-performance proxy that bridges WebSocket connections to Unix domain sockets for VNC traffic.
Core Responsibilities
vm-idfrom request pathInterface
Listen
Endpoint
Example
Routing Logic
vm-idfrom URL pathValidation
vm-id constraints
[a-zA-Z0-9-_]../Connection Flow
Data Handling
Error Handling
Resource Management
Performance Requirements
Security
/run/vncObservability (recommended)
Optional Features
Suggested Tech Stack
Go (recommended)
netgorilla/websocketornhooyr.io/websocketAlternatives
Minimal Pseudocode (Go-like)
Deployment Model
Non-Goals
Summary
The gateway is a stateless, deterministic bridge:
Simple, fast, and scalable.