Skip to content

cliscrpy v3.0

Choose a tag to compare

@nerdcuba nerdcuba released this 28 Nov 12:25
· 8 commits to main since this release
9f79b5f

Install / update

curl -fsSL https://raw.githubusercontent.com/nerdcuba/cliscrpy/main/install.sh | bash

Already on 2.x? cliscrpy update works from now on. Your registered phones are migrated automatically.

Fleet control

  • install <apk> [name] — install an app on every phone in parallel.
  • shot [name] — screenshot every phone to ~/Pictures/cliscrpy.
  • url <url> [name] — open a link or deep link on every phone.
  • clear <package> [name] — clear an app's data everywhere.
  • run "<cmd>" [name] — run an adb shell command everywhere.

Wireless

  • Phones are identified by their hardware serial (ro.boot.serialno, set by the bootloader, so it stays put even when ro.serialno is spoofed), so a phone shows up once whether it's on USB, Wi-Fi or both (USB is preferred for mirroring).
  • pair <ip:port> <code> — pair over Wi-Fi without a cable (Android 11+).
  • reconnect — reconnect known phones over Wi-Fi via mDNS or their last known IP.
  • status shows the link (usb, wifi, usb+wifi).

Tools

  • doctor — checks bash, scrcpy, adb, phones, open mirrors and recent log errors.
  • update and uninstall [--purge].
  • Shell completions for bash, zsh and fish (completion <shell>), set up by the installer.
  • AUR PKGBUILD and Homebrew formula in packaging/.

Under the hood

  • Mirrors are tracked by PID and matched by exact window title, no regex.
  • The registry gains a 4th column (last Wi-Fi IP). v2 registries are migrated automatically.
  • Fixed: adb shell swallowed the device list, so only the first phone was seen.
  • Phones that report a bogus serial (unknown) are never merged.
  • shellcheck runs in CI.