Skip to content

kxSenlin/dsh-whale-font

30Last commit Aug 15, 2026

dsh-whale-font DSH plugin

This plugin visually replaces the subject pronouns 'I', 'me', and 'you' in DeepSeek Harness dialogue with the official blue whale icon. It operates only on the display layer, preserving original text for copying and model memory. The replacement uses a custom COLR font for Chinese characters and DOM manipulation for English words.

How to install the dsh-whale-font DSH plugin

dsh plugin --profile web add github:kxSenlin/dsh-whale-font

Copying does not run this command. Review the repository and version before installing the dsh-whale-font DSH plugin.

dsh-whale-font DSH plugin data source

dsh-whale-font DSH plugin snapshot date: Aug 16, 2026

discovered

What the dsh-whale-font DSH plugin can do

  • Replaces Chinese '我' and '你' in assistant/user messages with a blue whale icon via custom font.
  • Replaces English standalone 'I' and 'me' with whale icon using DOM manipulation (word boundary matching).
  • Preserves original characters when copying text (no hidden characters or images).
  • Does not alter message data or affect model reading/memory.
  • Excludes quoted text (inside quotes) and code blocks (<code>/<pre>) from replacement.
  • Works in both light and dark modes; whale icon details are white on dark backgrounds.

Where the dsh-whale-font DSH plugin fits

  • Personalizing the chat interface to make agent identity more visually distinct.
  • Theming the DSH web UI with DeepSeek branding elements.
  • Reducing ambiguity in multi-turn conversations by visually marking the speaker.
  • Creating a playful or branded experience for users testing DeepSeek models.
  • Demonstrating how DSH plugins can modify UI without backend changes.

Who the dsh-whale-font DSH plugin is for

  • DSH users who want a more branded or visual chat experience.
  • Developers exploring DSH plugin capabilities for UI customization.

dsh-whale-font DSH plugin limitations

  • Only works on the DSH web profile (not on terminal or other interfaces).
  • English replacement uses DOM monitoring and may break if DSH updates internal CSS class names (requires updating selectors).
  • Requires browser support for COLR color fonts (Chrome 71+, Firefox, Safari 16.4+).
  • Does not affect the input field; only messages already displayed are modified.
  • Tuning size/position requires additional Python dependencies (fonttools) and manual script execution.

dsh-whale-font DSH plugin: from the repository README

Quoted from the kxSenlin/dsh-whale-font README, the upstream source of the dsh-whale-font DSH plugin. Copyright remains with the original authors.

将 DeepSeek Harness(DSH)对话中的主语人称「**我 / 你 / I / me**」显示为 **DeepSeek 官方蓝色鲸鱼图标**。 本插件仅在显示层替换,不修改消息数据、不影响模型读取与记忆,也不作用于输入框。替换后的图标用于标示每句话的主语(说话者)。 ## 预览 浅色模式: ![浅色模式](assets/light-mode.png) 深色模式(内部细节固定为白色): ![深色模式](assets/dark-mode.png) ## 功能 | 位置 | 效果 | |---|---| | 助手消息中的「我」 | → <img src="assets/whale.svg" width="16" height="16" align="absmiddle"> 鲸鱼 | | 用户消息中的「你」 | → <img src="assets/whale.svg" width="16" height="16" align="absmiddle"> 鲸鱼 | | 助手消息中的英文 `I`、`me`(独立单词) | → <img src="assets/whale.svg" width="16" height="16" align="absmiddle"> 鲸鱼 | | 引号内的「你 / 我」(助手引用用户输入时) | 保持原样 | | 代码块 `<code>` / `<pre>` 内 | 不替换 | | 输入框(输入中) | 不替换 | 复制消息时,「我 / 你 / I / me」均还原为原字符(不产生空字符或图片)。鲸鱼图形主体为蓝色,内部细节在深浅色模式下均为白色。 ## 实现原理 插件由两层机制组成: | 层 | 处理对象 | 机制 | 说明 | |---|---|---|---| | 字体层 | 中文「我」「你」 | 自定义彩色字体(COLR/CFF) | 字符渲染时即显示为鲸鱼,不修改 DOM、无闪烁、实时生效,复制保留原字符;主体蓝色、内部细节白色 | | DOM 层 | 英文 `I`/`me`、引号内还原 | 监听页面变更并插入 SVG / 包裹基础字体 | 用于字体无法实现的整词判断与上下文判断 | 英文 `I`/`me` 不使用字体的原因:字体为逐字符映射,会误替换 `It`/`Idea` 中的 `I` 以及 `message`/`time` 中的 `me`。DOM 层通过单词边界精确匹配独立的 `I`/`me`。 ## 安装 ### 前置要求 - 已安装 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)(`dsh` 命令可用)。 ### 方式一:官方命令(推荐) 执行以下命令: ```bash dsh plu

Read the full READMERepository license: MIT

dsh-whale-font DSH plugin questions

How do I install the whale font plugin?

Run the command `dsh plugin --profile web add github:kxSenlin/dsh-whale-font` in your terminal. Make sure DSH is installed and the `dsh` command is available. After installation, restart the DSH service and force refresh your browser with Ctrl+Shift+R.

Will copying messages keep the whale icon?

No. When you copy a message, the 'I', 'me', 'you' characters are restored to their original text. The plugin uses a custom font and DOM manipulation that preserves the original characters in the clipboard, so no icons or empty spaces appear.

Does the plugin work in dark mode?

Yes, the whale icon adjusts to dark mode. The main body remains blue (#4d6bfe), and the internal details are fixed to white. If you see a black icon, your browser may not support COLR color fonts (Chrome 71+, Firefox, Safari 16.4+).

How do I uninstall the plugin?

Run `dsh plugin --profile web remove dsh-whale-font` in the terminal. No need to restart if you only remove the plugin, but a force refresh may be needed to clear the UI changes.

Can I adjust the size or position of the whale icon?

Yes, but it requires additional steps. Install `fonttools` with pip, edit `tune/whale-config.json` to change parameters like scaleX, scaleY, yOffset, etc., then run `python tune/adjust_whale.py`. This regenerates the font and updates the installed plugin. Refresh the browser to see the changes.