nakagami/grdpwasm — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple web based Remote Desktop client that runs in the browser with no plugins. I want to open a local web page, enter a Windows RDP host, port, domain, username, password, and screen size, then click Connect and see the remote desktop inside a canvas.

Since browsers can’t connect directly to RDP over TCP, include a small Go proxy server that serves the static files and bridges browser WebSocket traffic to the RDP server. The browser side should use Go WebAssembly and the grdp library if that’s the right fit. Please handle normal keyboard input, mouse movement, clicks, scrolling, and remote audio playback in the browser.

Add a Disconnect button and make it clear that the user should click the canvas to focus keyboard input. Keep the UI plain but usable. Include build and run commands with a Makefile, so I can run one command to build the WASM file and proxy, then open localhost in my browser. Look up current Go WASM docs online if needed.

Want more depth? Deep Reverse