frpc-desktop is a cross-platform desktop application that provides a graphical interface for managing FRP intranet penetration tunnels. It combines FRP binary downloading, visual configuration editing, tunnel lifecycle management, and shareable link generation into a single tool, allowing users to tunnel local network services to the public internet through a relay server without manually editing configuration files or managing binaries.
The application wraps a web frontend inside an Electron shell for native window management across operating systems, and handles the full lifecycle of the FRP client binary — downloading the correct version, spawning it as a child process, and piping its output into the UI for real-time status display. Tunnel definitions are stored as structured JSON files using a protocol-agnostic schema that supports TCP, UDP, HTTP, HTTPS, and P2P, and the application translates GUI form inputs into the FRP client's TOML or INI configuration before launching the binary.
Configuration sharing is built in: server addresses, authentication tokens, and tunnel definitions can be encoded into compact URL strings that other users can import with one click to replicate a tunnel setup. The application also allows downloading and caching FRP server binaries directly through the interface to ensure version compatibility.