Repository navigation
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