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-origin img, no iframe).
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:huaxiren6/DSH-QrPairing
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
This plugin publishes its README in Chinese only.
📱 DSH-QrPairing
DeepSeek Harness WebUI 手机配对二维码悬浮按钮
在 DSH WebUI 右下角添加一个悬浮按钮,点击即可在应用内打开手机配对二维码,无需另开浏览器标签页。
简介
本插件是 dsh-remote-link 的配套 UI:配对页(/qr)由 remote-link 网关提供,本插件只负责把入口放进桌面端 WebUI。
- 仅当从
127.0.0.1/localhost访问时显示按钮 - 点击弹出应用内浮层,展示配对二维码
- 未安装 dsh-remote-link 时显示「未检测到网关」提示,而不是死链
安装
先装 dsh-remote-link,再装本插件。
dsh plugin --profile web add github:BotonJ/dsh-remote-link
dsh plugin --profile web add dsh-remote-qr-button
工作原理
- Host 端(
lib/index.js):注册两个同源路由——配置探针GET /dsh-remote-qr-button/config(实时读取remoteLinkGateway服务的端口、短码与 TTL,无硬编码端口)和 PNG 代理GET /dsh-remote-qr-button/qr.png(从网关取实时配对图)。 - Client 端(
lib/client.js):点击时请求探针,以同源<img>渲染二维码,同时显示 6 位短码与倒计时(每 5 秒轮询)。
二维码用 <img> 而非 <iframe>:Electron 桌面窗口会拦截跨源子框架导航,iframe 指向 http://127.0.0.1:<port>/qr 会渲染为空白。同源代理让浮层在浏览器和桌面端都能正常工作。
按钮 id(dsh-remote-qr-button)与 dsh-remote-link 代理注入的一致,两者互斥:先挂载者生效,另一个跳过。本插件覆盖直接访问 127.0.0.1:3080 的 WebUI 页面。
目录结构
dsh-remote-qr-button/
lib/index.js # host 端:配置探针路由
lib/client.js # client 端:悬浮按钮 + 浮层
cordis.patch.yml # bundle 补丁,插入插件条目
License
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 8597
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 8597
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 4424
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
ccch1mneyyy/dsh-TUI★ 4268
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
omdsh-dev/DSH-better-sidebar★ 4098
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1445
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.