DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-plugin-qr-connect

m

dsh-plugin-qr-connect

Manifest valid★ 2

A QR-code button above Settings that lets phones connect to the web UI through an auth-gated reverse proxy.

UI (client)hasBundlePatch

dsh-plugin-qr-connect

dsh-plugin-qr-connect banner — scan to connect any device to your DeepSeek Harness web UI

English | 中文

A DeepSeek Harness (DSH) Web plugin that adds a QR-code button above the Settings button in the sidebar footer. It runs a small auth-gated reverse proxy so a phone on the same network (or the internet) can scan a QR code and open the web UI securely. It is a persistent bundle plugin (a host half plus a browser half) that loads on every boot.

Demo

dsh-plugin-qr-connect demo — click the QR button, scan, connect

What it does

  • Adds a full-width button (sidebar.footer.action, id qr-connect) stacked above the shipped Plugins button.
  • Opens a fading panel with two QR codes:
    • Local network — http://<lan-ip>:<port>/?auth=<secret>.
    • Public internet — http://<public-ip>:<port>/?auth=<secret> (blue).
  • The reverse proxy (a child node process on 0.0.0.0:<port>) validates the secret, issues a session cookie (default 30 days), and forwards to the loopback web UI — including WebSocket upgrades so live updates reach the phone.
  • The secret rotates every 30s by default and the QR refreshes to match (configurable; 0 disables auto-refresh).
  • Click a QR to copy its link; the public QR has an info tooltip.
  • A QR connect card under Settings → Plugins configures the proxy port, session length, and refresh interval.
  • English and Chinese UI via DSH's locale service.

Files

FilePurpose
lib/index.jsHost half — runs the reverse proxy and the /__qr/* state routes.
lib/client.jsBrowser half — the QR button and the settings card.
lib/proxy.cjsThe auth-gated reverse proxy child process (HTTP + WebSocket).
cordis.patch.ymlComposition patch that inserts the plugin row.
package.jsonPackage metadata (dsh.bundle + dsh.client manifest).

Install

dsh plugin --profile web add github:mervyn-teo/dsh-plugin-qr-connect

Then restart dsh web — host bundles load at boot.

Defaults live in cordis.patch.yml (port, sessionDays, refreshSeconds, publicHost). Change them there (or in the profile's own cordis.patch.yml) and restart, or adjust them from the settings card — edits are written to the qr-connect settings namespace's user layer, so they survive restarts and layer over the composition defaults. publicHost is a custom domain or IP used for the public-internet QR code instead of the auto-detected public IP (accepts host, host:port, or a full https:// origin; empty = auto-detect). The host half serves three same-origin routes the browser half uses: GET /__qr/info, POST /__qr/rotate, and GET|POST /__qr/config.

Requirements

  • DSH with the subprocess, fs, and webServer services mounted, plus the settings service for the Settings → Plugins card (without it the card is hidden and edits stay runtime-only).
  • Internet access from the DSH host for the public-IP lookup (https://api.ipify.org).
  • The scanning device must be able to reach the proxy port (a host firewall may need an allow rule); the public QR also needs internet reachability (port-forwarding).

Local-IP and public-IP detection run in-process (no ip/curl/shell commands), and manual secret rotation signals the proxy child over its stdin, so the host half works on Windows, macOS, and Linux.

Security

The proxy exposes the full agent shell to anyone who can reach the port, gated only by the 30s secret and the session cookie. Use a short session length and treat this as a trusted-network convenience, not a hardened remote-access layer.

License

MIT

Compatibility

DSH 0.2.1-rc.4: failedDSH 0.2.1-rc.3: failedDSH 0.2.1-rc.1: failed

Versions

Latest versionPublishedSize
0.1.1——
0.1.2——
0.1.3——

Comments

Loading…

Similar plugins

DSH-QrPairing

by huaxiren6

Floating phone-pairing QR button for the DSH WebUI. Companion UI for dsh-remote-link.

UI & ExperienceManifest valid

★ 0

↓ 76/wk

MIT

JavaScript

Aug 27, 2026

dsh plugin --profile web add dsh-remote-qr-button

by Raiyan007-gb

Scan a QR code in Settings to open the DeepSeek Harness web UI on your phone inside the active session via a cloudflared quick tunnel.

Tools & CapabilitiesDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 2

↓ 103/wk

MIT

JavaScript

Sep 5, 2026

dsh plugin --profile web add dsh-remote-tunnel-easy

by ChenJun25

Pair a phone with this computer's DSH instance by QR code or a six-digit code, then drive it remotely — send instructions, view images, answer approvals — from the panel, with public-tunnel support fo

Tools & CapabilitiesManifest valid

★ 4

JavaScript

Oct 27, 2026

dsh plugin --profile web add dsh-console-plugin

by yoggu

QR-code phone login for a DeepSeek Harness over its configured public HTTPS origin.

Development & InfrastructureTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Sep 29, 2026

dsh plugin --profile web add dsh-qr-phone-login

Floating phone-pairing QR button for the DSH WebUI. One click opens the dsh-remote-link pairing QR (image + 6-digit code + TTL) in an in-app overlay — works in both browser and DSH Desktop (same-origi

UI & ExperienceTerminal & ClientsManifest valid

★ 0

↓ 76/wk

dsh plugin --profile web add dsh-remote-qr-button

LAN-only remote access for DSH: pair a phone or another PC by QR code or token to open the same web UI, with optional key-free access inside the LAN.

Tools & CapabilitiesManifest valid

★ 0

Apache-2.0

JavaScript

dsh plugin --profile web add dsh-lan-pair