Skip to content

Leon0555/dsh-lan-access

40Last commit Aug 14, 2026

dsh-lan-access DSH plugin

This plugin binds the webserver host to 0.0.0.0, allowing mobile phones and other computers on the same LAN to access the DSH Web GUI via http://<MacLANIP>:3080. It also injects a polyfill for crypto.randomUUID to work over plain HTTP, which is required for DSH's RPC functionality.

How to install the dsh-lan-access DSH plugin

dsh plugin --profile web add dsh-lan-access

Copying does not run this command. Review the repository and version before installing the dsh-lan-access DSH plugin.

dsh-lan-access DSH plugin data source

dsh-lan-access DSH plugin snapshot date: Aug 16, 2026

discovered

What the dsh-lan-access DSH plugin can do

  • Binds the webserver host to 0.0.0.0 for LAN access
  • Injects crypto.randomUUID polyfill into index.html for non-secure contexts
  • Provides a simple install/uninstall workflow via dsh plugin commands
  • Includes security warnings and recommendations for safe usage

Where the dsh-lan-access DSH plugin fits

  • Access the DSH Web GUI from a mobile phone or tablet on the same network
  • Collaborate with team members on a shared DSH instance within a trusted LAN
  • Test DSH features from a different device without exposing it to the internet

Who the dsh-lan-access DSH plugin is for

  • DSH users who need to access the Web GUI from multiple devices in a home or office LAN
  • Developers or operators who want to manage DSH remotely within a trusted network

dsh-lan-access DSH plugin limitations

  • No authentication – any device on the same LAN can fully access DSH (commands execution capability)
  • Only works on trusted networks (home/company); not recommended for public Wi-Fi
  • Requires a prior DSH installation with the 'web' profile and pnpm installed
  • After installation, the service must be restarted (e.g., via launchctl) to take effect

dsh-lan-access DSH plugin: from the repository README

Quoted from the Leon0555/dsh-lan-access README, the upstream source of the dsh-lan-access DSH plugin. Copyright remains with the original authors.

让 DeepSeek Harness Web GUI 可在局域网内被其他设备访问的 DSH 插件(可信内网专用)。 [![npm version](https://img.shields.io/npm/v/dsh-lan-access)](https://www.npmjs.com/package/dsh-lan-access) [![License](https://img.shields.io/npm/l/dsh-lan-access)](LICENSE) - **npm**: https://www.npmjs.com/package/dsh-lan-access - **GitHub**: https://github.com/Leon0555/dsh-lan-access ## 功能 1. **局域网绑定**:把 webserver 的 `host` 改为 `0.0.0.0`,手机/其他电脑可通过 `http://<Mac局域网IP>:3080` 访问(查 IP:`ipconfig getifaddr en0`)。 2. **crypto.randomUUID polyfill**:浏览器只在安全上下文(HTTPS/localhost)暴露 `crypto.randomUUID`,局域网明文 HTTP 下不存在,会导致 DSH 的 RPC 全部失败 (项目/会话列表加载不出、无法添加工作区)。本插件向每次返回的 index.html 注入兜底实现,任何设备的浏览器访问都正常。 ## 安装(从 npm) ```sh dsh plugin --profile web add dsh-lan-access ``` > 需要 pnpm(`npm i -g pnpm`)。本地开发安装可用 > `dsh plugin --profile web add file:/path/to/dsh-lan-access`。 安装后重启服务生效: ```sh launchctl kickstart -k gui/$(id -u)/com.dsh.web # 如果用 launchd 常驻 ``` ## 卸载 ```sh dsh plugin --profile web remove dsh-lan-access ``` 卸载后 webserver 恢复默认仅 `127.0.0.1`,polyfill 不再注入。 ## 安全提醒 - 绑定 `0.0.0.0` 后,同一网络内任何设备都能连接 DSH(**无认证**), 等于整网都能触达本机的命令执行能力。**仅限家庭/公司可信内网使用**, 公共 WiFi 请勿开启。 - 建议:路由器/防火墙限制来源 IP;出外网访问请叠加 Tailscale 等隧道。 ##

Read the full READMERepository license: MIT

dsh-lan-access DSH plugin questions

How do I install dsh-lan-access?

Run `dsh plugin --profile web add dsh-lan-access` in your terminal. Make sure you have pnpm installed globally (`npm i -g pnpm`). After installation, restart the DSH web service (e.g., `launchctl kickstart -k gui/$(id -u)/com.dsh.web` if using launchd).

Can I access DSH from outside my home network?

No, this plugin is designed for LAN access only. Binding to 0.0.0.0 exposes the Web GUI to any device on the same network without authentication. For external access, the README recommends using a VPN tunnel like Tailscale instead of exposing it directly.

Does this plugin work on Windows?

The README only mentions macOS (launchctl) for restarting the service. The installation command itself is cross-platform, but the restart step may vary on other operating systems. You may need to manually restart the DSH web server process on Windows or Linux.

What is the crypto.randomUUID polyfill for?

Browsers only expose `crypto.randomUUID` in secure contexts (HTTPS or localhost). When accessing DSH over plain HTTP on LAN, this function is missing and causes RPC failures (e.g., project/session lists not loading, workspaces not adding). The plugin injects a polyfill into index.html to make it work.

How do I uninstall dsh-lan-access?

Run `dsh plugin --profile web remove dsh-lan-access`. After removal, the webserver will revert to default 127.0.0.1 and the polyfill will no longer be injected. Restart the service if needed.