How bigdude129/web-remote-desktop works
DeskLink is a web-based remote desktop MVP for controlling a Windows PC’s current console through a browser. A user signs in, selects an online device, and starts a time-limited session; the server coordinates the session and relays JPEG frames and input, while the Windows agent captures the screen and injects input. The product also includes device revocation, activity history, and agent-release discovery. The graph reflects README-documented capabilities and sampled source references; unsampled implementation details are not assumed.
Main entry points: app.ts HTTP API · AgentClient.cs Agent connection · hub.ts Session relay · App.tsx Account and devices
Components 18
Web client
- Account and devices
web/App.tsx - Remote viewer
web/Viewer.tsx - HTTP client
web/api.ts
Server services
- HTTP API
server/app.ts - Session relay
server/hub.ts - Accounts and state
server/store.ts - Server configuration
server/config.ts - Release discovery
server/releases.ts
Windows agent
- Agent controls
agent/DeskLink.Agent/AgentForm.cs - Agent connection
agent/DeskLink.Agent/AgentClient.cs - Capture and input
agent/DeskLink.Agent/NativeDesktop.cs - Agent version metadata
agent/DeskLink.Agent/AgentInfo.cs
Shared contracts
- Input protocol
shared/protocol.ts - Release metadata
shared/releases.ts
Other components
- User
- Browser
- GitHub releases
- Windows desktop
Connections 21
- User → Browser: uses
README.md - Browser → Account and devices: opens
README.md - Account and devices → HTTP client: calls
web/App.tsx - HTTP client → HTTP API: requests
README.md - Account and devices → Remote viewer: opens session
README.md - Remote viewer → Session relay: exchanges frames and input
README.md - HTTP API → Accounts and state: reads and writes
server/app.ts - HTTP API → Session relay: delegates sessions
server/app.ts - HTTP API → Server configuration: uses settings
server/app.ts - HTTP API → Release discovery: uses release service
server/app.ts - Session relay → Accounts and state: reads and updates
server/hub.ts - Session relay → Input protocol: validates input
server/hub.ts - Release discovery → Release metadata: uses metadata
server/releases.ts - Release discovery → GitHub releases: checks releases
README.md - Agent controls → Agent connection: controls connection
agent/DeskLink.Agent/AgentForm.cs - Agent connection → Agent version metadata: reads version
agent/DeskLink.Agent/AgentClient.cs - Agent connection → Capture and input: captures screen
agent/DeskLink.Agent/AgentClient.cs - Capture and input → Windows desktop: captures and injects input
agent/DeskLink.Agent/NativeDesktop.cs - Agent connection → Session relay: connects and relays
README.md - Agent connection → Input protocol: exchanges input messages
README.md - Account and devices → Release discovery: offers agent download
README.md