YiYan129600/dsh-mobile-access

YiYan129600★ 2JavaScript最后同步: 2026-08-15

在 GitHub 打开

DeepSeek Harness plugin: one-page mobile access setup — Tailscale/LAN detection, scan-to-open QR (offline), insecure-origin polyfill

README 摘要

dsh-mobile-access 给 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. - 纯宿主插件 + 极简客户端入口 , 无构建步骤、零运行时依赖 (二维码由内建 MIT 库离线生成,不调外部服务) - 安装后默认界面 侧栏底部出现 📱 按钮 ,点开直达设置页(也可以直接访问 http://127.0.0.1: /mobile-access ;机器可读状态在 /mobile-access/status.json ) 功能 / Features 模块 说明 环境清单 webserver 绑定、Tailscale 检测、局域网检测、防火墙命令,逐项点亮 扫码配对 一次性令牌(15 分钟)、设备注册、心跳、一键撤销;签发/停止端点仅回环可用 连接方式 直连 HTTP(tailnet IP)↔ HTTP/2 (Tailscale Serve,HTTPS 域名,一键开启/关闭 + 可达性探测),选择持久化在浏览器 localStorage 兼容补丁 可选向 index.html 注入 crypto.randomUUID polyfill(旧版 harness 非安全源修复) 安装 / Install 使用 / Use 1. 打开设置页 http://127.0.0.1:3080/mobile-access ,按清单逐项点亮: - 绑定全部网卡 :重启时加 --host 0.0.0.0 ,或把页面里给出的 patch 片段写进 profile 的 cordis.patch.yml (推荐,一劳永逸) - Tailscale :电脑与手机各装 Tailscale,用同一账号登录;页面会自动显示 100.x tailnet 地址 - 防火墙 :管理员 PowerShell 跑一次页面里给出的 netsh 命令(只放行 Tailscale 网段,公网不暴露) 2. 选连接方式 : - 直连:选地址 → 「生成配对二维码」→ 手机扫码 - HTTP/2:填 HTTPS 域名(如 yiyan.tail172eda.ts.net ,从 Tailscale …

在 GitHub 查看完整 README →
工具/开发deepseek-harnessdsh-pluginmobileremote-accesstailscaleweb ui

分类