dsh-web-search-ddg
aooyoo
Zero-token DuckDuckGo search provider for the DeepSeek Harness (DSH) web seam — local headless browser, no API key, no m…
PROJECT TOPICS
PROJECT README
English | 简体中文
A drop-in DeepSeek Harness (dsh) Cordis plugin providing HTTP Basic Authentication, Remote IP & Mobile Device Access, Web Cryptography UUID Polyfills, and Privileged RPC Gateway Delegation for self-hosted server deployments.
deepseek-harness git worktree stays completely clean for seamless git pull updates.crypto.randomUUID is not a function error on plain HTTP / public IP setups by injecting a compliant Web Cryptography UUID Polyfill at <head> load time.settings.describe, agentPreset.*) for authenticated remote IP clients without triggering HTTP 403.mkdir -p ~/.dsh/plugins
git clone https://github.com/kolawong/dsh-plugin-auth-webserver.git ~/.dsh/plugins/dsh-plugin-auth-webserver
mkdir -p ~/.dsh/node_modules/@custom
ln -sfn ~/.dsh/plugins/dsh-plugin-auth-webserver ~/.dsh/node_modules/@custom/dsh-plugin-auth-webserver
Add the following configuration to ~/.dsh/profiles/web/cordis.patch.yml (create the file if it does not exist):
# Disable default unauthenticated webserver
- id: webserver
disabled: true
# Insert authenticated webserver
- insert:
- id: webserver-auth
name: '@custom/dsh-plugin-auth-webserver'
inject:
- webStartup
config:
host: '0.0.0.0'
port: 3080
username: 'admin'
password: 'YourStrongPasswordHere'
realm: 'DeepSeek Harness'
dsh web --port 3080 --trusted-host your-server-ip:3080
Tip (Environment Variables): You can also specify credentials via environment variables:
export DSH_AUTH_USER="admin" export DSH_AUTH_PASS="YourStrongPasswordHere"
| Parameter | Type | Default | Description |
|---|---|---|---|
host |
string |
'0.0.0.0' |
Bind network interface ('0.0.0.0' for all interfaces, '127.0.0.1' for local only) |
port |
number |
3080 |
Listening port for the web server |
username |
string |
'admin' |
Basic Auth username (or use DSH_AUTH_USER) |
password |
string |
'' |
Basic Auth password (or use DSH_AUTH_PASS). If empty, authentication is disabled |
realm |
string |
'DeepSeek Harness Authentication' |
HTTP Basic Auth realm prompt displayed by browsers |
适用于 DeepSeek Harness (dsh) 的一站式服务器远程部署与密码认证 Cordis 插件。
为自建服务器 / VPS / 移动专线部署提供 HTTP Basic 密码认证、跨设备与原生 IP 支持、前端 UUID 兼容补丁 以及 管理接口特权放行。
deepseek-harness 保持 100% 纯净,后续 git pull 升级绝无冲突。crypto.randomUUID 导致「Agent 预设」、「权限」无法加载的问题。settings.describe 和 agentPreset 等敏感管理接口(免除 403 拦截)。mkdir -p ~/.dsh/plugins
git clone https://github.com/kolawong/dsh-plugin-auth-webserver.git ~/.dsh/plugins/dsh-plugin-auth-webserver
mkdir -p ~/.dsh/node_modules/@custom
ln -sfn ~/.dsh/plugins/dsh-plugin-auth-webserver ~/.dsh/node_modules/@custom/dsh-plugin-auth-webserver
编辑 ~/.dsh/profiles/web/cordis.patch.yml:
- id: webserver
disabled: true
- insert:
- id: webserver-auth
name: '@custom/dsh-plugin-auth-webserver'
inject:
- webStartup
config:
host: '0.0.0.0'
port: 3080
username: 'admin'
password: '你的自定义密码'
dsh web --port 3080 --trusted-host 你的服务器IP:3080
本项目基于 MIT License 开源。欢迎提交 Issue 与 Pull Request!
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。