HeadlinesBriefing favicon HeadlinesBriefing.com

Go WebAssembly RDP Client Runs Windows Remote Desktop in Browser

Hacker News •
×

A new open-source project lets users access Windows Remote Desktop directly from their browser without plugins. Developer Nakagami built grdpwasm using Go WebAssembly and the grdp library, creating a pure browser-based RDP client that runs client-side in modern browsers.

The architecture requires a lightweight Go proxy to bridge WebSocket connections from the browser to the RDP server's TCP port, since browsers cannot open raw TCP sockets directly. Users need Go 1.24 or later to build the project. After cloning the repository and running `make all`, the build produces three files: the main.wasm binary, wasm_exec.js for Go runtime support, and the proxy server binary.

Starting the proxy with `./proxy/proxy -listen :8080 -static static` opens the connection interface in any browser. The client supports full keyboard and mouse input via RDP scan codes, plus audio streaming through the browser's Web Audio API at PCM 44100 Hz stereo. Users fill in the host, port (default 3389), domain, username, and password to connect.

The proxy accepts connections from any origin, so running it only on trusted networks or behind a TLS-terminating reverse proxy like nginx or Caddy is strongly recommended when accessing over untrusted networks. The project is licensed under GPLv3.