Dippppper/dsh-hero-motto ↗★ 0

dsh-hero-motto

Rotating DeepSeek-style mottos beside the new-session whale, with animations, fonts, alignment, keyword emphasis, and an accent colour.

パッケージ
dsh-hero-motto
互換性
未検証
バージョン
2.0.3
ライセンス
MIT
最終更新
2026/11/07

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Dippppper/dsh-hero-motto

ドキュメント

README 全文を読む ↗

dsh-hero-motto

English | 中文

Rotating custom mottos beside the whale on the new-session screen of DeepSeek Harness, configurable in detail from the plugin page.

The shipped headline (探索未至之境 / Into the Unknown) is replaced by a small pool of lines that rotate on a timer. It starts with just those two, so customize it under Plugins → New-session motto rotation.

New-session screen

New-session screen

Settings card

Features

FeatureNotes
Phrase rotationA shuffle bag visits every line once per cycle, so nothing repeats back to back.
AnimationsFloat-in Blur swap Typewriter
Rotation interval2–120 seconds
FontsFour built-in presets, or upload your own .ttf / .otf / .woff / .woff2
AlignmentLeft Center Right, against the composer card
Keyword emphasisWrap part of a line in [brackets] to paint it in the accent colour
Accent colourSix presets and a colour well
Preview badgeKeep or hide the pill beside the headline

Text size stays the shipped 26px: this plugin swaps the typeface, never the scale.

Install

A bundle installs from a directory:

plugin_manager install_bundle target=

or, with the CLI, add the row to your profile patch:

- insert:
    - id: hero-motto
      name: 'dsh-hero-motto'

The plugin then appears as dsh-hero-motto on the Plugins page. Its bundle detail page carries the settings card.

Restart required after installing

The Host half activates immediately, but the browser module is loaded once per page. Reload the window (or restart the application) after installing, and check the [hero-motto] client v… line in the console to confirm which build is live.

node_modules is not committed

index.js imports @deepseek-ai/schemastery for its Config schema. That package ships with DeepSeek Harness itself, so a plugin installed inside a profile resolves it from the profile's own tree. If you install this checkout by linking a directory from elsewhere, make sure @deepseek-ai/schemastery is resolvable from this folder — the .gitignore deliberately keeps node_modules/ out of the repo, because a local install usually points it at a machine-specific profile path.

Known fragility

Two rules key off DeepSeek Harness class names that this plugin does not own:

  • hiding the shipped headline text and preview badge, via [class*="fishHitbox"] / [class*="titleGroup"];
  • alignment, via [class*="headline"].

If a Harness update renames those, the symptom is visible but not fatal: the original headline reappears beside the rotating line, or alignment stops moving. Both are single-line selector updates in client.js.

Layout

FileRole
index.jsHost half: the Config schema and the "this bundle ships its own card" policy
client.jsBrowser half: the hero mark occupant, the mottos, and the settings card
cordis.patch.ymlThe bundle patch that inserts the hero-motto row
locale/*.jsonPlugin title and description for the Plugins page
icon.pngPlugin icon

Licence

MIT — see LICENSE.