dsh-bili-scroll
c1overzz
DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Dippppper/dsh-hero-motto
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
A two-component plugin for DeepSeek Harness: it replaces the main headline (the title beside the whale on the new-session screen) with a rotating pool of custom text lines, and draws a flowing, breathing colour border around the composer card. Everything is configured from the bundle's detail card on the plugin page.
The shipped main headline (探索未至之境 / Into the Unknown) is replaced by your
own custom text that rotates on a timer. It starts with just those two, so add,
edit or remove the lines under Plugins → New-session motto rotation.


Component 1: main headline · custom text rotation (hero-motto)
| Feature | Notes |
|---|---|
| Custom text rotation | A shuffle bag visits every custom line once per cycle, so nothing repeats back to back. |
| Animations | Float-in Blur swap Typewriter |
| Rotation interval | 2–120 seconds |
| Fonts | Four built-in presets, or upload your own .ttf / .otf / .woff / .woff2 |
| Alignment | Left Center Right, against the composer card |
| Keyword emphasis | Wrap part of a line in [brackets] to paint it in the accent colour |
| Accent colour | Six presets and a colour well |
| Preview badge | Keep or hide the pill beside the headline |
Component 2: border marquee
| Setting | Notes |
|---|---|
| Colour | Built-in presets, or your own saved groups |
| Band | Border ring on/off; width 1–6 px |
| Glow | A coloured shadow cast onto the background; intensity 0–100% |
| Marquee | Colour band flowing along the border on/off; speed 1–10 s per turn |
| Breathe | Brightness pulse on/off; rate 10–60 per minute |
| Brightness | Overall effect brightness 0–200% |
| Scope | "New-session view" and "Chat page" |
| Focus only | When on, the marquee and glow appear only while the composer has focus, fading out on blur |
A bundle installs from a directory:
plugin_manager install_bundle target=<absolute path to this checkout>
or, with the CLI, add all three rows to your profile patch (the core row plus one per component):
- insert:
- id: hero-motto-core
name: 'dsh-hero-motto'
- id: hero-motto
name: 'dsh-hero-motto/motto'
- id: hero-motto-marquee
name: 'dsh-hero-motto/marquee'
The plugin then appears as dsh-hero-motto on the Plugins page.
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 committedindex.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.
Several rules key off DeepSeek Harness class names and markers that this plugin does not own:
[class*="fishHitbox"] / [class*="titleGroup"];[class*="headline"];[data-composer-card] marker.
Scope detection keys off this plugin's own hero mark being mounted, with a
[data-conversation-scroll] / [data-chat-flow-key] ancestor as fallback.If a Harness update renames those, the original headline reappears, alignment
stops moving, or the marquee disappears. All are single-line selector updates in
client.js; if every view signal is lost, the marquee falls back to the "chat
page" scope (the new-session signal comes from this plugin's own hero mark, not
host classes).
| File | Role |
|---|---|
index.js |
Host half (hero-motto-core core row): config-less package-root plugin that carries the shared browser half |
motto/index.js |
Host half (hero-motto component): the Config schema and settings policy for the custom-text main-headline rotation |
marquee/index.js |
Host half (hero-motto-marquee component): the border-marquee Config schema |
client.js |
Browser half: the hero mark occupant, the mottos, the border-marquee runtime/remount, and both settings cards |
cordis.patch.yml |
The bundle patch inserting the core row plus the two component rows |
locale/*.json |
Titles and descriptions for the core row and both feature components |
icon.png |
Plugin icon (shared by both components) |
Since 2.2.0 the bundle ships three rows (one switch each under the bundle page's "included components"):
hero-motto-core): carries the browser half shared by both components. Keep it enabled; turning it off disables every piece of UI this bundle renders (the master switch).hero-motto): replaces the main headline with rotating custom text, plus all display settings;hero-motto-marquee): the composer colour border, glow, breathing, and scope.The two feature components keep their own settings storage and toggle independently of each other; the entry ids are unchanged from 2.1.x, so saved settings carry over. After toggling a component switch on the plugin page, press Ctrl+R to apply it in the page.
MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。