# scws
**Repository Path**: chenshaogui/scws
## Basic Information
- **Project Name**: scws
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2026-05-29
- **Last Updated**: 2026-05-29
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# SCWS stands for ScrCpy via WS
WebSocket streaming based client of [Genymobile/scrcpy](https://github.com/Genymobile/scrcpy) used for:
- streaming video and audio
- remote control (key strokes, mouse clicks, scroll & touch events)
of Android apps.
Use cases:
- Remote control your physical Andorid device (connected either via USB or WIFI)
- Remote control of [Remote Android](https://github.com/remote-android/redroid-doc) apps, Android running as a docker container in the cloud.
- Play online Andorid games in your browser
## Project About
This project git repo [scws](https://github.com/chenshaogui/scws) copy from gjovanov/scws
支持屏幕旋转、全屏、音频、锁屏、多设备等
# Quick start
### docker push
`docker pull qychan/scrcpy-web-audio:amd-1.0.0`
OR
`docker pull qychan/scrcpy-web-audio:arm-1.0.0`
## docker compose yaml
``` yaml
services:
scws:
image: qychan/scrcpy-web-audio:amd-1.0.0
container_name: scrcpy-web-audio
ports:
- '4001:4001'
restart: unless-stopped
healthcheck:
test: adb connect 127.0.0.1:5555
interval: 10s
start_period: 10s
```
OR
``` yaml
services:
scws:
image: qychan/scrcpy-web-audio:arm-1.0.0
container_name: scrcpy-web-audio
ports:
- '4001:4001'
restart: unless-stopped
healthcheck:
test: adb connect 127.0.0.1:5555
interval: 10s
start_period: 10s
```
## Open Https Proxy(必须开启http代理,否则无法使用)
* 生成https证书,有效期为 3650 天
```
openssl req -x509 -nodes -newkey rsa:2048 -keyout key.pem -out cert.pem -days 3650 -subj "/CN=127.0.0.1"
```
* 使用caddy镜像配置CaddyFile
```markdown
:8443 {
tls /config/cert.pem /config/key.pem
header {
Cross-Origin-Opener-Policy same-origin
Cross-Origin-Embedder-Policy require-corp
}
reverse_proxy http://127.0.0.1:4001
}
```