Cheng-xiu/dsh-mobile-link ↗★ 0
dsh-mobile-link
One-click phone access to DeepSeek Harness via a Cloudflare quick tunnel, with the link pushed to your WeChat through your chosen channel (ServerChan / PushPlus / Bark / ntfy / custom webhook).
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Cheng-xiu/dsh-mobile-link说明文档
阅读完整 README ↗2. 配置推送渠道(一次性)
交互式向导(推荐):
node bin/cli.js setup
或非交互配置(示例为 Server酱):
node bin/cli.js setup --channel serverchan --key SCTxxxxxxxxxxxxxxxx --port 3080
凭证保存在本机 ~/.dsh/mobile-link/config.json(权限 0600),不会离开你的机器,也永远不会写进仓库或日志。
配置字段
~/.dsh/mobile-link/config.json:
{
"channel": "serverchan",
"serverchan": { "sendKey": "SCT..." },
"pushplus": { "token": "" },
"bark": { "deviceKey": "", "server": "" },
"ntfy": { "topic": "", "server": "", "token": "" },
"custom": { "url": "", "headers": {} },
"autoSend": false,
"webPort": 3080
}
| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
channel | string | serverchan | 当前渠道:serverchan |
serverchan.sendKey | string | "" | Server酱 SendKey(形如 SCT...) |
pushplus.token | string | "" | PushPlus token |
bark.deviceKey | string | "" | Bark device key |
bark.server | string | "" | Bark 自建服务器地址(空则用官方) |
ntfy.topic | string | "" | ntfy topic |
ntfy.server | string | "" | ntfy 服务器(空则用 https://ntfy.sh) |
ntfy.token | string | "" | ntfy access token(可选) |
custom.url | string | "" | 自定义 webhook URL |
custom.headers | object | {} | 自定义 webhook 额外请求头 |
autoSend | boolean | false | dsh web 启动后自动隧道 + 推送 |
webPort | number | 3080 | 隧道转发的 DSH Web 端口 |