DSH Lan Access
Leon0555/dsh-lan-access · tools
A DSH LAN access plug-in: A DSH plug-in that allows DeepSeek Harness to be accessed by other devices within the LAN.
★ 13GitHub stars
1Forks
2026-09-08Last updated
JavaScriptLanguage
MITLicense
Key features
- crypto.randomUUID polyfillThe browser only exposes crypto.randomUUID in the security context (HTTPS/localhost). It does not exist under plaintext HTTP in the LAN, which will cause all DSH RPCs to fail (the project/session list cannot be loaded, and the workspace cannot be added).
- After binding 0.0.0.0, any device in the same network can connect to DSH (without authentication), which means that the entire network can access the command execution capabilities of this machine.
- PolyfillLines of code are injected into webServer, and inline scripts are injected into index.html using the officially reserved tapIndex hook
- This plug-in injects a back-end implementation (standard UUID v4, generated by crypto.getRandomValues) into index.html returned each time, and browser access from any device will be normal.
- Mobile phone/narrow screen automatic adaptation (v0.1.2+): Automatically switches to compact mobile layout when the screen width is ≤820px, without any configuration.
Requirements
- DSH hard limits the "configuration plane" - settings page, model/Provider management, credentials, Agent Preset, directory selection, llm.discoverModels (model detection) and other interfaces - to only the local loopback (127.0.0.1).
- Even though the plugin binds the web service to 0.0.0.0, access from these interfaces from the LAN IP will still return HTTP 403 (e.g. "Failed to load provider directory: ...
Install command
dsh plugin --profile web add github:Leon0555/dsh-lan-access