donoteatme/dsh-local-link ↗★ 2

dsh-local-link

提供局域网内通过手机或平板访问Web界面的功能 适合需要使用移动设备远程查看和操作Web界面的用户。

包名
dsh-local-link
兼容性
待验证
Harness 依赖范围
0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.7-rc.2 || 0.2.0-rc.2
Cordis 依赖范围
^4.0.2
版本
1.2.3
许可证
MIT
最近更新
2026年10月2日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:donoteatme/dsh-local-link

Configuration

The bundled profile patch installs conservative defaults:

OptionDefaultPurpose
listenHost0.0.0.0Listen on local interfaces; request validation still accepts only private/loopback sources.
listenPort3088LAN gateway port.
upstreamOriginhttp://127.0.0.1:3080Existing loopback Harness Web server.
accessModepairingRequire a one-use invitation and device cookie.
pairingTtlSeconds300Invitation lifetime.
deviceTtlDays90Remembered-browser lifetime.
diagnosticsEnabledtrueKeep the bounded local diagnostic history.
diagnosticsMaxEntries15Maximum retained events (5–200).
diagnosticsFilenext to stateFileLocal JSON event store; the bundled profile uses ~/.dsh/local-link/diagnostics.json.

listenHost accepts only 0.0.0.0 or an explicit private/loopback IP literal. Public listener addresses are rejected during startup; this configuration guard complements, rather than replaces, the operating-system firewall.

trusted-lan disables per-device authorization and should be reserved for isolated development networks. pairing is the supported default because a connected Harness browser can read files, submit prompts, approve actions, and trigger commands.

The plugin never creates firewall rules. If Windows prompts for network access, allow only the Private network profile and never forward port 3088 on the router.