Developer builds pure-Go CLI tool to script RustDesk without a GUI
A developer has released rdcli, a command-line tool written in pure Go that reimplements the RustDesk remote desktop wire protocol without requiring the official GUI client. The project was motivated by RustDesk's public server now mandating login and offering no terminal-friendly interface for scripting, file transfers, or tunneling. rdcli supports remote directory listing, bidirectional file copying, interactive and one-shot remote shells, and TCP tunneling through NAT. The tool replicates RustDesk's layered protocol stack, including NaCl-based encryption, protobuf messaging, rendezvous server communication, and hole punching. It also includes an import feature that reads and decrypts credentials from an existing RustDesk GUI installation, and outputs structured JSON to stdout for compatibility with both humans and AI agents.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in