dsh-login-gateway
Discoveredogin wall and public gateway plugin for DeepSeek Harness cloud deployments
dsh-login-gateway
Overview
Official dsh web only binds to localhost (127.0.0.1) and cannot be exposed directly to public networks. This plugin provides an authenticated entry point with a username/password login wall and reverse proxies authenticated traffic to your local DeepSeek Harness instance.
It is designed for deploying Harness on cloud servers while securely accessing the workspace via browser. By default, it listens on port 8080 under the /dsh path prefix to avoid conflicting with the default web port (3080).
Repository topics: dsh-plugin, dsh-category-security. The distributed package contains no hardcoded credentials, domains, or public IPs; credentials are generated and stored exclusively on your host machine.
Installation
Requires DeepSeek Harness.
dsh plugin --profile web add github:kunalgupta25/dsh-login-gateway
dsh web --trusted-host YOUR_PUBLIC_IP --trusted-host your.example.com
Access in your browser:
http://YOUR_PUBLIC_IP:8080/dsh
To install from a local path:
dsh plugin --profile web add ./dsh-login-gateway
Mobile Access
This plugin focuses on authentication and proxying and preserves the official desktop layout.
If you primarily access your workspace from a mobile browser, consider pairing it with the community portrait layout plugin dsh-web-mobile in the same web profile:
dsh plugin --profile web add github:kunalgupta25/dsh-login-gateway
dsh plugin --profile web add github:mexiaosqwq/dsh-web-mobile
dsh web --trusted-host YOUR_PUBLIC_IP --trusted-host your.example.com
dsh-login-gateway manages authentication and routing, while dsh-web-mobile (package name @dsh-external/dsh-mobile-nav) provides mobile drawers, full-width chat layouts, and touch-adapted settings without affecting desktop displays.
Quick Start & Configuration
For full setup instructions, configuration fields, and Nginx configurations, see docs/setup.md.
- Initial Credentials: If a password was not preconfigured, find the generated credentials in the
dsh webconsole output labeledgenerated login. - Gateway Settings: After logging in, navigate to Settings → Gateway and click Gateway Settings to change username, password, port, and proxy options. You can also log out from this panel.
- Trusted Hosts: The startup command must include
--trusted-host <host>, or official API endpoints will reject incoming traffic. - Reverse Proxy / Nginx: If placing Nginx or Caddy in front, enable "Trust Reverse Proxy" and proxy
/dsh,/assets/,/plugins/,/api,/dsh-image-gen, and/query-balanceto the gateway port. - Document Drops: Dragging non-image documents (PDF, Markdown, text) into the browser uploads them to the server and inserts
@filenamereferences directly into the input prompt. Standard image attachments (PNG, JPEG, WebP, GIF) continue through the native media bar.
Documentation
Development
npm install
npm test
License
MIT
Comments
Loading…
Similar plugins
by MrLukezy
Login wall and public gateway plugin for DeepSeek Harness cloud deploys
★ 0
MIT
JavaScript
Sep 30, 2026
dsh plugin --profile web add dsh-cloud-gatewayby islibaodong
Multi-user login gateway plugin for the DeepSeek Harness Web GUI: login wall, per-user conversation isolation, in-GUI user management
★ 17
↓ 652/wk
MIT
TypeScript
Oct 26, 2026
dsh plugin --profile web add @islibaodong/dsh-loginby spirits001
DeepSeek Harness (dsh) plugin — tokensforce gateway integration: one-login onboarding, provider groups, and a usage dashboard tab
★ 3
↓ 36/wk
MIT
TypeScript
Sep 5, 2026
dsh plugin --profile web add dsh-tokensforceby luodeb
Authentication reverse-proxy gateway plugin for DeepSeek Harness Web
★ 3
BSD-3-Clause
TypeScript
Aug 17, 2026
dsh plugin --profile web add dsh-web-auth-gatewayby wryyyds7
Community plugins for DeepSeek Harness (dsh)
★ 0
MIT
TypeScript
Aug 18, 2026
dsh plugin --profile web add @wryyyds7/dsh-plugins-rootby qipenglin
Optional Web access authentication plugin for DeepSeek Harness
★ 0
MIT
JavaScript
Aug 29, 2026
dsh plugin --profile web add @qipenglin/dsh-web-access