Перейти к основному содержимому
Q

dsh-ui-mirror

qeggs-dev/dsh-ui-mirror

Mirror the DeepSeek Harness Web UI to your LAN — one extra port, QR pairing, desktop approval.

Установка

dsh plugin --profile web add github:qeggs-dev/dsh-ui-mirror

README

UI Port Mirror (@local/dsh-ui-port-mirror)

English | 中文

UI Port Mirror

Serve a second copy of the DeepSeek Harness Web UI on another local port — static assets, /api requests and the WebSocket forwarded transparently — optionally reachable from the local network. Handy for a phone, a tablet, or a second machine on the same LAN.

Highlights

  • Another port, the same UI — http://127.0.0.1:8081/ mirrors the desktop interface; a sidebar switch and a settings page control it.
  • LAN access by QR code — the plugin publishes a LAN address, a QR code and a copy link; a one-time ticket makes every scan single-use.
  • The desktop approves every device — a bottom-right card names the IP and User-Agent and offers Allow / Deny, with an optional Remember this device that logs the device in silently next time.
  • Self-signed TLS, generated in-process — no OpenSSL, no external binary, no third-party dependency; bring your own tlsCertFile / tlsKeyFile if you prefer.
  • Built for real browsers — the TLS listener speaks HTTP/2 so the app's many event streams no longer exhaust a browser's six-connections-per-host limit; WebSocket upgrades keep working.
  • Bounded access — idle sessions disconnect, Revoke all devices kills every session and remembered device, and the number of LAN WebSocket tunnels is configurable.
  • Diagnosable — in-memory traffic log, page-error reporting from the LAN page, and an in-page self-test.

Quick start

  1. Enable the plugin; the mirror listens on 127.0.0.1:8081 — open http://127.0.0.1:8081/.
  2. For LAN access: Settings → UI Port Mirror → set the listen IP to 0.0.0.0 → Apply.
  3. Scan the QR code from a device, approve the request on the desktop, and the interface opens.

Documentation

中文文档:README.zh.md · docs/zh

Requirements

DeepSeek Harness Web UI (verified on DSH 0.2.2-rc.5). No third-party dependencies and no other plugins.

License

MIT © 2026 Qeggs — see LICENSE.

Похожие плагины