Ws-scrcpy -

git clone https://github.com/NetrisTV/ws-scrcpy.git
cd ws-scrcpy
npm install
npm start

If port 8000 is blocked, use the --port flag:

ws-scrcpy --port 8080

You have a tablet mounted on the wall controlling Home Assistant. You want to debug why the screen goes black at midnight. Instead of standing in front of the wall, you run WS-SCRCPY on your server and watch the tablet’s screen from your laptop.


WS-SCRCPY transforms your web browser into the most powerful Android command center available. Whether you are a solo developer tired of USB cables or an MSP managing a hundred devices, this tool offers enterprise-grade functionality without the price tag.

Quick Start Recap:

The days of reaching across your desk for a phone charger are over. Embrace the browser. Embrace WS-SCRCPY.

is a web-based client prototype for , the popular open-source tool for mirroring and controlling Android devices from a computer. Unlike the standard version that runs as a desktop application,

allows you to view and control your phone directly through a web browser using WebSockets. Key Features Browser-Based Control

: Mirror your screen and use touch events, keyboard input, and mouse/touchpad scrolling without a dedicated desktop client. Multiple Players : Supports several video decoders including (for Chrome/Chromium), File Management

: Supports dragging and dropping APKs for installation, file pushing, and browsing device files. Remote Shell : Access a remote shell directly from your browser. Device Interaction

: Supports device rotation, multi-touch emulation, and clipboard sharing between the device and computer. Prerequisites Android Device : Must be running Android 5.0 (API 21) or higher. USB Debugging : You must enable Developer Options and turn on USB Debugging on your Android device. Server Environment : Requires a server (often ws-scrcpy

) to handle the WebSocket communication between the browser and the device. Quick Setup Steps Prepare the Phone Settings > About Phone and tap the Build Number seven times to unlock Developer Options. Enable USB Debugging Install Node.js & ws-scrcpy : Download the ws-scrcpy repository and install dependencies using npm install Run the Server : Start the server using the provided commands (usually or building from source). Connect via Browser

: Open your browser and navigate to the local address (typically

ws-scrcpy is a specialized web-based extension of the renowned open-source tool scrcpy. Developed by NetEase, it transforms the core functionality of screen mirroring and remote control into a browser-accessible experience, eliminating the need for a dedicated local client. The Evolution of Screen Mirroring

Traditional mirroring tools, like the original scrcpy, rely on a direct desktop interface and a local installation. While highly efficient with ultra-low latency (35–70ms), they can be restrictive for teams or users who need to access devices remotely across different networks. ws-scrcpy bridges this gap by acting as a bridge between the Android Debug Bridge (ADB) and a web browser using WebSockets. Key Technical Advantages

Browser-Based Accessibility: Users can control their Android devices via any modern web browser (Chrome, Firefox, Safari) without installing separate software.

Remote Team Collaboration: It is particularly effective for quality assurance (QA) and development teams who need to share access to a single physical device located in a different office or data center.

Low Friction Setup: Like its predecessor, it requires no root access and no app installation on the Android device itself.

Feature Parity: It retains essential features such as keyboard/mouse control, file drag-and-drop, and high-quality video streaming. Use Cases and Impact

For Android developers, ws-scrcpy simplifies debugging by allowing them to view device logs and screens directly in the same browser where they might be managing other web-based development tools. For general users, it provides a seamless way to manage notifications or use mobile-only apps on a desktop environment without tethering themselves to a specific workstation. git clone https://github

In conclusion, ws-scrcpy represents the "cloudification" of device management. By leveraging the performance of scrcpy and the ubiquity of the web, it offers a powerful, flexible, and cross-platform solution for the modern, interconnected workflow. If you'd like to dive deeper into this topic:

Do you need a comparison between ws-scrcpy and other web-based tools like AirDroid?

Genymobile/scrcpy: Display and control your Android device - GitHub

The Evolution of Remote Access: A Look at ws-scrcpy (screen copy) has long been the gold standard for mirroring and controlling Android devices from a desktop, prized for its high performance and low latency. However, as cross-platform needs grew, developers sought ways to bypass the requirement of a local desktop client. Enter

, a specialized fork that brings the power of scrcpy into the web browser via WebSockets. Bridging the Gap to the Browser

Unlike the original scrcpy, which requires a standalone application on the host PC,

operates as a web client prototype. It utilizes a modified version of the scrcpy-server.jar

that integrates a WebSocket server, allowing the Android device to listen for connections on all network interfaces. Browser-Based Interaction

: Users can control their physical or virtual Android devices directly through a web browser, making it accessible on any OS without local software installation. Persistent Connections If port 8000 is blocked, use the --port

: A key technical departure is that the ws-scrcpy server remains running on the device even after a client disconnects, facilitating easier reconnection. Diverse Playback Options

: To ensure compatibility, ws-scrcpy includes multiple video decoders, such as Mse Player for HTML5 video, (software-based), and for Chromium-based browsers. Advanced Functionality and Use Cases

ws-scrcpy is not just a mirroring tool; it provides a suite of remote management features that extend into professional and experimental realms: Full Remote Control

: It supports multi-touch emulation, keyboard event capturing, and bidirectional clipboard synchronization. Remote Shell and File Management : Integrated

allows for adb shell access directly in the browser, alongside minimalistic file management for uploading and downloading files via drag-and-drop. Experimental iOS Support

: While primarily for Android, recent iterations have included experimental support for iOS screen casting using WebDriverAgent. Docker and Cloud Integration

: The tool is highly suitable for remote Android applications running as Docker containers in the cloud, allowing developers to manage "headless" devices through a visual interface. Security and Maintenance Considerations

While powerful, ws-scrcpy is a "prototype" with significant security warnings. By default, there is no encryption

or authorization between the browser and the device's WebSocket server. Users must manually configure HTTPS or other security layers for safe use in non-private networks.

Instructors connect one Android device to ws-scrcpy, and all students watch the same screen in their browsers while the instructor demonstrates features.