Isilsolme/dsh-anthropic-fonts

Plugin插件 Native原生 ⭐ 10 NOASSERTION UI & Themes界面与主题Dev Workflow开发与代码工作流

Project Overview项目介绍

dsh-anthropic-fonts is a native font theme plugin built exclusively for the DeepSeek Harness web interface. It replaces DSH’s default system fonts with Anthropic’s official font family, assigning specific typefaces to different interface elements: UI components like sidebars, headers, buttons use Anthropic Sans Web Text, Markdown conversation content uses Anthropic Serif Web Text, and code blocks use Anthropic Mono Variable. It is distributed via npm, and follows the standard DSH bundle plugin installation format. For Chinese text, the plugin automatically falls back to open source Noto/Source Han fonts, and falls back to default system fonts if those are not installed.

The recommended installation method is via the DSH CLI: run the command dsh plugin --profile web add dsh-anthropic-fonts to automatically add the dependency and update your DSH profile configuration. You can also install manually by editing your web profile’s package.json to add the plugin dependency and include it in your bundles array, then run pnpm install in the profile directory. After installing the plugin package, you must manually download the three Anthropic font files from the repo’s fonts/ directory, install them to your operating system, then restart or refresh DSH web to see the change. This plugin is for users who prefer Anthropic’s signature typography style and want to customize their DSH interface.

This plugin requires Node.js version 22 or higher, and only works with DSH’s web profile. It has been smoke tested and confirmed compatible with specific DSH 0.1.5 versions; compatibility with newer untested DSH versions is not guaranteed. The plugin does not ship the Anthropic font files in its npm package; the Anthropic fonts are copyrighted by Anthropic and are only permitted for personal use. The plugin itself is released under the open source MIT license, and only injects CSS into the DSH interface, requiring no extra special permissions. Uninstalling the plugin fully removes all font changes and restores DSH’s default typography.

这是一款专为DeepSeek Harness Web界面打造的专属原生字体主题插件,作用是将DSH官方默认字体替换为Anthropic官方系列字体。它为不同场景分配了对应字体:侧栏、标题等界面元素用Anthropic Sans Web Text,模型对话的Markdown内容用Anthropic Serif Web Text,代码块用Anthropic Mono Variable。中文内容会自动回退到思源字体,未安装思源则回退到系统默认字体。

用户可以通过官方DSH CLI用一条命令完成插件安装,也可以手动编辑本地profile目录下的package.json添加依赖。完成npm包安装后,还需要手动从本仓库的fonts目录下载三个对应Anthropic拉丁字体并安装到本地系统,之后重启或刷新DSH Web界面才能正确生效。该插件面向喜欢Anthropic字体风格、想要自定义DSH界面整体排版的常规用户。

本插件的npm包不内置分发任何Anthropic字体文件,所有Anthropic字体的版权归Anthropic所有,仅供合法个人非商业使用,插件本身以MIT许可开源。运行时要求Node.js版本不低于22,仅兼容DSH的官方web profile,目前已验证可兼容官方特定的0.1.5版本DSH。插件仅注入字体相关CSS样式,不读写任何文件、不访问外部网络,不需要任何额外的系统权限。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 10 stars - an early-stage project星标 10,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

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

CLI Install命令行安装

dsh plugin --profile web add dsh-anthropic-fonts

把 Isilsolme/dsh-anthropic-fonts 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-anthropic-fonts

Awesome DSH Plugin

给 DeepSeek Harness Web 界面换上 Anthropic 字体:

  • 界面(侧栏、标题、按钮、设置):Anthropic Sans Web Text
  • 模型对话(Markdown 正文 / 标题 / 表格):Anthropic Serif Web Text
  • 代码 / 代码块:Anthropic Mono Variable

中文回退到思源字体(Noto Sans SC / Source Han Sans SC / Noto Serif SC),未安装时回退到系统字体(苹方 / 微软雅黑 / 宋体)。

字体

重要:插件不内置字体。npm 包不随包分发字体文件;安装插件后还需手动安装字体(见下表),然后刷新 / 重启 web 才会生效。

插件引用的三个 Anthropic 拉丁字体(建议安装,英文 / 代码效果最佳):

字体 用途 获取方式
Anthropic Sans Web Text 界面 仓库 fonts/ 下载,或从 Claude 应用提取
Anthropic Serif Web Text 模型对话 仓库 fonts/ 下载,或从 Claude 应用提取
Anthropic Mono Variable 代码 仓库 fonts/ 下载,或从 Claude 应用提取

安装:Windows 双击每个 .ttf → 点「安装」;macOS 用「字体册」导入。安装后刷新 / 重启 web 生效。

字体版权归 Anthropic 所有,仅供个人使用,不适用 MIT 许可(详见 LICENSE 字体声明)。

中文无需额外安装:会回退到思源黑体 / 宋体(Noto Sans/Serif SC、Source Han),没有则用系统字体。

安装

标准的 dsh bundle 插件 —— 与 dsh-whale-animation 同一种形态。

CLI(推荐)

已发布到 npm,一条命令安装:

dsh plugin --profile web add dsh-anthropic-fonts

也可以从 GitHub 安装:

dsh plugin --profile web add "github:Isilsolme/dsh-anthropic-fonts"

dsh plugin add 会在 profile 内执行 pnpm add,并自动把 bundle 追加到 dsh.profile.bundles。之后重启 web 即可生效。

⚠️ 安装插件后还需手动安装字体文件(见上方「字体」)——npm 包不随包分发字体。

手动安装

// ~/.dsh/profiles/web/package.json
{
  "dependencies": {
    "dsh-anthropic-fonts": "^0.2.1"
  },
  "dsh": {
    "profile": {
      "bundles": [
        "@deepseek-ai/dsh-base",
        "@deepseek-ai/dsh-web-app",
        "dsh-anthropic-fonts"
      ]
    }
  }
}

然后:

cd ~/.dsh/profiles/web && pnpm install

本地调试时,可用 "dsh-anthropic-fonts": "link:C:/path/to/dsh-anthropic-fonts" 指向本地目录。

卸载 / 关闭

dsh plugin --profile web remove dsh-anthropic-fonts

(或从 dependencies 和 bundles 里移除,再 pnpm install)。重启即恢复默认字体。

兼容性与权限

项目 声明位置 值
DSH 范围 dsh.compatibility.dsh >=0.1.0-rc.7 <0.2.0
DSH 逐版本 dsh.compatibility.dshReleases 见下
Node.js engines.node >=22
Profile dsh.compatibility.profiles、dsh.client.platform web

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-acp-for-bitfun 下一个 Next omd-dsh →