- TypeScript 70.4%
- Rust 25.1%
- JavaScript 2.1%
- CSS 1.8%
- Nix 0.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github | ||
| .vscode | ||
| docs | ||
| public | ||
| scripts | ||
| src | ||
| src-tauri | ||
| updater | ||
| .coderabbit.yaml | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| GUIDE.md | ||
| icon.png | ||
| index.html | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| SECURITY.md | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
OpenScrcpy
Control your Android from the desktop. Mirror the screen, use it as a webcam, or open a virtual display.
v1.1.7 · MIT · Linux / Windows / macOS
Screenshots
| Light | Dark |
|---|---|
![]() |
![]() |
Features
- Mirror, camera and desktop modes — screen mirroring, phone-as-webcam with lens, torch and zoom controls, and a virtual display with flex resize.
- Precision input over OTG/HID — hardware keyboard and mouse simulation, side by side.
- Wireless pairing with history — pair Android 11+ devices over Wi-Fi and reconnect in one click.
- One-click core setup — automatic core binary download and update checks, right from the header.
- Render driver selection — capability-aware graphics backends, filtered by OS.
- Drag and drop files — drop an APK to install it, or push any file to
/sdcard/Download/. - In-app update notices — checks the Forgejo releases and installs the signed update from inside the app.
Installation
Quick start
- Download the latest release from Releases.
- Enable USB debugging on your Android device (plus Wireless debugging for Wi-Fi connections).
- Follow the full walkthrough in GUIDE.md or the Wiki.
NixOS (flakes)
To install it permanently with a desktop launcher, add the flake to your system's flake.nix:
inputs.openscrcpy.url = "git+https://v16.next.forgejo.org/UmbrCorp/OpenScrcpy";
Then add it to your system packages:
environment.systemPackages = [
inputs.openscrcpy.packages.${pkgs.system}.default
];
Development
Prerequisites
- A JavaScript runtime (v18 or newer)
- The Rust toolchain and Cargo
- The desktop framework's OS-level prerequisites
Build
npm installnpm run tauri dev— developmentnpm run tauri build— production
Updates
The app updates through the Tauri updater plugin, which polls
updater/latest.json on the default branch. scripts/publish-release.mjs manifest rebuilds that file from the published release assets: it maps each
platform to the signed artifact and uses the release body as the notes. An
empty body falls back to Release v<version> instead of the old placeholder.
The app version must match in package.json, src-tauri/tauri.conf.json,
src-tauri/Cargo.toml, src-tauri/Cargo.lock and updater/latest.json.
scripts/__tests__/version-consistency.test.ts enforces it.
Security
The in-app console runs only the adb and scrcpy binaries resolved by the
app, not an arbitrary shell. It is meant for device and session commands.
Found a vulnerability? Read SECURITY.md — report it privately, never in a public issue.
License
This project is licensed under the MIT License — see the LICENSE file for details.

