DeepSHPlugins
dsh-desktop-launcher 项目预览
GITHUB / COMMUNITY PROJECT

dsh-desktop-launcher

工具与集成PowerShellMIT

在设置页一键创建 Windows 桌面快捷方式:为 DeepSeek Harness 或任意本地服务生成 .cmd 启动器与桌面图标,自动打开浏览器、可固定任务栏。

2 StarsYvesgao 更新时间 2026-08-30
访问 GitHub 仓库
dsh-desktop-launcher 项目预览

项目介绍

中文

在设置页一键创建 Windows 桌面快捷方式:为 DeepSeek Harness 或任意本地服务生成 .cmd 启动器与桌面图标,自动打开浏览器、可固定任务栏。

English

Create a one-click Windows desktop shortcut from the Settings page: a .cmd launcher + desktop icon for DeepSeek Harness or any local server, auto-opens the browser, with taskbar pin hints.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
Yvesgao
仓库
Yvesgao/dsh-desktop-launcher
GitHub Stars
2
Forks
0
开发语言
PowerShell
许可证
MIT
最近推送
2026-08-30
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

60/ 100
维护活跃
93
文档与实用信息
100
生态关注度
14
安装便捷信号
100
项目声明信号
100

近 12 天仍在更新;README 含完整安装与使用说明;关注度尚低(2)。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin --profile web add github:Yvesgao/dsh-desktop-launcher

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

dsh-shortcut-creator

在 DSH 设置页一键创建 Windows 桌面快捷方式 —— 把任意本地服务(DeepSeek Harness、开发服务器、npx 工具)变成双击启动的桌面图标,自动打开浏览器,还能固定到任务栏。

dsh-shortcut-creator

npm version

npm downloads

awesome · DSH plugin

功能

把「打开 PowerShell → 敲命令 → 再开浏览器」变成双击一下。在 设置 → Desktop Shortcut 里填一个小表单,插件自动完成:

  1. 生成 .cmd 启动器 —— 在控制台窗口里启动命令、等 URL 就绪后自动打开默认浏览器、保持窗口存活(关窗即停服);服务已在运行则直接打开浏览器。
  2. 创建桌面 .lnk 快捷方式 —— 指向启动器(DeepSeek Harness 用 Node.js 图标)。
  3. 尝试固定到任务栏 —— 目标类型无法程序化固定时,打印「固定运行中窗口」的兜底指引(永远有效)。

核心逻辑由打包内置的、自包含的 assets/New-DesktopShortcut.ps1 完成(零外部依赖,也可独立运行)。

效果演示

demo

能力清单

能力说明
设置页 UIsettings.section「Desktop Shortcut」:名称 / 命令 / URL / 工作目录表单
Host JSON APIPOST /plugins/desktop-shortcut/api/install 执行 PowerShell 引擎;.../status 上报平台
启动器生成带端口检查的 .cmd,自动开浏览器,兼容「已在运行」场景
任务栏固定尽力程序化固定 + 「固定运行中窗口」兜底指引

安装(bundle 形态,需重启 web)

方式一:npm(推荐)

dsh plugin --profile web add dsh-shortcut-creator

方式二:GitHub 源(lib/ 已入库)

dsh plugin --profile web add github:Yvesgao/dsh-shortcut-creator#main

方式三:Windows 一键安装包(给小白同事)

从 GitHub Releases 下载 DeepSeekHarnessSetup.exe → 双击安装(自动装 Node.js + dsh + 插件)→ 桌面出现「DeepSeek Harness」图标 → 双击即用。

重启 web(dsh web)后,打开 设置 → Desktop Shortcut,填好表单点 Create desktop shortcut 即可。

仅支持 Windows —— PowerShell 引擎是 Windows 组件。设置页在所有平台都会出现,但在非 Windows 平台会报错提示。

开发

pnpm install
pnpm build        # tsc(host lib)+ tsdown(client bundle lib/client.js)
pnpm typecheck

官方插件开发契约与可参考的社区插件源码已收集在 docs/references/。

插件管理

已装插件推荐用 plugin-registry 的薄控制台管理(浏览器面板):bundle 层栈 + insert 行 + 启停,无需手改配置。

dsh plugin --profile web add <plugin-registry>/packages/plugin/console

截图

_发布前在此补充设置页截图(docs/preview/settings.png)。_

License

MIT


English

Create a one-click Windows desktop shortcut from the DSH Settings page — launch any local server (DeepSeek Harness, dev servers, npx tools) with a double-click, auto-open the browser, and pin it to the taskbar.

What it does

Turns "open PowerShell, type a command, then open the browser" into a double-click. From Settings → Desktop Shortcut you fill in a small form and the plugin:

  1. Generates a .cmd launcher — starts the command in a console window, waits for the URL to respond, opens your default browser, and keeps the window open (closing it stops the server). If the server is already running it just opens the browser.
  2. Creates a desktop .lnk shortcut pointing at the launcher (Node.js icon for DeepSeek Harness).
  3. Attempts to pin the shortcut to the taskbar and prints manual fallback steps when the target type cannot be pinned programmatically.

The heavy lifting is done by the bundled, self-contained assets/New-DesktopShortcut.ps1 (no external dependencies, works standalone too).

Demo

demo

Capabilities

CapabilityDescription
Settings UIsettings.section "Desktop Shortcut" with a name / command / URL / workdir form
Host JSON APIPOST /plugins/desktop-shortcut/api/install runs the PowerShell engine, .../status reports platform
Launcher generationPort-checked .cmd that auto-opens the browser and handles the already-running case
Taskbar pinBest-effort programmatic pin with the always-works "pin the running window" fallback instructions

Install (bundle, requires web restart)

Option 1: npm (recommended)

dsh plugin --profile web add dsh-shortcut-creator

Option 2: GitHub source (lib/ committed)

dsh plugin --profile web add github:Yvesgao/dsh-shortcut-creator#main

Option 3: Windows one-click installer (for non-technical users)

Download DeepSeekHarnessSetup.exe from GitHub Releases → double-click to install (Node.js + dsh + plugin, automatically) → a "DeepSeek Harness" icon appears on the desktop → double-click to use.

Restart the web UI (dsh web). Then open Settings → Desktop Shortcut, fill the form and click Create desktop shortcut.

Windows only — the PowerShell engine is a Windows component. The Settings section appears on all platforms but reports an error when run elsewhere.

Development

pnpm install
pnpm build        # tsc (host lib) + tsdown (client bundle lib/client.js)
pnpm typecheck

Reference contracts (official plugin development guide + a working community plugin) are collected under docs/references/.

Plugin management

Manage installed plugins with the plugin-registry thin console (browser panel): bundle layer stack + insert rows + enable/disable, no manual config edits.

dsh plugin --profile web add <plugin-registry>/packages/plugin/console

Screenshot

_Add a screenshot of the Settings section here (docs/preview/settings.png) before publishing._

License

MIT

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目