Skip to content
dsh.fish
Bundle

dsh-fusion-pixel-font

用 Fusion Pixel 12px 简体中文像素字体替换 DeepSeek Harness GUI 界面与代码字体 (可安装的 dsh 组合包)

Source
TableRogue
stars
1 stars
License
MIT
Updated
Updated 5 days ago

Readme

# dsh-fusion-pixel-font

用 [Fusion Pixel 12px 简体中文](https://github.com/TakWolf/fusion-pixel-font) 像素字体替换 DeepSeek Harness Web GUI 的界面字体与代码字体。

## 用处

- 全 GUI 界面文字(`--dsw-font-family`)与代码文字(`--ds-font-family-code`)切换为 Fusion Pixel 12px 像素字体。
- 字体由插件自身(Host 半)同源托管,无需外网 CDN。
- 保留系统字体回退,加载失败不影响使用。

## 安装(每次启动自动加载)

```bash
# 本地 checkout
dsh plugin --profile web add ./dsh-fusion-pixel-font

# 或从 GitHub(纯 JS,无构建步骤)
dsh plugin --profile web add github:TableRogue/dsh-fusion-pixel-font
```

安装后自动追加进 profile 的 `dsh.profile.bundles`,启动 `dsh --profile web` 即生效,无需重建 Web 产物。验证 / 卸载:

```bash
dsh --profile web --dump-config        # 应看到 # == dsh-fusion-pixel-font 层
dsh plugin --profile web remove dsh-fusion-pixel-font
```

**临时方式(动态插件,单次进程)**:把 `src/client.js` 头注释以下的内容填入 `cordis_define` 的 `code.client` 并 `cordis_run`,详见文件头注释。

## 文件

- `index.js` — Host 半:读取 `assets/` 字体字节并注册同源 webServer 路由。
- `src/client.js` — 动态插件源码(文档参考)。
- `lib/client.js` — 发布 bundle(client-modules 加载)。
- `assets/` — Fusion Pixel 12px 简体中文字体文件(OFL 许可,来源见上)。
- `cordis.patch.yml` — profile 组合补丁行。

## License

[MIT](./LICENSE) © 2026 TableRogue

Install

dsh plugin --profile web add github:TableRogue/dsh-fusion-pixel-font

Profile: web

  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source