holtdroidSelf-hosted Android devices for testers

Give your testersa cozy holt.

Self-hosted, open-source Android devices in a browser tab: the screen, Chrome DevTools, a native UI Inspector, decrypted HTTPS MITM with live traffic rules, a VPN location per device, recordings and W3C WebDriver / Appium for automated tests. Builds arrive from Slack, S3 or GitHub.

github.com/holtdroid· Apache-2.0· One Helm chart· APK never modified

Drawn live with the portal's own components, not a screenshot.

  • scrcpy screen
  • WebView DevTools
  • UI Inspector
  • MITM HTTPS proxy
  • Traffic rules
  • Frida scripts
  • WebDriver & Appium
  • MCP for AI agents
  • Clipboard sync
  • VPN per device
  • Network conditions
  • Recordings
  • App data saves
  • Pixel perfect
  • Logcat
  • DNS
  • Routes
  • WebSockets
  • Cache
  • Files
  • Terminal
  • Camera & microphone
  • Real USB phones
  • Passkeys
  • Helm

At a glance

In a session

Everything the app does, next to its screen

Each device opens in a tab with its screen, its controls and the tools you'd otherwise wire up over a cable.

The screen, in the tab

Streamed with scrcpy and decoded by WebCodecs: H.264 by default, H.265 or AV1 where the browser decodes them, up to 1080p, with the device's audio and a USB keyboard that types in any layout.

DevTools for every WebView

Debugging is switched on at runtime, so the APK is installed exactly as shipped. Elements, console and network for every WebView in the app.

A country per device

Where VPN locations are configured, each device reaches the internet through its own. Switch it from the session without restarting.

Bad networks on purpose

Networks from 5G down to GPRS, a region's round trips to CDNs, and scenarios like a subway ride. Emulator sessions with a VPN location.

Clipboard both ways

Copy on your computer, paste on the device, and back. Or only one way.

DNS, routes and WebSockets

Every lookup with rewrites to your own addresses, every connection with its country and network, every socket frame taken apart.

Pixel perfect

Lay the design mockup over a picture of the screen, mark what is off and export one picture with everything.

MITM proxy and traffic rules

Decrypt HTTPS with a per-session CA to inspect native and WebView requests, cache headers and WebSockets — or block, mock, redirect and rewrite responses live.

Native UI Inspector

Capture snapshots with clickable view bounds, verify id, XPath and UiSelector locators live, copy ready Appium or Selenide code, and tap or type straight onto the device.

App data saves

Save the app's sign-in, settings and WebView storage, and start the next session already logged in.

One-click launch, deep links

⚡ repeats your last launch. In a session, the Deep link tab opens links and the App row grants permissions and clears data.

Logcat, files, terminal

Logcat for the app or the whole device, a notice when it crashes, the app's files, and a shell next to the screen.

Recordings

One link instead of a bug report

The server records the session while it runs: the screen, every tap, the WebViews' network, console and WebSockets, logcat, DNS, the VPN exit and the device's load, on one timeline. Drop markers where it went wrong, then share a link.

What a recording keeps

  • Screen and taps
  • Logcat of the whole device
  • Decrypted HTTPS & WebView traffic
  • Console and exceptions
  • WebSocket messages
  • DNS and connections
  • VPN location and network conditions
  • CPU, memory and frames

Sources

Where builds come from

A sync job copies new APKs from a Slack channel, an S3 bucket, GitHub releases or a vendor's release archive into a source. Testers see them on the Apps page a few seconds later.

APK sources

And more

Smaller tools that save an afternoon

Each tile opens its page in the docs.

Why

Without a cable on your desk

What debugging a WebView in an Android app usually takes, and what it takes here.

TopicThe usual wayWith Holtdroid
A deviceA phone on your desk, or an emulator on your machineAndroid 11–16 in a browser tab, launched from the build's row
DevToolsA USB cable, developer options, chrome://inspect, and a build with WebView debugging onSwitched on at runtime for every WebView; the APK is installed as shipped
HTTPS trafficCharles or mitmproxy on your laptop, installing a CA by hand and patching Android 14+ storesPer-session MITM proxy with one-click CA, live mocks, rewrites and HAR export
Automated UI testsA separate Appium/Selenium farm, custom client wrappers and no network or log context on failures/wd/hub for Chrome, WebViews and native UI with standard clients, VPN, MITM and recorded failure markers
A WebView versionWhatever the device shipsThe built-in one or a Chromium build picked at launch
A countryA VPN app on the phoneA VPN location per device, picked at launch or switched live
A bad networkHope the train goes into a tunnelNetwork presets and scenarios like a subway ride
Sharing the bugA screen recording and pasted logsOne recording link with network, logcat and markers
Getting a buildDownloading from chat and sideloadingSlack, S3 and GitHub builds already on the Apps page

Automated tests

Drop into Selenium, Selenide and Appium

Point an existing JUnit 5, Spring, Selenide or Appium suite at /wd/hub with an access token — no custom client library, no Node Appium server. Drive Chrome, WebViews (with se:cdp) or the native Android UI, while every run keeps Holtdroid's VPN locations, bad networks, DNS rewrites, MITM traffic rules, Frida scripts, recordings and test markers.

