yuxiaole-bili/dsh-apk-vm
Boots a local rooted AOSP Android VM, installs an APK into it and streams the screen into the DSH sidebar at up to 60 fps with an apk_vm agent tool.
Adds a sidebar entry whose panel boots an Android 14 AOSP emulator, installs an APK into the guest, streams the guest display over scrcpy's H.264 into a WebCodecs canvas, and forwards taps, swipes, keys and text back into the VM. The guest is a userdebug image prepared for root and the plugin exposes it to the harness through a loopback-only, same-origin debug HTTP API plus an apk_vm agent tool, so an agent can install, launch, tap and read logs without leaving the session. Drag-and-drop upload handles the APK itself, and multiple agents can each run their own isolated VM instance rather than sharing one device.
Install
dsh plugin --profile web add github:yuxiaole-bili/dsh-apk-vmThe README's preferred line is the published npm package (dsh plugin --profile web add dsh-apk-vm, version 0.3.13 on the registry, no runtime dependencies and no build step); the line above is its documented source fallback for when npm is not available. On the Electron-managed Desktop profile the supported route is Plugins then add/install local bundle. The README also notes that acceptance checks were run on Windows.
Compatibility
End-to-end verification is recorded on Windows x64 only; SDK and emulator discovery is said to cover Windows, macOS and Linux, so other platforms are a probe rather than a tested path. Needs an installed Android SDK with the system-images;android-34;default;x86_64 image, plus hardware virtualisation. The author's reference machine cold-boots in about 29.5 s and reaches 8.4-10.5 s from a snapshot. Cold start and first install are the slow path; the panel shows a self-check card naming missing prerequisites.
Details
- Repo: yuxiaole-bili/dsh-apk-vm
- Category: Tools & Capabilities
- Stars: 1
- Version: 0.3.13 (npm); this line installs from the GitHub default branch
Alternatives
maxiaovivi/dsh-cloak-browser · SamXiaBing/dsh-adb · Xiaobai01/dsh-tool-ths