Streams the page running in the agent browser to any LAN web browser over WebSocket, with live clicks, typing and scrolling forwarded back through CDP.
Install
# from npm (prebuilt)
dsh plugin --profile web add dshgo-ego-remote
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:xqe-bkflda/dshgo-ego-remote
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
DSH Go plugin · Mirror the browser page running on your phone to a web page you can see and click from a computer or tablet.
Start the server from the app's Browser Remote panel, then open the printed URL on any device on the same WiFi. No extra software — the page is live and fully interactive (click, type, scroll).
Under the hood it talks directly to ego's Chrome DevTools Protocol (default 127.0.0.1:32773) and implements its own frame transport and input forwarding. The built-in dsh-ego-browser live view requires a dsh-auth cookie and sets disableFrameRelay: true, so an external browser can't see the frames — hence this separate implementation.
Install
cp -r dshgo-ego-remote "$DSH_HOME/dsh-go/plugins/local-ego-remote"
dsh plugin --profile web add "$DSH_HOME/dsh-go/plugins/local-ego-remote"
Or install it from the plugin marketplace. After that you'll find Browser Remote under: session details → plugin tab, all features → plugin groups, and the plugin capsule above the input box.
Run it
cd /root/workspace/ego-remote
tap "Start / Repair" in the panel # background; reuses the last port (default 7788)
./start.sh # foreground, Ctrl-C to stop
./start.sh --bg --port 9000 # different port
./start.sh --stop # stop only
Port precedence: --port > PORT env var > .port file (last used) > 7788. The port is remembered in .port, so the next start reuses it. No root, so stay above 1024.
On start it prints:
http://127.0.0.1:7788/?t=xxxxxxxx— on the phonehttp://192.168.x.x:7788/?t=xxxxxxxx— from another device on the same WiFi
The t= token lives in .token and survives restarts (delete it to rotate).
Transport: WebSocket binary frames, not SSE
[0x01][uint32 metaLen][meta JSON][raw JPEG bytes]
- Frames are binary, JPEG is no longer base64 (saves 33% of the payload) and no longer competes with SSE text frames
- Input rides the same connection as text frames —
{t:'input', type:'mouseMoved', x, y}— so a mouse move is no longer a separate HTTP POST - When the client can't keep up, only the newest frame is kept (the server drops stale frames once
bufferedAmount > 400KB), so latency never accumulates metaLen === 0means "reuse the previous meta" — the JSON is not resent every frame
Resolution follows the client's display size: the web page sends stage.clientWidth × devicePixelRatio, and the server reopens the screencast at that width. A 390px-wide phone viewport no longer receives 1280px-wide JPEGs — roughly a 9× reduction in decode work.
Measured with a 390×889 viewport on an animated page: 54 fps, ~35 KB per frame (was 26 fps).
What you can do on the mirrored page
| Action | Effect |
|---|---|
| Page dropdown | lists every ego page target, pick one and hit Connect |
| Click / drag | Input.dispatchMouseEvent — real clicks |
| Type | Input.insertText into the focused element |
| Scroll | wheel / touch scroll |
| Keyboard | raw key events |
| Screenshot | one-shot PNG of the current target |
Security
The server binds to the LAN and requires the t= token on every request. Don't expose it to the public internet.
License
MIT — see LICENSE.
Links
More in this category
Tencent/BrowserSkill#dsh-plugin-browserskill★ 10735
BrowserSkill bridge for controlling visible Chrome and Edge Agent Windows from DeepSeek Harness, with native browser tools, accessibility and VOM observations, screenshots, owned multi-session control, and a live Web UI overlay.
DDDMUC/dsh-free-search★ 1719
Free web search for DSH with 42 engines: 6 keyless (DuckDuckGo, Bing, SearXNG, Degoog, AnySearch), 6 key-or-keyless tiers (Exa, Tavily, Keenable, Firecrawl, Parallel, You.com), 5 HTML search pages, and keyed providers from Brave and Baidu to Zhihu, OpenAI and Claude. Failure-classified failover with cooldown and key rotation, allowlist switching, an editable fallback chain, zh/en language pools, Multi concurrent merge, 12 MCP tools and a standalone stdio server, with per-engine keys in settings.
omdsh-dev/dsh-browser#packages/browser/bridge-browser★ 1143
Chrome sidebar extension that lets DSH operate your browser directly, no vision capabilities required.
liustack/modsearch★ 1044
Web search bridge for text-only agents: ask the web or X, get structured JSON evidence (search, fetch, citations).
Fisfzy/dsh-ego-browser★ 577
Drive a real Chrome/Chromium browser from DeepSeek Harness with 35 structured tools for navigation, snapshots, clicks, forms, JavaScript/CDP, screenshots, downloads and tabs; a live sidebar mirrors the page and accepts mouse and keyboard input. It ships a managed CDP runtime, keeps login state across calls, and can import cookies from your everyday Chrome through a companion extension.
regrevia/Envoy#dsh-envoy★ 266
Distill any link into Markdown, a wiki or a knowledge base. Installs per host: DSH -> envoy-dsh; Claude Code/Codex -> envoy@envoy. Douyin/Bilibili video, image posts, WeChat, Xiaohongshu, PDFs, podcasts. Video is read on its own timeline with keyframes and ASR transcripts locatable to \[mm:ss], so the context carries what was said and shown instead of the title and the recommendation rail. On 60 turns with vs without: ends normally with the gaps named 22% -> 92%, times out 68% -> 0% (the A/B is exploratory: different time caps, no human correctness review). On 123 live links 80% came back usable (93% of the pages that answered).
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.