其他
完整应用
deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Vergil-long/dsh-custom-font
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
一个 DeepSeek Harness(DSH)插件:像 Word 一样,在设置页里直观地修改界面文字的 字体 / 字号 / 加粗 / 颜色,改动即时生效(所见即所得)并自动保存。
A DeepSeek Harness plugin for customizing fonts, sizes, weights, and colors across the whole interface — Word-style and WYSIWYG.
目前只支持 Windows(自动读取系统已装字体,不附带、不安装任何字体)。桌面版与
dsh web网页版均可用。
npx @deepseek-ai/dsh plugin --profile web add dsh-custom-font
# 1. 把本目录放到一个「没有空格」的路径(例如 C:/Users/you/dsh-custom-font)
# 2. link 进 web profile:
npx @deepseek-ai/dsh plugin --profile web add "link:C:/Users/you/dsh-custom-font"
⚠️ 路径里不能有空格(pnpm 会截断路径报错)。
lib/index.js:用 PowerShell(.NET InstalledFontCollection)读取 Windows 已装字体库,得到「中文名 + 英文名」清单,通过本地只读接口 /dsh-custom-font/fonts 提供给浏览器,结果在内存缓存。client/client.js:注册一个 settings.section 设置页;按当前设置动态生成一个 <style>(用 !important 作用于 p / h1~h6 / code 等元素 + --dsw-font-* 变量)。localStorage 的 dsh-custom-font/settings 键。"西文字体", "中文字体", 后备,浏览器对英文/数字用前者、对汉字用后者。dsh-custom-font/
├── package.json # 插件元信息 + dsh 声明
├── cordis.patch.yml # 插入 profile 的补丁
├── lib/index.js # 宿主端(读 Windows 字体库 + 提供 /fonts 接口)
├── client/client.js # 客户端:设置页 + 即时样式
├── README.md
└── LICENSE
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。