Selenium & SelenideAppium AndroidDriverChrome & WebView + se:cdpNative UiAutomator2VPN & bad network mid-testMITM rules & Frida scriptsRecordings & test markers
OrdersFlowTest.javaW3C /wd/hub · UiAutomator2
var options = new UiAutomator2Options()
  .setCapability("holtdroid:options", Map.of(
    "target", "native", "source", "slack", "artifact", id,
    "location", "pl", "network", "lte-good", "inspectHttps", true
  ));

var driver = new AndroidDriver(hubConfig("/wd/hub", token), options);

// 1. Splash closes without hanging on animations
$(AppiumBy.id("splash_loader")).should(disappear);

// 2. Check auth state, sign in, open a section
if ($(AppiumBy.id("open_login")).is(visible)) {
  $(AppiumBy.id("open_login")).click();
  $(AppiumBy.id("email")).setValue("qa@example.com");
  $(AppiumBy.id("password")).setValue(password);
  $(AppiumBy.id("sign_in")).click();
}
$(AppiumBy.accessibilityId("Orders")).click();
Recording & failure markers attached app/clear-data resets between tests

AI agents · MCP

Drive real devices from your coding agent

Point Claude Code, Cursor, Codex, Antigravity or VS Code at /api/v1/mcp with a scoped access token. Three progressive-discovery tools keep schema overhead around 500 tokens while giving agents live UI & WebView trees, verified Appium/Selenide locators, adb.run shell access, MITM HTTPS inspection and Frida hooks to debug issues or author end-to-end tests.

3 tools · ~500 tokensClaude Code, Cursor & CodexAntigravity & VS CodeUI tree diffs & WebView DOMadb.run, logcat, MITM & FridaAppium/Selenide selector rankingInstallable Agent Skill
agent-session.mcpPOST /api/v1/mcp · 3 tools
// 1. Load schemas & playbooks lazily on demand
holtdroid_discover({ "topic": "investigate-for-tests" })

// 2. Launch with MITM HTTPS & rank Appium/Selenide selectors
holtdroid_act({ "action": "sessions.launch", "params": { "build": "shop.apk", "inspectHttps": true } })
holtdroid_inspect({ "action": "ui.tree", "session": "emulator/abc123" })
holtdroid_inspect({ "action": "ui.selectors", "session": "emulator/abc123", "params": { "ref": "e5" } })

// 3. Batch steps, inspect WebView DOM & reset WebView without losing login
holtdroid_act({
  "action": "ui.run", "session": "emulator/abc123",
  "params": { "steps": [{ "type": "qa@example.com", "ref": "e3" }, { "tap": "e5" }], "observe": "diff" }
})
holtdroid_act({ "action": "app.control", "session": "emulator/abc123", "params": { "op": "clear-webview" } })
holtdroid_act({ "action": "adb.run", "session": "emulator/abc123", "params": { "cmd": "dumpsys window" } })
Native + WebView + adb.run enabled by default Local bridge: holtdroid mcp & holtdroid skill install

For developers

Your localhost, on the phone

Run the holtdroid client on your computer. Devices you launch reach the ports you publish ashttp://localhost:<port>, and each device's ADB gets a port on your machine, so adband chrome://inspect just work. It goes over SSH through the portal's gateway, with no SSH keys to manage.

holtdroidzsh
Meanwhile, in another terminal, adb already knows the device.

Self-hosted

Runs on your cluster, your way

One Go binary and a Helm chart. Sign-in, storage, secrets and VPN are your choice; nothing is tied to a vendor.

Android in containers

redroid on the node's own kernel, several devices per node, with ARM translation for 64-bit ARM builds.

Real phones too

USB phones on a small host join the same portal, with or without root.

A fair line

Slots per node and per provider. When every device is busy, a launch waits in line; idle devices are reclaimed.

Sign-in your way

Anonymous animal names, a shared password, OIDC, a forward-auth proxy, or users with passkeys and invite links.

anonymouspasswordoidcheaderusers

Observable

Prometheus metrics, OpenTelemetry traces and audit events to stdout, OTLP or a webhook.

No lock-in

Secrets from env, files or OpenBao. Storage on disk or S3. Any VPN that sing-box speaks.

Get started

Try it locally or install it

No cluster? make dev runs the whole UI with simulated devices that stream a recorded screen.

On DockerSoon

Docker Compose on Windows, macOS and Linux is on the way. Until then, try the UI with simulated devices.

shell
git clone https://github.com/holtdroid/holtdroid
cd holtdroid && mise install && make dev   # :8080
Local development
On KubernetesHelm

Nodes with binder run Android in containers, several per node. x86_64 nodes for now, arm64 soon.

shell
helm install holtdroid \
  oci://ghcr.io/holtdroid/charts/holtdroid \
  -n holtdroid -f values.yaml
Installation

Open source

Six repositories

Each does one job. Use them together or take only the piece you need.

Give your testers a cozy holt.