dsh-plugin-login-gate
Run the following command in DeepSeek Harness:
dsh plugin install Wayne036/dsh-plugin-login-gate
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Wayne036/dsh-plugin-login-gate in your terminal to install. Source code: https://github.com/Wayne036/dsh-plugin-login-gate
About this plugin
The dsh Web UI listens only on loopback and ships without any login page. The moment you want to reach it from another device on a LAN or intranet, you are left with no authentication and no encrypted transport. dsh-plugin-login-gate fills that gap: it places a single-password login gate in front of dsh so unauthorised devices simply cannot open the workspace, while also providing an HTTPS channel for encrypted cross-device access.
Core capabilities include same-port dual-protocol handling with a self-signed certificate and automatic HTTP-to-HTTPS redirect; lossless SSE stream and WebSocket event forwarding so live conversations and session lists keep flowing; and fixes for three common cross-device issues – Host and Origin rewriting at the proxy layer to eliminate 403 errors, an optional browser-side patch that keeps the settings page functional on private subnets, and WebSocket 101 handshake header restoration for reliable event-stream connections. All of these are handled automatically at the proxy layer or on startup. The plugin has zero npm runtime dependencies; a single password file and a certificate pair are all you need.
It is designed as a single-user personal tool: one password, in-memory sessions, ready out of the box. It suits developers who run dsh behind a home router, next to a NAS, or on a team intranet and want other machines to connect securely without introducing a full multi-user system or exposing the service to the public internet.
Use Cases
- Exposing dsh to other LAN or intranet devices and needing a password gate to block unauthorised access
- Debugging 403 errors, broken event streams, or stalled SSE when accessing dsh across devices
- Wanting HTTPS encryption with a self-signed certificate instead of provisioning a formal CA
Best For
- Developers running dsh behind a home router or on a team intranet
- Single-user setups that prefer one password over a full user-management system
- Personal-tool users accustomed to NAS-style deployments who accept a one-time self-signed certificate prompt
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.