Copy text on the device and paste it on your computer, and vice versa.
If you need to control your phone from outside your LAN (e.g., from work), do not port forward. Use a tunnel. ws-scrcpy
Play Android games directly from your browser, using keyboard mapping or a gamepad connected to your computer. Copy text on the device and paste it
ws-scrcpy supports audio forwarding via sndcpy (Android 10+). Ensure your device is on Android 10+ and enable audio in the control panel. docker run -it --rm \ -p 8000:8000 \
On Linux servers, use pm2 or screen:
npm install -g pm2
pm2 start ws-scrcpy --name "android-mirror" -- --port 8000
pm2 save
pm2 startup
docker run -it --rm \
-p 8000:8000 \
-v /dev/bus/usb:/dev/bus/usb \
--privileged \
ghcr.io/netristv/ws-scrcpy:latest
Then open http://localhost:8000 in your browser.