DeepSeekHarnessDesktop
Identified★ 128DeepSeekHarness Desktop Packaging
DeepSeek Harness Desktop
Packages deepseek-ai/deepseek-harness into a desktop app for three platforms: Electron desktop shell + built-in Node runtime + full Harness environment — just double-click to use it.
✨ Features
- One-click start: double-click
DeepSeekHarness.exe→ backend launches automatically → opens the DeepSeek Harness Web UI directly - Built-in Node 24: self-contained runtime; users don't need to install Node.js
- Complete environment: all Harness dependencies are bundled (links have been materialized into real files)
- Frameless window: UI fills the whole window, with minimize / maximize / close buttons embedded in the top-right corner
- Single instance: starting it repeatedly won't launch multiple backends
- No admin required: on Windows it installs to
%LocalAppData%\Programs\DeepSeek Harness
📦 Artifacts
| Platform | File | Description |
|---|---|---|
| Windows | installers/DeepSeekHarnessSetup-*.exe | Inno Setup one-click installer |
| Windows | build/DeepSeekHarnessApp/DeepSeekHarness.exe | Portable version (run directly) |
| macOS | installers/DeepSeekHarness-macOS-<arch>-<ver>.dmg | Application image (.app, ad-hoc signed) |
| Linux | installers/DeepSeekHarness-linux-<arch>-<ver>.tar.gz | Portable archive (extract and use) |
| Linux | installers/deepseek-harness_<ver>_<arch>.deb | Debian/Ubuntu package |
All three platforms are built automatically by GitHub Actions (
.github/workflows/build.ymlmatrix). Pushing av*tag publishes to Release automatically; you can also trigger manually viaworkflow_dispatch.
🗂 Directory Structure
app/ Electron 桌面应用源码
main.js 主进程:启动后端、注入窗口控制按钮
preload.js / titlebar-preload.js preload 脚本
renderer/ 渲染页面
build/ 构建脚本与产物(跨平台,Node 实现)
build-harness.js 克隆 deepseek-harness、准备 .npmrc、pnpm 构建
materialize3.js node_modules 链接物化(消除 junction/符号链接)
download-node.js 按平台下载内置 Node 运行时(win/darwin/linux × x64/arm64)
trim.js 精简 harness(跨平台版 trim.ps1)
assemble.js 组装应用目录(Windows robocopy / POSIX cp -aL)
convert-icon.js SVG -> ICO(png-to-ico)+ PNG 源图
assemble.ps1 / trim.ps1 Windows 本地构建脚本(与 assemble.js/trim.js 等价)
setup.iss Inno Setup 安装脚本(本地/CI 均可用)
log.svg 应用图标(DeepSeek logo)
🔧 Build Process
Locally you need: Node.js ≥ 22, pnpm 10 (note: pnpm 10 is required; pnpm 11 removed the hoisted linker); on Windows you additionally need Inno Setup 7. All three CI platforms are fully automated — no local environment needed.
1. Prepare Harness dependencies (pnpm 10 + hoisted)
node build/build-harness.js # 克隆 → 删 packageManager → .npmrc(hoisted) → pnpm install → pnpm build
2. Materialize links + trim
node build/materialize3.js resources/harness # junction/符号链接 → 真实文件
node build/trim.js # 删除冗余 @deepseek-ai 副本、拷贝 web 前端
3. Runtime + assembly
node build/download-node.js v24.14.0 # 内置 Node(按当前平台/架构)
npm install # electron + sharp + png-to-ico
node build/convert-icon.js log.svg build/app.ico
node build/assemble.js # 组装到 build/DeepSeekHarnessApp
4. Packaging
# Windows
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" "/DProjectDir=$((Get-Location).Path)" setup.iss
# macOS
hdiutil create -volname "DeepSeek Harness" -srcfolder build/DeepSeekHarnessApp/DeepSeekHarness.app -ov -format UDZO installers/DeepSeekHarness-macOS-$(uname -m).dmg
# Linux
tar -C build/DeepSeekHarnessApp -czf installers/DeepSeekHarness-linux.tar.gz DeepSeekHarness
🚀 Usage
- Double-click
DeepSeekHarnessSetup-*.exeto install (no admin needed; creates a desktop shortcut automatically) - Double-click the "DeepSeek Harness" icon on the desktop
- First run: set your DeepSeek API Key in the Web interface
⚠️ Notes
- User data is stored in
~/.dsh(separate from the install directory) and persists after uninstall - The service listens on
http://127.0.0.1:3080; closing the window stops it
📄 License
MIT. The Harness itself is copyrighted by DeepSeek AI; see the upstream repository.
Comments
Loading…
Similar plugins
by ChisaAlter
DSH桌面端,支持主题和背景图等多种个性化配置。Electron desktop shell for DeepSeek Harness web UI
★ 139
↓ 432.1k/wk
MIT
JavaScript
Aug 25, 2026
dsh plugin --profile web add @deepseek-ai/dsh-baseby rifkyazizf
small session tabs plugin for the DeepSeek Harness (dsh) desktop app
★ 0
MIT
JavaScript
Oct 8, 2026
dsh plugin --profile web add dsh-session-tabsby giter00
deepSeek harness上下文压缩工具
★ 18
Apache-2.0
JavaScript
Aug 23, 2026
dsh plugin --profile agent add dsh-headroomby ahikl
DeepSeek Harness 桌面端插件:基于 Electron 的 dsh Web UI 桌面外壳。| An Electron desktop shell for the DeepSeek Harness Web UI, with a system tray and a custom title bar.
★ 0
↓ 199/wk
MIT
TypeScript
Aug 16, 2026
dsh plugin --profile web add @ahikl/dsh-desktopby kkaktus463
Opens the DeepSeek Harness Web UI in a native window instead of a browser tab.
★ 0
MIT
JavaScript
Aug 23, 2026
dsh plugin --profile web add dsh-plugin-desktopby lc69282940
纠正DeepSeek Harness桌面端沿用的 Web 环境说明
★ 0
MIT
JavaScript
Oct 1, 2026
dsh plugin --profile web add dsh-desktop-context