Repository navigation
Releases: OrderG-X/dsh-mobile
Release list
v0.3.0 · 包名改为 @orderg-x/dsh-mobile
包名改成 @orderg-x/dsh-mobile,现在可以从 npm 安装,以后插件市场也能提示更新(npm 上的 dsh-mobile 是别人的包)。功能没变。
从 0.2.x 升级:装上新版后,到 DSH「插件」页把旧的「dsh-mobile」移除,再重启 DSH。旧版还在时新版不会启动,只提示你移除旧版。设置都会保留;外网地址会换一个,手机重扫一次就好。
The package is now @orderg-x/dsh-mobile on npm (dsh-mobile on npm is someone else's package). Nothing else changed. Upgrading from 0.2.x: install it, remove the old "dsh-mobile" on the Plugins page and restart DSH. Settings are kept; the internet address changes once, so scan the QR code again on the phone.
安装 / 升级
dsh plugin add @orderg-x/dsh-mobile也可以装发布包:dsh plugin add https://github.com/OrderG-X/dsh-mobile/releases/latest/download/dsh-mobile.tgz。装完重启 DSH。
v0.2.1 · 配对和隧道的安全修复
安全修复,建议升级。
- 配对更严:已经配上的手机拿不到配对码,偷偷再配一台不行了;移除设备时换新码,并断开它的连接。
- Wi-Fi 里配的手机只在 Wi-Fi 用:同一 Wi-Fi 下配对的凭证,拿到外网地址上用不了,被人抓到也没用。之前配的设备按配对时的地址自动归类。
- 隧道:停用或卸载插件时关掉外网隧道;停隧道前核对是不是自己起的那个;下载 cloudflared 出错不会卡住,也不会让 DSH 退出。
- 更稳:开关来回点不会出现「显示已关、其实还开着」;DSH 刚启动时手机不会一直进不去;大页面原样透传。
Security fixes — please update. A paired phone can no longer read the pairing code; removing a device rotates the code and drops its connection. Credentials paired on Wi-Fi do not work through the outside tunnel. The tunnel stops when the plugin is disabled or removed.
安装 / 升级
dsh plugin add https://github.com/OrderG-X/dsh-mobile/releases/latest/download/dsh-mobile.tgz装完重启 DSH。
v0.2.0 · 一个二维码,外网也能扫
一个二维码,在家连 Wi-Fi、出门用流量都能扫;DSH 重启后不用重扫。
新功能
- 一个二维码走天下:打开「允许手机访问」就自动备好外网(Cloudflare 免费隧道,不用注册,第一次自动下载 cloudflared)。准备好之前先给同一 Wi-Fi 能扫的码,好了自动换成流量也能扫的
- 地址不变,不用重扫:DSH 退出时隧道留在后台,下次打开接着用同一个地址,手机直接打开就行;关掉「允许手机访问」就停掉它
- 会话顶栏手机按钮:点开就是开关、二维码、连接状态;手机连着时亮绿点
- 复制链接:扫不了码时复制链接发到手机上打开(10 分钟内有效、只能用一次)
- 设备列表显示哪台手机在线
安装 / 升级
dsh plugin add https://github.com/OrderG-X/dsh-mobile/releases/latest/download/dsh-mobile.tgz装完重启 DSH。电脑重启后外网地址会换,手机重扫一次即可。
One QR code for Wi-Fi and mobile data, and no rescanning after DSH restarts.
- Turning on phone access sets up a free Cloudflare tunnel automatically (cloudflared is downloaded the first time); a same-Wi-Fi code shows until it is ready, then swaps itself
- The outside address survives DSH restarts: the tunnel keeps running when DSH quits and is picked up next time; turning phone access off stops it
- New phone button in the session header with the QR code, connection status and a green dot while a phone is connected
- "Copy link" for when you cannot scan (valid 10 minutes, works once)
- The device list shows which phone is online
v0.1.0
第一个公开版本。电脑上 DSH 的插件页亮出二维码,手机相机一扫,手机浏览器里就是电脑上的 DSH:同一批会话、实时同步。人走开了任务还在跑,在手机上接着看、回消息、点批准。
能做什么
- 同一个 Wi-Fi:手机直连电脑,打开就能用
- 出门在外:一键开 Cloudflare 免费隧道(不用注册),流量也能连;第一次点一下自动下载 cloudflared
- 扫码配对:二维码只能用一次、10 分钟过期;每台手机一张凭证,随时移除,移除后立刻断开
- 不用装 App:手机上就是 DSH 官方网页界面,会话、审批、设置和电脑上一样
- 空闲连接自动保活,隧道和运营商不会悄悄断掉
安装
dsh plugin add https://github.com/OrderG-X/dsh-mobile/releases/latest/download/dsh-mobile.tgz装完重启 DSH。DSH「插件」页里显示为「手机端」,打开「允许手机访问」就出二维码。
First public release. DSH shows a QR code on its Plugins page; scan it with your phone and your phone browser opens the same DSH, live. Same Wi-Fi works out of the box; turn on a free Cloudflare tunnel to use it anywhere. One-time QR pairing, per-phone access you can revoke at any time. Tested with DSH desktop on macOS.