dsh-plugin-remote
Remote access gateway for the DeepSeek Harness (DSH) Web GUI — login auth + HTTP/WebSocket reverse proxy to the loopback DSH server.
[中文](README.zh.md) · MIT
Install
dsh plugin --profile web add dsh-plugin-remote && dsh web> Note: this is a DSH (DeepSeek Harness) plugin — install it into a profile through dsh plugin (or the profile's dependencies) so the gateway and its settings panel activate; a plain npm i alone does not wire it in.
Screenshots
Features
- Login-gated remote access: scrypt credentials + HttpOnly session cookie; HTTP/WebSocket reverse proxy with Host/Origin rewriting — no
--trusted-hostneeded - White-themed login page (shadcn/ui, mobile-friendly) with the DeepSeek Harness brand
- Settings panel (DSH GUI → Settings → Remote Access):
- Remote-access whitelist (IP / CIDR; loopback always allowed; hot-reloaded) - Account password changes (old sessions revoked immediately) - Request log: every request persisted to per-day JSONL shards, download + 1/3/7-day retention rules
- Localized zh/en, follows the GUI language
- Zero runtime dependencies (node:http/https); the Next.js login app lives inside
gateway/
Usage
- Open
http://<server-ip>:4080— the first visit creates the only account - Manage accounts:
node lib/remote-passwd.mjs add|set-password|list|del <username> - Data lives under
$DSH_HOME/plugin-data/dsh-plugin-remote/(users.json,whitelist.json,logs/)
License
MIT