2021-12-01 08:08:10 +00:00
< p align = "center" >
2024-07-17 11:11:04 +00:00
< img src = "../res/logo-header.svg" alt = "RustDesk - あなたのためのリモートデスクトップ" > < br >
2021-12-01 08:08:10 +00:00
< a href = "#free-public-servers" > Servers< / a > •
< a href = "#raw-steps-to-build" > Build< / a > •
< a href = "#how-to-build-with-docker" > Docker< / a > •
< a href = "#file-structure" > Structure< / a > •
< a href = "#snapshot" > Snapshot< / a > < br >
2025-07-02 10:59:34 +00:00
[< a href = "README-UA.md" > Українська< / a > ] | [< a href = "README-CS.md" > česky< / a > ] | [< a href = "README-ZH.md" > 中文< / a > ] | [< a href = "README-HU.md" > Magyar< / a > ] | [< a href = "README-ES.md" > Español< / a > ] | [< a href = "README-FA.md" > فارسی< / a > ] | [< a href = "README-FR.md" > Français< / a > ] | [< a href = "README-DE.md" > Deutsch< / a > ] | [< a href = "README-PL.md" > Polski< / a > ] | [< a href = "README-ID.md" > Indonesian< / a > ] | [< a href = "README-FI.md" > Suomi< / a > ] | [< a href = "README-ML.md" > മലയാളം< / a > ] | [< a href = "README-JP.md" > 日本語< / a > ] | [< a href = "README-NL.md" > Nederlands< / a > ] | [< a href = "README-IT.md" > Italiano< / a > ] | [< a href = "README-RU.md" > Русский< / a > ] | [< a href = "README-PTBR.md" > Português (Brasil)< / a > ] | [< a href = "README-EO.md" > Esperanto< / a > ] | [< a href = "README-KR.md" > 한국어< / a > ] | [< a href = "README-AR.md" > العربي< / a > ] | [< a href = "README-VN.md" > Tiếng Việt< / a > ] | [< a href = "README-DA.md" > Dansk< / a > ] | [< a href = "README-GR.md" > Ελληνικά< / a > ] | [< a href = "README-TR.md" > Türkçe< / a > ]< br >
2024-07-17 11:11:04 +00:00
< b > READMEや< a href = "https://github.com/rustdesk/rustdesk/tree/master/src/lang" > RustDesk UI< / a > 、 < a href = "https://github.com/rustdesk/doc.rustdesk.com" > RustDesk Doc< / a > の翻訳者を歓迎します!< / b >
2021-12-01 08:08:10 +00:00
< / p >
2025-05-23 03:14:35 +00:00
私たちと話す: [Discord ](https://discord.gg/nDceKgxnkV ) | [Twitter ](https://twitter.com/rustdesk ) | [Reddit ](https://www.reddit.com/r/rustdesk ) | [YouTube ](https://www.youtube.com/@rustdesk )
2021-12-01 08:08:10 +00:00
2025-08-13 11:24:00 +00:00
[](https://rustdesk.com/pricing.html)
2021-12-01 08:08:10 +00:00
2024-07-17 11:11:04 +00:00
Rustで書かれた、設定不要ですぐに使えるリモートデスクトップソフトウェアです。自分のデータを完全にコントロールでき、セキュリティの心配もありません。私たちのランデブー/リレーサーバを使うことも、[自分でサーバーをセットアップする](https://rustdesk.com/server) ことも、 [自分でランデブー/リレーサーバを作成する ](https://github.com/rustdesk/rustdesk-server-demo )こともできます。
2021-12-01 08:08:10 +00:00
2022-06-12 23:59:34 +00:00

2024-07-17 11:11:04 +00:00
RustDeskは皆さんの貢献を歓迎します。
2025-07-02 10:59:18 +00:00
貢献の方法については[CONTRIBUTING.md](CONTRIBUTING.md)をご確認ください。
2024-07-17 11:11:04 +00:00
[**よくある質問** ](https://github.com/rustdesk/rustdesk/wiki/FAQ )
[**パッケージのダウンロード** ](https://github.com/rustdesk/rustdesk/releases )
2021-12-01 08:08:10 +00:00
2024-07-17 11:11:04 +00:00
[**ナイトリービルド** ](https://github.com/rustdesk/rustdesk/releases/tag/nightly )
2022-06-12 23:59:34 +00:00
2024-07-17 11:11:04 +00:00
[< img src = "https://fdroid.gitlab.io/artwork/badge/get-it-on.png"
alt="F-Droidで入手する"
height="80">](https://f-droid.org/en/packages/com.carriez.flutter_hbb)
2021-12-01 08:08:10 +00:00
## 依存関係
2024-07-17 11:11:04 +00:00
デスクトップ版ではGUIにFlutterまたはSciter(非推奨)を使用しますが、チュートリアルでは分かりやすく、簡単なSciterのみを対象に解説しています。Flutterでのビルド方法については[CI](https://github.com/rustdesk/rustdesk/blob/master/.github/workflows/flutter-build.yml)をご覧ください。
Sciter dynamic libraryを事前にダウンロードしてください。
2021-12-01 08:08:10 +00:00
[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 ) |
2024-07-17 11:11:04 +00:00
[macOS ](https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.osx/libsciter.dylib )
2022-06-13 00:00:11 +00:00
2021-12-01 08:08:10 +00:00
## ビルド手順
2024-07-17 11:11:04 +00:00
- Rust開発環境とC++ビルド環境を準備します。
2021-12-01 08:08:10 +00:00
2024-07-17 11:11:04 +00:00
- [vcpkg ](https://github.com/microsoft/vcpkg )をインストールし、環境変数に`VCPKG_ROOT`を設定します。
その後、以下のコマンドを実行します。
2021-12-01 08:08:10 +00:00
2024-07-17 11:11:04 +00:00
- 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
2022-06-12 23:59:34 +00:00
2024-07-17 11:11:04 +00:00
- `cargo run` を実行します。
2022-06-12 23:59:34 +00:00
2023-02-13 09:20:40 +00:00
## [ビルド](https://rustdesk.com/docs/en/dev/build/)
2022-06-12 23:59:34 +00:00
2024-07-17 11:11:04 +00:00
## Linuxでのビルド方法
2021-12-01 08:08:10 +00:00
### Ubuntu 18 (Debian 10)
```sh
2024-07-17 11:11:04 +00:00
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
2021-12-01 08:08:10 +00:00
```
### 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
```
### Arch (Manjaro)
```sh
2022-09-29 02:51:50 +00:00
sudo pacman -Syu --needed unzip git cmake gcc curl wget yasm nasm zip make pkg-config clang gtk3 xdotool libxcb libxfixes alsa-lib pipewire
2021-12-01 08:08:10 +00:00
```
2024-07-17 11:11:04 +00:00
### vcpkgのインストール
2021-12-01 08:08:10 +00:00
```sh
git clone https://github.com/microsoft/vcpkg
cd vcpkg
2023-05-09 03:40:33 +00:00
git checkout 2023.04.15
2021-12-01 08:08:10 +00:00
cd ..
vcpkg/bootstrap-vcpkg.sh
export VCPKG_ROOT=$HOME/vcpkg
2023-05-09 03:40:33 +00:00
vcpkg/vcpkg install libvpx libyuv opus aom
2021-12-01 08:08:10 +00:00
```
2024-07-17 11:11:04 +00:00
### libvpxの修正 (Fedoraのみ)
2021-12-01 08:08:10 +00:00
```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
```
2023-02-13 09:20:40 +00:00
### ビルド
2021-12-01 08:08:10 +00:00
```sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
git clone 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
```
2024-07-17 11:11:04 +00:00
## Dockerでのビルド方法
2021-12-01 08:08:10 +00:00
2024-07-17 11:11:04 +00:00
リポジトリをクローンし、Dockerコンテナを構築します:
2021-12-01 08:08:10 +00:00
```sh
git clone https://github.com/rustdesk/rustdesk
cd rustdesk
docker build -t "rustdesk-builder" .
```
2024-07-17 11:11:04 +00:00
以下のコマンドを実行します:
2021-12-01 08:08:10 +00:00
```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
```
2024-07-17 11:11:04 +00:00
このコマンドはRustDeskをビルドする度に実行する必要があります。
2021-12-01 08:08:10 +00:00
2024-07-17 11:11:04 +00:00
初回ビルドは時間がかかるかもしれませんが、2回目以降は依存関係がキャッシュされるため、ビルドにかかる時間が短くなります。
ビルドコマンドに追加の引数を指定する必要がある場合は、コマンドの最後(`< OPTIONAL-ARGS > `の位置)で指定することができます。例えば、最適化されたリリースバージョンをビルドしたい場合は、上記のコマンドの後に `--release` を追記し実行します。ビルドされた実行ファイルはあなたのシステムのターゲットフォルダに保存され、下記のコマンドで実行することができます。
2021-12-01 08:08:10 +00:00
2024-07-17 11:11:04 +00:00
デバッグビルドを起動する場合:
2021-12-01 08:08:10 +00:00
```sh
target/debug/rustdesk
```
2024-07-17 11:11:04 +00:00
リリースビルドを起動する場合:
2021-12-01 08:08:10 +00:00
```sh
target/release/rustdesk
```
2024-07-17 11:11:04 +00:00
コマンドをRustDeskリポジトリのルートから実行していることを確認してください。また、`install` や `run` などの他のcargoサブコマンドは、ホストではなくコンテナ内でプログラムをインストール、実行するため、現在の方法ではサポートされていません。
2021-12-01 08:08:10 +00:00
2023-02-13 09:20:40 +00:00
## ファイル構造
2021-12-01 08:08:10 +00:00
2024-07-17 11:11:04 +00:00
- **[libs/hbb_common](https://github.com/rustdesk/rustdesk/tree/master/libs/hbb_common)**: ビデオコーデック、設定、tcp/udpラッパー、protobuf、ファイル転送に利用されるfs関数やその他のユーティリティ関数
2021-12-01 08:08:10 +00:00
- **[libs/scrap](https://github.com/rustdesk/rustdesk/tree/master/libs/scrap)**: スクリーンキャプチャ
2024-07-17 11:11:04 +00:00
- **[libs/enigo](https://github.com/rustdesk/rustdesk/tree/master/libs/enigo)**: プラットフォーム固有のキーボード/マウス操作
- **[libs/clipboard](https://github.com/rustdesk/rustdesk/tree/master/libs/clipboard)**: Windows、Linux、macOS向けのファイルのコピーと貼り付けの実装
- **[src/ui](https://github.com/rustdesk/rustdesk/tree/master/src/ui)**: 廃止された Sciter UI (非推奨)
- **[src/server](https://github.com/rustdesk/rustdesk/tree/master/src/server)**:
オーディオ/クリップボード/入力/ビデオ サービスとネットワーク接続
2021-12-01 08:08:10 +00:00
- **[src/client.rs](https://github.com/rustdesk/rustdesk/tree/master/src/client.rs)**: ピア接続の開始
2024-07-17 11:11:04 +00:00
- **[src/rendezvous_mediator.rs](https://github.com/rustdesk/rustdesk/tree/master/src/rendezvous_mediator.rs)**: [rustdesk-server ](https://github.com/rustdesk/rustdesk-server )と通信し、リモートの直接接続(TCPホールパンチング)や中継接続を担う。
2021-12-01 08:08:10 +00:00
- **[src/platform](https://github.com/rustdesk/rustdesk/tree/master/src/platform)**: プラットフォーム固有のコード
2024-07-17 11:11:04 +00:00
- **[flutter](https://github.com/rustdesk/rustdesk/tree/master/flutter)**: デスクトップとモバイル向けのFlutterコード
- **[flutter/web/js](https://github.com/rustdesk/rustdesk/tree/master/flutter/web/js)**: Flutterウェブクライアント向けのJavaScript
2021-12-01 08:08:10 +00:00
2025-02-05 07:28:30 +00:00
> [!注意]
> **:不正使用に関する免責事項** <br>
> RustDeskの開発者は、このソフトウェアの非倫理的または違法な使用を容認または支持しません。不正アクセス、不正な制御、またはプライバシーの侵害などの不正使用は、当社のガイドラインに厳密に違反します。開発者は、アプリケーションの不正使用に対して一切の責任を負いません。
2024-07-19 15:56:39 +00:00
## スクリーンショット
2021-12-01 08:08:10 +00:00
2024-07-17 11:11:04 +00:00

2021-12-01 08:08:10 +00:00
2024-07-17 11:11:04 +00:00

2021-12-01 08:08:10 +00:00
2024-07-17 11:11:04 +00:00

2021-12-01 08:08:10 +00:00
2024-07-17 11:11:04 +00:00
