Directories
¶
| Path | Synopsis |
|---|---|
|
server
|
|
|
cmd/droidline
command
Command droidline is the PC server, the CLI for every phone command, and the MCP adapter, in one binary.
|
Command droidline is the PC server, the CLI for every phone command, and the MCP adapter, in one binary. |
|
cmd/droidline-fakephone
command
Command droidline-fakephone is a simulated phone for trying Droidline, and for SDK tests in CI, without a device.
|
Command droidline-fakephone is a simulated phone for trying Droidline, and for SDK tests in CI, without a device. |
|
cmd/droidline-relay
command
Command droidline-relay is the self-hosted relay for a VPS or Docker.
|
Command droidline-relay is the self-hosted relay for a VPS or Docker. |
|
internal/agentlink
Package agentlink is the server side of the phone link: the two-line handshake and the encrypted session (PROTOCOL.md 4.4-4.5).
|
Package agentlink is the server side of the phone link: the two-line handshake and the encrypted session (PROTOCOL.md 4.4-4.5). |
|
internal/client
Package client talks to a running server's client API over NDJSON.
|
Package client talks to a running server's client API over NDJSON. |
|
internal/dlcrypto
Package dlcrypto implements the key schedule and envelope from PROTOCOL.md sections 4.3-4.5, plus relay tickets from section 6.2.
|
Package dlcrypto implements the key schedule and envelope from PROTOCOL.md sections 4.3-4.5, plus relay tickets from section 6.2. |
|
internal/fakeagent
Package fakeagent is a phone simulator that speaks the real agent protocol over a tiny fake app, so servers, SDKs and CI can run without a device.
|
Package fakeagent is a phone simulator that speaks the real agent protocol over a tiny fake app, so servers, SDKs and CI can run without a device. |
|
internal/hub
Package hub connects clients to phones: it owns the device registry, per-device command queues, pairing, events and server-side commands.
|
Package hub connects clients to phones: it owns the device registry, per-device command queues, pairing, events and server-side commands. |
|
internal/inspect
Package inspect serves droidline inspect: a local page that shows a phone's screen and element tree, suggests selectors with code, and records taps and typing as a script.
|
Package inspect serves droidline inspect: a local page that shows a phone's screen and element tree, suggests selectors with code, and records taps and typing as a script. |
|
internal/mcp
Package mcp exposes every Droidline command as an MCP tool over stdio.
|
Package mcp exposes every Droidline command as an MCP tool over stdio. |
|
internal/relay
Package relay forwards lines between a Droidline server and its phones when both sit behind NAT (PROTOCOL.md section 6).
|
Package relay forwards lines between a Droidline server and its phones when both sit behind NAT (PROTOCOL.md section 6). |
|
internal/server
Package server wires the hub to its listeners: the agent port, the client API, UDP discovery and an optional relay connection.
|
Package server wires the hub to its listeners: the agent port, the client API, UDP discovery and an optional relay connection. |
|
internal/store
Package store keeps the server's files: config.toml (edited by people), state.json (paired devices, written by the server) and the secret store.
|
Package store keeps the server's files: config.toml (edited by people), state.json (paired devices, written by the server) and the secret store. |
|
internal/vision
Package vision finds a picture on a screenshot and reads text with Tesseract.
|
Package vision finds a picture on a screenshot and reads text with Tesseract. |
|
internal/webdriver
Package webdriver speaks the W3C WebDriver protocol with Appium's Android extensions, so Appium clients, Appium Inspector, WebdriverIO and Robot Framework can drive phones through a running Droidline server.
|
Package webdriver speaks the W3C WebDriver protocol with Appium's Android extensions, so Appium clients, Appium Inspector, WebdriverIO and Robot Framework can drive phones through a running Droidline server. |
|
internal/wire
Package wire carries NDJSON lines over TCP, TLS and WebSocket behind one interface, and tells protocols apart by the first byte a peer sends.
|
Package wire carries NDJSON lines over TCP, TLS and WebSocket behind one interface, and tells protocols apart by the first byte a peer sends. |
|
Package spec loads commands.json, the single definition of every Droidline command, and normalises raw requests against it.
|
Package spec loads commands.json, the single definition of every Droidline command, and normalises raw requests against it. |
Click to show internal directories.
Click to hide internal directories.




