Cheng-xiu/dsh-mobile-link0

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).

包名
dsh-mobile-link
版本
0.1.1
许可证
MIT
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Cheng-xiu/dsh-mobile-link

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
}
字段类型默认值说明
channelstringserverchan当前渠道:serverchan
serverchan.sendKeystring""Server酱 SendKey(形如 SCT...
pushplus.tokenstring""PushPlus token
bark.deviceKeystring""Bark device key
bark.serverstring""Bark 自建服务器地址(空则用官方)
ntfy.topicstring""ntfy topic
ntfy.serverstring""ntfy 服务器(空则用 https://ntfy.sh
ntfy.tokenstring""ntfy access token(可选)
custom.urlstring""自定义 webhook URL
custom.headersobject{}自定义 webhook 额外请求头
autoSendbooleanfalsedsh web 启动后自动隧道 + 推送
webPortnumber3080隧道转发的 DSH Web 端口