dsh-custom-brand

by baisama-cloud

UI 增强github 检测到 manifest package.json#dsh 社区精选 收录于 08-16

Web UI 品牌区自定义:鲸鱼 logo 与 DeepSeek 文字可换成本地图片,HARNESS 徽章文字可双击编辑(双击修改,右键恢复)。

Customizable brand area for the Web UI: replace the whale logo and DeepSeek wordmark with local images, and edit the HARNESS badge text (double-click to change, right-click to reset).

安装

dsh plugin --profile web add github:baisama-cloud/dsh-custom-brand

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

目录

Customizable brand area for the DeepSeek Harness (DSH) Web GUI — replace the whale logo and the DeepSeek wordmark with your own local images, and edit the HARNESS badge text. Everything persists in localStorage and survives restarts.

DSH Web 界面左上角品牌区自定义插件:鲸鱼 logo 与 DeepSeek 文字可换成你自己的本地图片,HARNESS 徽章文字可双击编辑。所有修改保存在浏览器 localStorage,重启不丢。

Features / 功能

Area Interaction
Whale logo / 鲸鱼 logo Double-click to pick a local image (auto-downscaled to 256px, PNG keeps transparency); right-click to restore the default whale
DeepSeek wordmark / DeepSeek 文字 Double-click to pick a local image; right-click to restore the original lettering
HARNESS badge / HARNESS 徽章 Double-click to edit the text (styled like the original badge letterforms); Enter to commit, Esc to cancel
Browser tab title / 标签页标题 Syncs to the badge text

Install / 安装

dsh plugin --profile web add github:<owner>/dsh-custom-brand

or in the DSH settings → Plugins market, search dsh-custom-brand. 或在 DSH 设置 → 插件市场中搜索安装。

Usage / 使用

  1. Hover the brand area in the top-left sidebar — a dashed outline hints where editing is available.
  2. Double-click the whale or the DeepSeek text to open the file picker; choose any image (PNG/JPG/WebP…). It is scaled to fit the small slot automatically.
  3. Right-click an image slot to reset it to the original artwork.
  4. Double-click the HARNESS badge and type a new name; the browser tab title updates with it.

Stored keys (browser localStorage): dsh.customLogo, dsh.customDeepSeekImg, dsh.customBrand.

Development / 开发

This is a standard DSH bundle:

  • lib/index.js — host half (intentionally empty; all behavior is client-side)
  • lib/client.js — browser half, registered via window.__ModuleLoader__.load
  • cordis.patch.yml — loader row inserting the plugin

Build the tarball with:

pnpm pack

License / 许可证

MIT

原始 README: https://github.com/baisama-cloud/dsh-custom-brand/blob/master/README.md ↗