Skip to content

Releases

cliscrpy v3.1

Choose a tag to compare

@nerdcuba nerdcuba released this 28 Nov 13:02
c828d2f

Install / update

cliscrpy update
# or: curl -fsSL https://raw.githubusercontent.com/nerdcuba/cliscrpy/main/install.sh | bash
# macOS: brew upgrade cliscrpy

What's new

  • uninstall-app <package> [name]: uninstall an app from every phone in parallel. Says plainly when the app isn't installed.
  • Help: icons that every terminal font has (🔄 reconnect, 💻 run) and a wider command column.

cliscrpy v3.0

Choose a tag to compare

@nerdcuba nerdcuba released this 28 Nov 12:25
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.

cliscrpy v2.4

Choose a tag to compare

@nerdcuba nerdcuba released this 28 Nov 11:59
2d66c21

Install / update

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

On macOS, install the dependencies with Homebrew first:

brew install bash scrcpy
brew install --cask android-platform-tools

What's new

macOS support

  • Runs on macOS with Homebrew's bash. If you start it with the system bash 3.2, cliscrpy switches to Homebrew's bash automatically.
  • Mirrors start detached even without setsid. Notifications go to Notification Center.
  • Recordings are saved to ~/Movies/cliscrpy.
  • The dependency installer knows Homebrew (scrcpy formula + android-platform-tools cask).

Quality

  • New test suite (tests/run.sh): 23 checks against fake adb/scrcpy, so it never touches real phones or your config.
  • CI runs the suite on Linux and macOS for every pull request and every push to main.
  • Open mirrors are detected with a portable ps call, so close works the same on both systems.

Notes

  • Windows is not supported. If you'd like it, open an issue.
  • macOS is verified in CI. It hasn't been tested yet with a real phone on a Mac, so feedback is welcome.

cliscrpy v2.3

Choose a tag to compare

@nerdcuba nerdcuba released this 28 Nov 11:48

Install / update

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

What's new

Fixes

  • close / restart: wait until scrcpy has really exited and force-close a hung mirror after 3s. restart now actually reopens frozen windows.
  • awake: unknown names now show a clear error instead of writing bogus entries to devices.conf. Also accepts the model name shown in status.
  • wifi: phones keep their name and stay-awake setting after switching to wireless (IP:5555).
  • record: honors BITRATE and MAX_SIZE, and refuses to open a second window for a phone that is already mirrored.
  • close no longer mistakes a recording's file path for a window title.
  • Registry edits use exact field matching, so serials like 192.168.1.5:5555 are handled safely.
  • Correct exit codes on success.

Improvements

  • Logs moved from /tmp to ~/.local/state/cliscrpy/.
  • EXTRA_ARGS supports quoted arguments.
  • Clearer errors for typos (Unknown command or phone) and unauthorized phones (accept the USB debugging prompt).
  • Installer only copies a genuine local script and ships its own icon.
  • New README with screenshot, MIT LICENSE. Linux only.