https://github.com/rustdesk/rustdesk
An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
https://github.com/rustdesk/rustdesk
android anydesk dart flatpak flutter flutter-apps ios linux macos p2p rdp remote-control remote-desktop rust rust-lang teamviewer vnc wayland windows
Last synced: about 2 months ago
JSON representation
An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
- Host: GitHub
- URL: https://github.com/rustdesk/rustdesk
- Owner: rustdesk
- License: agpl-3.0
- Created: 2020-09-28T15:36:08.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2026-10-10T14:29:11.000Z (about 2 months ago)
- Last Synced: 2026-10-10T21:33:44.016Z (about 2 months ago)
- Topics: android, anydesk, dart, flatpak, flutter, flutter-apps, ios, linux, macos, p2p, rdp, remote-control, remote-desktop, rust, rust-lang, teamviewer, vnc, wayland, windows
- Language: Rust
- Homepage: https://rustdesk.com
- Size: 80.6 MB
- Stars: 125,422
- Watchers: 639
- Forks: 19,589
- Open Issues: 176
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING-DE.md
- Funding: .github/FUNDING.yml
- Code of conduct: docs/CODE_OF_CONDUCT-DE.md
- Security: docs/SECURITY-DE.md
- Agents: AGENTS.md
- Claude: CLAUDE.md
- Gemini: GEMINI.md
Awesome Lists containing this project
- awesome-soft - RustDesk - Remote desktop (Utilites)
- awesome-weekend-repos - rustdesk/rustdesk - 133.2k (Uncategorized / Uncategorized)
- awesome-tools - rustdesk - An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer. (Uncategorized / Uncategorized)
- awesome-flutter - rustdesk - Another remote desktop software (Apps)
- awesome-software - RustDesk - Open source virtual/remote desktop software. (Desktop Tools / Remote Access)
- awesome-software - RustDesk - 可自托管的开源远程桌面工具,可连接与远程控制其他设备,作为 TeamViewer 的替代。 `跨平台` `AGPL-3.0` (软件与字体清单 / 远程桌面)
- gitcat - RustDesk远程桌面
- awesome-rust-cn - rustdesk/rustdesk - 一个远程桌面软件,是TeamViewer和AnyDesk的最佳替代品。 (应用程序 Applications / 公用事业公司 Utilities)
- awesome-rust - rustdesk/rustdesk - A remote desktop software, great alternative to TeamViewer and AnyDesk. (Applications / Utilities)
- awesome-reconsidera-takeaway - RustDesk -  – Windows/macOS/Linux/Android/iOS (工具 / 效率工具)
- my-awesome - rustdesk/rustdesk - topic:android,anydesk,dart,flatpak,flutter,flutter-apps,ios,linux,macos,p2p,rdp,remote-control,remote-desktop,rust,rust-lang,teamviewer,vnc,wayland,windows pushed\_at:2026-11 star:129.5k fork:20.7k An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer. (Rust)
- awesome-mac-mini-homeserver - RustDesk - Open-source remote desktop with an optional self-hosted relay server.     (Remote access)
- awesome - rustdesk/rustdesk -   — An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer. (GUI)
- awesome-starred - rustdesk/rustdesk - An open-source remote desktop, and alternative to TeamViewer. (dart)
- fucking-awesome-flutter - RustDesk - \[99332⭐\] - Open source virtual / remote desktop. TeamViewer alternative. Built with Rust by [RustDesk team](https://www.rustdesk.com/). (Templates / Clone)
- awesome-github-projects - rustdesk - An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer. ⭐133,049 `Rust` 🔥 (📱 Mobile Development)
- awesome - rustdesk/rustdesk - An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer. (131k stars) (Desktop Development)
- awesome-flutter - RustDesk - \[99332⭐\] - Open source virtual / remote desktop. TeamViewer alternative. Built with Rust by [RustDesk team](https://www.rustdesk.com/). (Templates / Clone)
- awesome-rust - rustdesk/rustdesk - A remote desktop software, great alternative to TeamViewer and AnyDesk. (Applications / Utilities)
- awesomeLibrary - rustdesk - Yet another remote desktop software (语言资源库 / rust)
- awesome-rust-list - RustDesk - <img src="https://img.shields.io/github/stars/rustdesk/rustdesk?style=social"/> : Virtual / remote desktop infrastructure for everyone\! Open source TeamViewer / Citrix alternative. [rustdesk.com](https://rustdesk.com). (Remote Desktop)
- awesome-rust-tools - rustdesk - The best open source remote desktop client software. (Others)
- awesome-open-source-alternatives - RustDesk
- awesome-trevor - RustDesk - open-source remote desktop application designed for self-hosting (Uncategorized / Uncategorized)
- awesome-ops - rustdesk/rustdesk - 一个远程桌面软件,用 Rust 编写。开箱即用,无需配置。您可以完全控制您的数据,无需担心安全性。 (运维管理平台)
- awesome - rustdesk/rustdesk - An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer. (Rust)
- awesome-open-source-mac-apps - RustDesk - Open source remote desktop (Remote Desktop)
- awesome-repositories-collection - RustDesk - (⭐ 102k) — Open-source remote desktop software. Self-hosted alternative to AnyDesk for remote access and support. (🌐 Networking)
- awesome-ccamel - rustdesk/rustdesk - An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer. (Rust)
- awesome-rust - rustdesk/rustdesk - A remote desktop software, great alternative to TeamViewer and AnyDesk. (Applications / Utilities)
- awesome-open-source-alternatives - Rustdesk - Remote desktop with self-hosted server option (Files & Media)
- awesome - rustdesk/rustdesk - An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer. (Rust)
- awesome-ai-agent-stack - rustdesk/rustdesk - Open-source remote desktop application designed for self-hosting, an alternative to TeamViewer. (Computer Use & GUI Agents)
- awesome - 🦀 RustDesk - Discover RustDesk, the best open source remote desktop software, control your desktop remotely. It is an alternative of TeamViewer and AnyDesk. You have full control of your data, no concerns about security. (Application)
- Github-Ultimate-Repos - rustdesk/rustdesk - | ⭐ 126,893★ | 🍴 19,979 | 💻 `Rust`🔗 <https://github.com/rustdesk/rustdesk>📝 An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.⚙️ `Zero-cost abstraction type checking -> affine borrow checker & lifetime validation -> LLVM backend code generation -> memory-safe native binary emission.` (📜 Master Categorized Repository Directory (100% Clickable Links) / [45] SYSTEMS PROGRAMMING, LOW-LEVEL RUNTIMES, MEMORY SAFETY & WEBASSEMBLY (WASM))
- awesome-linux-software - ![Open-Source Software][oss icon] - [Rustdesk](https://rustdesk.com/) - Open source virtual / remote desktop infrastructure for everyone\! The open source TeamViewer alternative. (Applications / Sharing Files)
- awesome-hacking-lists - rustdesk/rustdesk - An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer. (Rust)
- awesome - rustdesk/rustdesk - An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer. (Rust)
- awesome-open-source-tools - RustDesk - Self-hostable remote desktop (TeamViewer alternative) for pairing on design reviews and reaching your workstation from anywhere. (Remote desktop)
- fucking-awesome-rust - rustdesk/rustdesk - A remote desktop software, great alternative to TeamViewer and AnyDesk. (Applications / Utilities)
- awesome-repositories - rustdesk / rustdesk - | [(한국어 설명)](https://github.com/rustdesk/rustdesk/blob/master/README-KR.md) (Project / Application)
README

Build •
Docker •
Structure •
Screenshots
[Українська] | [česky] | [中文] | [Magyar] | [Español] | [فارسی] | [Français] | [Deutsch] | [Polski] | [Indonesian] | [Suomi] | [മലയാളം] | [日本語] | [Nederlands] | [Italiano] | [Русский] | [Português (Brasil)] | [Esperanto] | [한국어] | [العربي] | [Tiếng Việt] | [Dansk] | [Ελληνικά] | [Türkçe] | [Norsk] | [Română]
We need your help to translate this README, RustDesk UI and RustDesk Doc to your native language
> [!Caution]
> **Misuse Disclaimer:**
> The developers of RustDesk do not condone or support any unethical or illegal use of this software. Misuse, such as unauthorized access, control or invasion of privacy, is strictly against our guidelines. The authors are not responsible for any misuse of the application.
Chat with us: [Discord](https://discord.gg/nDceKgxnkV) | [Twitter](https://twitter.com/rustdesk) | [Reddit](https://www.reddit.com/r/rustdesk) | [YouTube](https://www.youtube.com/@rustdesk)
[](https://rustdesk.com/pricing.html)
Yet another remote desktop solution, written in Rust. Works out of the box with no configuration required. You have full control of your data, with no concerns about security. You can use our rendezvous/relay server, [set up your own](https://rustdesk.com/server), or [write your own rendezvous/relay server](https://github.com/rustdesk/rustdesk-server-demo).

RustDesk welcomes contribution from everyone. See [CONTRIBUTING.md](docs/CONTRIBUTING.md) for help getting started.
[**FAQ**](https://github.com/rustdesk/rustdesk/wiki/FAQ)
[**BINARY DOWNLOAD**](https://github.com/rustdesk/rustdesk/releases)
[**NIGHTLY BUILD**](https://github.com/rustdesk/rustdesk/releases/tag/nightly)
[
](https://f-droid.org/en/packages/com.carriez.flutter_hbb)
[
](https://flathub.org/apps/com.rustdesk.RustDesk)
## Dependencies
Desktop versions use Flutter or Sciter (deprecated) for GUI. This tutorial is for Sciter only, since it is easier and more friendly to start. Check out our [CI](https://github.com/rustdesk/rustdesk/blob/master/.github/workflows/flutter-build.yml) for building the Flutter version.
Please download Sciter dynamic library yourself.
[Windows](https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sciter.dll) |
[Linux](https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.lnx/x64/libsciter-gtk.so) |
[macOS](https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.osx/libsciter.dylib)
## Raw Steps to build
- Prepare your Rust development env and C++ build env
- Install [vcpkg](https://github.com/microsoft/vcpkg), and set `VCPKG_ROOT` env variable correctly
- Windows: vcpkg install libvpx:x64-windows-static libyuv:x64-windows-static opus:x64-windows-static aom:x64-windows-static
- Linux/macOS: vcpkg install libvpx libyuv opus aom
- run `cargo run`
## [Build](https://rustdesk.com/docs/en/dev/build/)
## How to Build on Linux
### Ubuntu 18 (Debian 10)
```sh
sudo apt install -y zip g++ gcc git curl wget nasm yasm libgtk-3-dev clang libxcb-randr0-dev libxdo-dev \
libxfixes-dev libxcb-shape0-dev libxcb-xfixes0-dev libasound2-dev libpulse-dev cmake make \
libclang-dev ninja-build libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
```
### openSUSE Tumbleweed
```sh
sudo zypper install gcc-c++ git curl wget nasm yasm gcc gtk3-devel clang libxcb-devel libXfixes-devel cmake alsa-lib-devel gstreamer-devel gstreamer-plugins-base-devel xdotool-devel
```
### Fedora 28 (CentOS 8)
```sh
sudo yum -y install gcc-c++ git curl wget nasm yasm gcc gtk3-devel clang libxcb-devel libxdo-devel libXfixes-devel pulseaudio-libs-devel cmake alsa-lib-devel gstreamer1-devel gstreamer1-plugins-base-devel
```
### Arch (Manjaro)
```sh
sudo pacman -Syu --needed unzip git cmake gcc curl wget yasm nasm zip make pkg-config clang gtk3 xdotool libxcb libxfixes alsa-lib pipewire
```
### Install vcpkg
```sh
git clone https://github.com/microsoft/vcpkg
cd vcpkg
git checkout 2023.04.15
cd ..
vcpkg/bootstrap-vcpkg.sh
export VCPKG_ROOT=$HOME/vcpkg
vcpkg/vcpkg install libvpx libyuv opus aom
```
### Fix libvpx (For Fedora)
```sh
cd vcpkg/buildtrees/libvpx/src
cd *
./configure
sed -i 's/CFLAGS+=-I/CFLAGS+=-fPIC -I/g' Makefile
sed -i 's/CXXFLAGS+=-I/CXXFLAGS+=-fPIC -I/g' Makefile
make
cp libvpx.a $HOME/vcpkg/installed/x64-linux/lib/
cd
```
### Build
```sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
git clone --recurse-submodules https://github.com/rustdesk/rustdesk
cd rustdesk
mkdir -p target/debug
wget https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.lnx/x64/libsciter-gtk.so
mv libsciter-gtk.so target/debug
VCPKG_ROOT=$HOME/vcpkg cargo run
```
## How to build with Docker
Begin by cloning the repository and building the Docker container:
```sh
git clone https://github.com/rustdesk/rustdesk
cd rustdesk
git submodule update --init --recursive
docker build -t "rustdesk-builder" .
```
Then, each time you need to build the application, run the following command:
```sh
docker run --rm -it -v $PWD:/home/user/rustdesk -v rustdesk-git-cache:/home/user/.cargo/git -v rustdesk-registry-cache:/home/user/.cargo/registry -e PUID="$(id -u)" -e PGID="$(id -g)" rustdesk-builder
```
Note that the first build may take longer before dependencies are cached, subsequent builds will be faster. Additionally, if you need to specify different arguments to the build command, you may do so at the end of the command in the `` position. For instance, if you wanted to build an optimized release version, you would run the command above followed by `--release`. The resulting executable will be available in the target folder on your system, and can be run with:
```sh
target/debug/rustdesk
```
Or, if you're running a release executable:
```sh
target/release/rustdesk
```
Please ensure that you run these commands from the root of the RustDesk repository, or the application may not find the required resources. Also note that other cargo subcommands such as `install` or `run` are not currently supported via this method as they would install or run the program inside the container instead of the host.
## File Structure
- **[libs/hbb_common](https://github.com/rustdesk/rustdesk/tree/master/libs/hbb_common)**: video codec, config, tcp/udp wrapper, and some other utility functions shared with the server
- **[libs/base](https://github.com/rustdesk/rustdesk/tree/master/libs/base)**: protobuf, fs functions for file transfer, keyboard and platform code used only by this app
- **[libs/scrap](https://github.com/rustdesk/rustdesk/tree/master/libs/scrap)**: screen capture
- **[libs/enigo](https://github.com/rustdesk/rustdesk/tree/master/libs/enigo)**: platform specific keyboard/mouse control
- **[libs/clipboard](https://github.com/rustdesk/rustdesk/tree/master/libs/clipboard)**: file copy and paste implementation for Windows, Linux, macOS.
- **[src/ui](https://github.com/rustdesk/rustdesk/tree/master/src/ui)**: obsolete Sciter UI (deprecated)
- **[src/server](https://github.com/rustdesk/rustdesk/tree/master/src/server)**: audio/clipboard/input/video services, and network connections
- **[src/client.rs](https://github.com/rustdesk/rustdesk/tree/master/src/client.rs)**: start a peer connection
- **[src/rendezvous_mediator.rs](https://github.com/rustdesk/rustdesk/tree/master/src/rendezvous_mediator.rs)**: Communicate with [rustdesk-server](https://github.com/rustdesk/rustdesk-server), wait for remote direct (TCP hole punching) or relayed connection
- **[src/platform](https://github.com/rustdesk/rustdesk/tree/master/src/platform)**: platform specific code
- **[flutter](https://github.com/rustdesk/rustdesk/tree/master/flutter)**: Flutter code for desktop and mobile
## Screenshots



