dshbase

插件目录 / Security / dsh-cloud-gateway

dsh-cloud-gateway

已验证 · 实测可装 MrLukezy

✓ 持续维护 基于 1 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-21最近推送
跨平台平台

功能简介

Login wall and public gateway plugin for DeepSeek Harness cloud deploys

✅
我们的评价
可用 — 实测通过,早期项目

Login wall and public gateway plugin for DeepSeek Harness cloud deploys 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-cloud-gateway

介绍

官方 dsh web 只监听本机 127.0.0.1,不能直接对公网开放。本插件在旁边开一个带账号密码的入口,登录后再反代到本地 DeepSeek Harness。

适合已经把 Harness 装到云服务器、又希望用浏览器从外网进入工作台的人。安装后默认监听 8080,访问路径是 /dsh,避免和官方 Web 的 3080 抢端口。

仓库 topic:dsh-plugin、dsh-category-security。发布包不含真实账号、密码、域名或公网 IP。凭据只写在你自己机器上。

English: a login wall and reverse proxy for cloud-deployed DeepSeek Harness.

安装

需要已安装 DeepSeek Harness。

dsh plugin --profile web add github:MrLukezy/dsh-cloud-gateway
dsh web --trusted-host YOUR_PUBLIC_IP --trusted-host your.example.com

浏览器打开:

http://YOUR_PUBLIC_IP:8080/dsh

本地目录也可以:dsh plugin --profile web add ./dsh-cloud-gateway。

手机访问

本插件只提供登录和反代,不改官方桌面布局。手机竖屏打开会挤,侧栏也不好用。

如果主要用手机进云端工作台,建议和社区竖屏插件 dsh-web-mobile 一起装,两个插件可以放在同一个 web profile:

dsh plugin --profile web add github:MrLukezy/dsh-cloud-gateway
dsh plugin --profile web add github:mexiaosqwq/dsh-web-mobile
dsh web --trusted-host YOUR_PUBLIC_IP --trusted-host your.example.com

dsh-cloud-gateway 负责公网登录,dsh-web-mobile(包名 @dsh-external/dsh-mobile-nav)负责窄屏抽屉、会话全宽和设置页适配。电脑宽屏布局基本不变。

配置引导

完整步骤、字段说明和 Nginx 示例见 docs/setup.md。最短路径:

  1. 没自己设密码时,到 dsh web 日志里找 generated login。
  2. 登录后打开 设置 → 网关,再点 网关设置,改账号、密码、端口和是否信任反代。也可以在同一页退出登录。
  3. 启动命令必须带 --trusted-host,否则登录后接口会被官方围栏拦住。
  4. 前面如果有 Nginx,打开「信任反向代理」,并把 /dsh、/assets/、/plugins/、/api、/dsh-image-gen、/query-balance 都反代到网关。
  5. 浏览器拖入 PDF、Markdown 等非图片文件时,网关会保存到服务器,并在输入框插入 @文件名 引用;png/jpeg/webp/gif 仍走官方图片附件栏。

文档

开发

npm install
npm test

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-cloud-gateway」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:MrLukezy/dsh-cloud-gateway

Headless(CLI)profile:

dsh plugin --profile headless add github:MrLukezy/dsh-cloud-gateway

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Security 里更多

浏览全部 7819 个插件 →