xiaohanqing/dsh-relay--packages-plugin ↗★ 1

dsh-relay

手机随时访问你自己的 DSH:流量走你自己的 NAS 中继(自托管),不依赖任何第三方云。局域网扫码 + 外网隧道,断线自动重连。 适合需要随时随地安全访问家中电脑 DSH 服务的用户。

Package
dsh-relay
Compatibility
Unverified
Cordis peer range
^4.0.1
Version
0.3.0
License
MIT
Last updated
Sep 27, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xiaohanqing/dsh-relay#d092533c5e9c6cb1cd292696fb98d3f4d266bbf6&path:packages/plugin

dsh-relay(DSH 插件)

DSH Relay 的 DSH 端插件:局域网扫码直连 + 经你自己 NAS 的外网中继,断线自动重连。

dsh plugin --profile web add /path/to/dsh-relay/packages/plugin

重启 dsh web 后,设置页出现「DSH Relay」:局域网二维码开箱即用;外网访问需先在 NAS 部署 dsh-relay-server,然后在设置页填服务端地址与 Token。

开发:

npm install
npm run build:client   # client/settings.jsx → client/client.js
npm test               # 端到端回环测试
npm run test:worst     # 最坏启动路径(重连风暴护栏,CI 必跑)