dsh-web-search-ddg
aooyoo
Zero-token DuckDuckGo search provider for the DeepSeek Harness (DSH) web seam — local headless browser, no API key, no m…
PROJECT TOPICS
PROJECT README
给 DeepSeek Harness 的「手机接入设置」插件:一页搞定 Tailscale / 局域网检测、扫码配对、直连 / HTTP/2 连接方式自由切换,以及旧版 harness 在纯 HTTP 手机源下的兼容补丁。
One-page mobile access setup for DeepSeek Harness: live Tailscale/LAN detection, scan-to-pair QR, a direct / HTTP-2 connection mode toggle, and an insecure-origin polyfill so the web UI also boots on plain-HTTP phone origins.
http://127.0.0.1:<port>/mobile-access;机器可读状态在 /mobile-access/status.json)| 模块 | 说明 |
|---|---|
| 环境清单 | webserver 绑定、Tailscale 检测、局域网检测、防火墙命令,逐项点亮 |
| 扫码配对 | 一次性令牌(15 分钟)、设备注册、心跳、一键撤销;签发/停止端点仅回环可用 |
| 连接方式 | 直连 HTTP(tailnet IP)↔ HTTP/2(Tailscale Serve,HTTPS 域名,一键开启/关闭 + 可达性探测),选择持久化在浏览器 localStorage |
| 兼容补丁 | 可选向 index.html 注入 crypto.randomUUID polyfill(旧版 harness 非安全源修复) |
dsh plugin --profile web add github:YiYan129600/dsh-mobile-access
# 然后重启 dsh web
http://127.0.0.1:3080/mobile-access,按清单逐项点亮:--host 0.0.0.0,或把页面里给出的 patch 片段写进 profile 的 cordis.patch.yml(推荐,一劳永逸)100.x tailnet 地址yiyan.tail172eda.ts.net,从 Tailscale 面板复制)→ 「开启 HTTP/2」(会弹 UAC,点「是」)→ 状态变绿色后回到上方生成二维码/m 移动端需配对HTTP/2 说明:
tailscale serve监听 tailnet 内网 443,仅同账号设备可达,TLS 证书自动签发。手机上所有请求走一条多路复用连接,高延迟蜂窝网下加载显著更快。
DSH 的 /api 信任围栏只是防 DNS 重绑定,不是登录鉴权。对手机开放前请至少做到其一:
100.64.0.0/10),或/api——当前 harness 无 api/gate 挂载点)在 profile 的 cordis.patch.yml 里可覆盖插件行配置(均为可选项):
- id: mobile-access
config:
pagePath: /mobile-access # 设置页路径
polyfill: true # 注入 crypto.randomUUID 兼容补丁
pairTtlMs: 900000 # 配对令牌有效期(毫秒)
http2:
tailscaleBin: 'C:\\Program Files\\Tailscale\\tailscale.exe' # tailscale CLI 路径
crypto.randomUUID 不存在,RPC 层起不来。本插件默认注入的 polyfill 就是修这个的;升级 harness 后可以关掉。tailscale status 显示在线,且防火墙命令已执行。dsh-remote-web-ui,其 /m 移动界面与本插件互不冲突。MIT。lib/qrcode.js 来自 qrcode-generator(Kazuhiko Arase,MIT)。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。