shellexy/dsh-webviewgtk
A GTK4 + WebKitGTK 6.0 based web launcher for dsh
项目介绍Project Overview
dsh-webviewgtk 是基于 GTK4 与 WebKitGTK 6.0 的 dsh 桌面启动器,用 Python 编写。它通过执行 npx @deepseek-ai/dsh web --no-open --port 3081 拉起官方最新版 dsh,并在原生窗口中加载其 Web 界面,同时把子进程输出显示在加载页和终端。适用于希望以 GTK4 桌面窗口方式使用 dsh 的 Linux 用户,可通过 apt 安装依赖、git 克隆后直接运行或 pip install . 安装获得 dsh-webviewgtk 命令。注意事项:仅作为启动器,本身不包含 dsh、不预装额外插件,且依赖网络以获取最新版本,关闭窗口会终止整个 dsh 进程树。
dsh-webviewgtk is a DSH desktop launcher built with Python, GTK4, and WebKitGTK 6.0. It spawns the official @deepseek-ai/dsh web process on port 3081 via npx and renders the interface inside a native GTK window, mirroring the child process output to the loading screen and terminal. It suits Linux users who want a GTK4 desktop front end for DSH; install dependencies via apt, then run python3 dsh-webviewgtk.py or pip install . to get the dsh-webviewgtk command and desktop entry. Note that it is only a launcher, contains no bundled DSH or plugins, requires network access, and closing the window terminates the entire DSH process tree.
请帮我了解并安装插件:【dsh-webviewgtk】【https://github.com/shellexy/dsh-webviewgtk】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add github:shellexy/dsh-webviewgtk
把 shellexy/dsh-webviewgtk 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-webviewgtk
基于 GTK4 + WebKitGTK 6.0 的 dsh web 启动器。
可以作为 deepseek-harness 的 gtk4 desktop 桌面版使用。
注:这只是一个启动器,不包含 dsh,也不预装任何额外插件,
启动时会执行 npx --loglevel verbose --yes @deepseek-ai/dsh web --no-open --port 3081
目的是保证使用的是最新版官方 dsh。
截图

依赖
Debian/Ubuntu:
sudo apt install python3-gi gir1.2-gtk-4.0 gir1.2-webkit-6.0
还需要 npx 命令在 PATH 中。
下载
git clone https://github.com/shellexy/dsh-webviewgtk.git
cd dsh-webviewgtk
直接运行
python3 dsh-webviewgtk.py
启动后会:
- 打开 WebKitGTK 窗口并显示
Loading...; - 以子进程启动
npx --loglevel verbose --yes @deepseek-ai/dsh web --no-open --port 3081; - 把 dsh 的标准输出/错误同时显示在 Loading 页和终端;
- 轮询
http://127.0.0.1:3081,可用后自动加载正式页面; - 网页下载时弹出保存对话框;
- 关闭窗口时结束整个 dsh 进程树。
安装
在仓库目录下执行:
pip install . --break-system-packages
或:
python3 setup.py install --user
安装后会提供 dsh-webviewgtk 命令,并安装:
dsh-webviewgtk启动命令dsh-webviewgtk.svg图标到 hicolor 图标主题dsh-webviewgtk.desktop到 applications 目录
图标与 StartupWMClass
- 窗口图标使用
dsh-webviewgtk.svg。 - 程序名/窗口类设置为
dsh-webviewgtk。 dsh-webviewgtk.desktop中声明了StartupWMClass=dsh-webviewgtk。
ccch1mneyyy/dsh-TUI
ChisaAlter/Deepseek-Harness-Desktop
Hilbert-beinghappy/seektty
skymecode/deepseek-harness-for-vscode
xiincs/deepseek-harness-desktop
rison114514/dsh-endfield-ui
T-Auto/dsh-ecosystem-spec
dsh-tui/dsh-tui