HarLin97/dsh-ipad-remote--packages-ipad-remote ↗★ 0

@harlin97/dsh-ipad-remote

Share the desktop DeepSeek Harness UI with phones, tablets and other computers over LAN, Tailscale or HTTPS, behind a six-digit PIN gate — as an installable PWA. 适合想在iPad或手机上安全访问和控制桌面端Harness的用户。

Package
@harlin97/dsh-ipad-remote
Compatibility
Unverified
Harness peer range
^0.2.1-alpha.1
Cordis peer range
^4.0.5-alpha.1
Version
0.1.0
License
MIT
Last updated
Oct 6, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HarLin97/dsh-ipad-remote#764f84ded7bb3c76d74ee021d2ecc38953d063a2&path:packages/ipad-remote

使用

  1. 桌面端 Harness 打开设置 → 远程访问。
  2. 设一个 6 位 PIN,打开开关。
  3. 列表里选一个可达地址,用 iPad 扫码或直接打开;输入 PIN。
  4. iPad Safari → 分享 → 添加到主屏幕,得到一个全屏、无地址栏、独立图标的应用。

控制接口(设置卡片走的就是它,也可用 curl):

方法路径说明
GET/ipad-remote/api/status状态、可达地址、活跃会话
POST/ipad-remote/api/pin{"pin":"123456"}
POST/ipad-remote/api/enable{"enabled":true}
POST/ipad-remote/api/revoke吊销全部会话

配置(profile patch,需重启)

字段默认说明
bindHost0.0.0.0只接受 0.0.0.0 或 127.0.0.1
storePath$DSH_HOME/plugins/ipad-remote/config.json运行时状态文件
maxSessions32并发会话上限

运行时可变值(enabled / port / tlsPort / sessionDays / pinHash)由 store 拥有,改它们不需要改 patch、不需要重启。tlsPort 默认 50071;旧状态文件没有这个字段时按默认值读,不会被判成损坏。