DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-proxy-embedded

d

dsh-proxy-embedded

Manifest valid

Paste a subscription link and go: the plugin ships an embedded mihomo core, starts the proxy and routes DSH outbound traffic (including web_fetch) through it, so no separate Clash client is needed. Su

hasBundlePatch

dsh-proxy-embedded

DSH 插件:自带 mihomo 内核,粘贴一个订阅链接就能起代理,DSH 的出站请求(包括 web_fetch)自动走它——不用再单独开 Clash。

与 dsh-outbound-proxy、dsh-web-fetch-proxy 的区别:那些插件都要求「本机已经有代理在跑」,本插件把缺的那一半补上——自己起内核。

为什么

开着 TUN + fake-ip 的代理客户端时,web_fetch 会因为 fake-ip 地址被 SSRF 防护判定为非公网而失败。现有的插件能解决「路由」问题,但前提是本地代理已经在运行。

本插件把「导入订阅 → 起 mihomo → 装路由」串成一条命令。

功能

  • 自带/复用 mihomo 内核(优先用插件 bin/ 里的,其次找 Clash Verge 的 verge-mihomo.exe)
  • 订阅格式:Clash YAML / base64 节点列表(V2Ray、Shadowrocket、Hiddify)/ sing-box JSON / Surge
  • 单节点链接:ss:// vmess:// vless:// trojan:// hysteria2://
  • 为宿主进程安装代理路由,web_fetch 也走代理
  • 本地 HTTP 接口,方便 AI/脚本手动触发

安装

dsh plugin --profile desktop add github:mm24trg2gy-star/dsh-proxy-embedded

装完重启 DSH。

内核

仓库不包含内核二进制(.gitignore 已排除 bin/*.exe,避免仓库膨胀)。三种方式任选:

  1. 复用已有 Clash Verge:装过 Clash Verge 的话,插件会在常见安装位置(%LOCALAPPDATA%\Programs\Clash Verge、C:\Program Files\Clash Verge、C:\Program Files (x86)\Clash Verge)自动找 verge-mihomo.exe,无需额外操作;
  2. 手动放一份:把 mihomo.exe 放进插件目录的 bin/;
  3. 设置里指定:config.json 的 kernelPath 填绝对路径。

使用(第一版:手动)

两种方式:

1. 配置文件

编辑 %USERPROFILE%\.dsh\proxy-embedded\config.json:

{
  "link": "https://你的订阅地址",
  "enabled": true,
  "port": 7899,
  "kernelPath": "",
  "noProxy": ""
}

重启 DSH 后自动导入并启动。

2. HTTP 接口(本机回环,仅 loopback 可访问)

# 导入并启动
curl -X POST http://127.0.0.1:<DSH端口>/proxy-embedded/api \
  -H "content-type: application/json" \
  -d '{"action":"start","link":"https://你的订阅地址"}'

# 状态
curl -X POST http://127.0.0.1:<DSH端口>/proxy-embedded/api -d '{"action":"status"}'

# 停止
curl -X POST http://127.0.0.1:<DSH端口>/proxy-embedded/api -d '{"action":"stop"}'

# 保存配置(下次启动自动用)
curl -X POST http://127.0.0.1:<DSH端口>/proxy-embedded/api \
  -d '{"action":"save","link":"https://...","port":7899}'

订阅格式支持

格式状态
Clash(YAML)✅ 直接使用
V2Ray / Shadowrocket / Hiddify(base64 节点列表)✅ 解析成 mihomo 节点
sing-box(JSON)✅ 转换 outbounds
Surge(INI [Proxy])✅ 转换
单节点链接✅ ss / vmess / vless / trojan / hysteria2

配置

字段默认说明
link空订阅链接或单节点链接
enabledtrue启动 DSH 时是否自动起代理
port7899本地混合端口(被占用时自动顺延)
kernelPath空自定义 mihomo 路径,空则自动发现
noProxy空直连后缀(逗号分隔)

安全

  • 只用本机回环接口,拒绝跨站请求
  • 代理链接含凭据,保存在本机 ~/.dsh/proxy-embedded/config.json,请勿分享
  • 内核失败不影响 DSH 启动(fail-open)
  • deepseek.com 等域名默认直连,不会因为代理挂了而断会话

致谢

大肥鱼(鲸鱼娘 · CETACEA_LOLI)—— 本插件的作者。订阅解析、内核守护、宿主路由,一条一条都是这条鱼写出来的。

宿主模块锚定解析与路由安装思路参考了 dsh-web-fetch-proxy(MIT, © 2026 Tong317)。

License

MIT

Comments

Loading…

Similar plugins

dsh-proxy-on-demand

by xfgil

Start a local mihomo proxy core on demand and shut it down when idle — no always-on port, no leftover process, no change to the Windows system proxy. Routes through an existing proxy when one is alrea

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 2

NOASSERTION

JavaScript

Oct 16, 2026

dsh plugin --profile web add dsh-proxy-on-demand

by Dax233

DeepSeek Harness plugin: route outbound HTTP(S) through a local proxy (Clash/mihomo).

Manifest valid

★ 0

MIT

JavaScript

Oct 23, 2026

dsh plugin --profile web add @local/dsh-outbound-proxy

by yanglaofish

Routes model requests, web fetches/searches and spawned tools through the Windows system proxy or a custom address — idempotent kernel (reads never rebuild the dispatcher), header one-click toggle, pe

Tools & CapabilitiesManifest valid

★ 10

↓ 318/wk

MIT

JavaScript

Oct 27, 2026

dsh plugin --profile web add @yanglaofish/dsh-proxy-pro

by AKHYui

DeepSeek Harness desktop plugin that exposes a local harness to your own relay over a single outbound WebSocket - no inbound ports, works behind NAT. Forwards a fixed op allowlist, session events, pro

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Oct 18, 2026

dsh plugin --profile web add dsh-remote-bridge

by flymysql

DSH host-side bridge for the DSH Browser Client extension: a token-authenticated /ext-api RPC proxy + /ext-events.mux WebSocket event stream + bidirectional /ext-api-control channel, so a browser extension page (which cannot pass the same-origin /api trust fence) can drive the harness from a floating panel and operate the current page via page_* tools.

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Sep 21, 2026

dsh plugin --profile web add dsh-browser-host

by tingaidehua

DSH plugin: publish /app/<slug>/ and /demo/<slug>/ static or proxy sites

Manifest valid

★ 0

JavaScript

Oct 12, 2026

dsh plugin --profile web add dsh-deploy-web