Lumera114514/dsh-hero-custom

插件Plugin 原生Native ⭐ 2 MIT

项目介绍Project Overview

该插件用于在DSH Web GUI中自定义新对话首页标题。可修改文字、位置、字号、颜色、字体、光效、动态特效及鲸鱼图标。设置实时预览并自动保存至本地。适合个性化界面时使用。注意:依赖特定运行时类名,升级后可能需兜底逻辑适配。

This plugin customizes the new-chat homepage title in the DSH Web GUI. It lets you modify text, position, font size, color, font, glow effects, animations, and the whale icon. Settings preview live and save locally. Use it to personalize the interface. Caveat: it relies on specific runtime class names, with fallback logic for DSH upgrades.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add dsh-hero-custom

Lumera114514/dsh-hero-custom 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-hero-custom

在 DeepSeek Harness(DSH)Web GUI 里自定义新对话首页的标题:

把「探索未至之境 预览版」改成你想要的文字,还能调整位置、字号、颜色、字体、光效、动态特效——以及标题前的鲸鱼图标(大小 / 颜色 / 动画)。所有设置在 设置 → 主界面标题 里直接改,实时预览、自动保存。

功能

  • 主标题文字:修改「探索未至之境」
  • 徽标文字:修改 / 隐藏「预览版」徽标(留空即隐藏)
  • 字号:0–96px(0 = 默认 26px)
  • 颜色:任意颜色
  • 字体:手动输入或一键选择(楷体 / 宋体 / 黑体 / 圆体 / 等线 / 无衬线)
  • 位置:X / Y 偏移(-300 ~ 300px)
  • 光效:霓虹辉光(开关 + 颜色 + 半径 + 强度 1–4 层)
  • 标题特效:无 / 流光(渐变流动)/ 呼吸 / 彩虹循环
  • 鲸鱼图标:大小(0 = 默认 24px,等比缩放)、颜色、动画(游动 / 弹跳 / 旋转 / 摇摆 / 脉冲)
  • 防闪现:点击「新建对话」时旧文字不会一闪而过(预隐藏 + 帧级替换)
  • 持久化:设置保存到 $DSH_HOME/hero-custom.settings.json,重启不丢

安装

# 从 npm 安装
dsh plugin --profile web add dsh-hero-custom

# 或本地目录
dsh plugin --profile web add ./path/to/dsh-hero-custom

装好后重启 dshdsh --profile web / 重启 DSH Desktop),打开 设置 → 主界面标题

兼容性

  • 客户端主定位使用打包运行时里的哈希类名(.pXSMma_headlineText / .pXSMma_previewBadge / .pXSMma_fish,对应 DSH web 0.1.0-rc.6 运行时),并内置了按原文「探索未至之境 / 预览版」匹配的兜底逻辑,DSH 升级后一般仍能工作。
  • 免构建:lib/ 为预构建产物,无 prepare 脚本,安装零阻碍。

数据与安全

  • 设置仅存本机 $DSH_HOME/hero-custom.settings.json,不上传任何数据。
  • 纯 UI 文案定制,不修改任何官方文件、不影响会话数据。

License

MIT

上一个 Prev btpanel-dsh 下一个 Next dsh-dingtalk-channel