liushQAQ/dsh-anywhere ↗★ 0

dsh-anywhere

提供多设备同时在线、同屏收发与锁屏自愈通道。 适合搭配iOS客户端进行多端协同的用户,提供稳定的局域网及公网连接。

包名
dsh-anywhere
兼容性
待验证
Cordis 依赖范围
>=4.0.0
版本
1.0.5
最近更新
2026年10月18日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:liushQAQ/dsh-anywhere

📦 安装与配置

1. 安装插件

在你的 DSH Profile 目录(如 ~/.dsh/profiles/desktop)下执行:

pnpm add dsh-anywhere

## 📱 搭配 DSH iOS App 使用指南

1. **局域网同屏模式(极速低延迟)**:
   - 手机连上与电脑相同的 Wi-Fi;
   - 打开 DSH iOS App,地址输入:`http://:3083`(或直接扫码接入)。
2. **出门随身模式(公网无缝协同)**:
   - 开启公网访问后,在 DSH iOS App 中输入公网地址;
   - 无论身在何处,均可随时随地与家里的 DSH 实时对话,随时接续电脑上的工作。

---

## ⚙️ 配置文件说明(`~/.dsh/dsh-anywhere/settings.json`)

插件首次运行会自动生成纯净的通用配置,不包含任何个人敏感链接:

| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| `lanEnabled` | `boolean` | `true` | 是否开启局域网多设备访问 |
| `lanAuthEnabled` | `boolean` | `true` | 局域网访问是否需要密码验证 |
| `tunnelMode` | `string` | `"quick"` | `"quick"`(自动隧道)/ `"named"`(CF固定域名)/ `"fixed"`(自定义公网直连) |
| `tunnelHostname` | `string` | `""` | `named` 模式下的完整自定义域名 |
| `tunnelToken` | `string` | `""` | `named` 模式下的 Cloudflare Token |
| `fixedWanUrl` | `string` | `""` | `fixed` 模式下的自定义外部穿透地址(如 FRP) |

---