gooosie / dsh-whale-bg

已收录

Unofficial DeepSeek Harness particle-whale background plugin with cursor lighting and theme support.

main其他 查看源代码

安装

npm test # validate manifests, entries, DSH handoff, injection, and theme API

此命令根据 GitHub 仓库地址生成。运行前请检查上游 README 与源代码;需要可复现安装时,请固定 release 或 commit。

README

维护者编写的文档快照。

在 GitHub 查看 ↗
提交版本 2746a7e同步于 2026年8月18日

dsh-whale-bg

English | 简体中文

An unofficial DeepSeek Harness Web UI background that rebuilds the DeepSeek fish silhouette as a swarm of varied-size particle tiles.

Animated preview of the dsh-whale-bg particle effect

This is a community project. It is not affiliated with, maintained by, or endorsed by DeepSeek. The fish geometry is reused from the MIT-licensed DeepSeek Harness repository; see THIRD_PARTY_NOTICES.md.

Features:

  • Entrance — particles assemble from a scattered state into the whale
  • Idle swimming — edges stay loose, the tail carries a travelling wave
  • Hover — a radial mouse push with cubic falloff + per-tile angle noise
  • Flashlight lighting — the light hugs the cursor: the whale is nearly invisible until the mouse comes near, then brightens inside a small radius
  • Themes — light (multiply blend, deep blue) and dark (screen blend, glow)
  • 30 FPS rendering to keep the decorative layer inexpensive

Compatibility

Developed and tested against @deepseek-ai/dsh@0.1.0-rc.6 on its Web profile. DeepSeek Harness is still in developer preview, so future releases may require plugin changes.

Install

Install the dsh CLI by following the DeepSeek Harness instructions. Then install the published plugin into DSH's Web profile:

dsh plugin --profile web add dsh-whale-bg@0.1.0
dsh web

To install from a source checkout instead:

git clone https://github.com/gooosie/dsh-whale-bg.git
cd dsh-whale-bg
npm ci
npm run check
dsh plugin --profile web add .
dsh web

DSH's web command always boots the profile named web, so the plugin must be installed into that profile. When installing from source, DSH links to the checkout; do not move or delete that directory while the plugin is installed.

The dsh.bundle patch inserts the whale-bg row and the dsh.client declaration mounts the browser half as /plugins/dsh-whale-bg/client.js.

Verify the composed configuration with dsh web --dump-config.

Remove:

dsh plugin --profile web remove dsh-whale-bg

Development

npm ci
npm run build   # tsdown -> lib/index.js (ESM host) + wrapped lib/client.js
npm test        # validate manifests, entries, DSH handoff, injection, and theme API
npm run check   # strict types + clean build + package verification
npm run watch

Structure

dsh-whale-bg/
├── package.json       # dsh.bundle (patch) + dsh.client (web module) manifests
├── cordis.patch.yml   # inserts the whale-bg composition row
├── tsdown.config.ts   # ESM host bundle + CJS client bundle
├── scripts/            # package-level regression verification
├── README.zh.md        # Simplified Chinese documentation
├── THIRD_PARTY_NOTICES.md
└── src/
    ├── index.ts       # no-op host entry (enables the Loader entry / scan)
    └── client.ts      # the whole whale background plugin

Tuning

All knobs live in src/client.ts:

KnobLocationDefault
Particle densitySAMPLE_SIZE, MODEL_STEP60, 0.18
Whale size / positioncomputeLayout≤720×540, center
Flashlight radiuslightDistance / 77 model units
Idle visibility floorlight = 0.05 + …0.05
Mouse push radiusdistance < 4.94.9 model units
Frame rate1000 / 3030 FPS

Contributing and license

Contributions are welcome; see CONTRIBUTING.md. Project code is available under the MIT License. Third-party notices and the non-affiliation statement are in THIRD_PARTY_NOTICES.md.

项目文件与信号

以下项目是目录快照中检测到的公开仓库信号。

贡献指南已检测
文档已检测

仓库信息

开发语言
TypeScript
许可证
MIT
最新发布
v0.1.0
最后更新
2026年8月15日 15:45

谨慎安装

请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。