- Home
- Plugin
- Temi e aspetto
- dsh-ascii-ocean
dsh-ascii-ocean
xuanli-cn/dsh-ascii-ocean
Living ASCII ocean behind the DeepSeek Harness new-session home.
Installazione
dsh plugin --profile web add github:xuanli-cn/dsh-ascii-oceanREADME
dsh-ascii-ocean-backdrop
中文 | English
A DeepSeek Harness plugin that
runs the living ASCII ocean from ascii-sharks
behind the new-session home screen: four sharks, schooling fish and cyan wakes,
drawn on a canvas that sits below the conversation's content.
;'
%%'
.t;. .oooo
S;:S% %8S8.
;:tt%t '.. XX%%S
t' ''XSSS8SSX%XX8#. %XSX%
:;' ;.''X8%8XX%%S%%S%SStt%tSX8S#X8't%ttt.
What it does
- Registers a layer in the Conversation's
conversation.hero.frameslot — the same seat the shipped home whale uses — and paints a canvas atz-index: -1. The Conversation root isolates stacking in the hero phase, so the ocean lands above its background and below every control: nothing is drawn over the headline, the composer or a button. - Simulates the sharks, fish schools and wakes with the upstream
ascii-sharksengine, unchanged; only the frame loop, alpha canvas and theme follow live here. - Follows the light and dark theme with the project's own paper and black palettes, redraws at 30 fps, pauses while the tab is hidden, and holds one settled still frame when the system asks for reduced motion.
- The school flees the pointer; a click on blank home space splashes the water.
- Shown while the blank home of a standalone Conversation is on screen. An open Session keeps DSH's opaque chat surface, so no ocean is painted there.
Install
From the DSH Web GUI: Settings → Plugins → Add plugin, and enter this repository's address:
https://github.com/xuanli-cn/dsh-ascii-ocean
From the CLI, in the profile you boot (for example web):
dsh plugin --profile web add github:xuanli-cn/dsh-ascii-ocean
The repository ships the built browser artifact (dist/client.js), so
installing it needs no build step and no allowBuilds permission. To pin a
revision, append the tag or commit:
dsh plugin --profile web add github:xuanli-cn/dsh-ascii-ocean#v1.1.0
Remove it with dsh plugin --profile web remove dsh-ascii-ocean-backdrop, or
disable it in Settings → Plugins.
How it works
DSH loads exactly one browser artifact per package, so the source is split into
small modules and dist/client.js is their build output.
| File | Role |
|---|---|
package.json | Bundle manifest: dsh.bundle.patch plus the dsh.client browser artifact. |
cordis.patch.yml | Inserts the plugin row. |
index.js | Host half; the plugin is Client-only, so this only exists for the inventory row. |
src/entry.js | Browser entry: the module-loader factory, inject, apply, and the slot registration. |
src/layer.js | The conversation.hero.frame layer and the canvas it mounts while hero. |
src/ocean.js | Simulation driver: fixed step, resize, theme follow, pointer, pause, reduced motion. |
src/renderer.js | Renderer subclass that gives the canvas an alpha stage instead of a black one. |
src/config.js | Dials: shark cast, fish count, opacity, timings, plugin id. |
dist/client.js | Built artifact loaded by the Web GUI — generated, do not edit. |
upstream/src/ | Vendored ascii-sharks sources, MIT, at upstream commit fff1af0. |
locale/ | Display metadata (English and Chinese). |
icon.svg | Plugin icon. |
Rebuild the artifact after changing src/:
npm install
npm run build # minified dist/client.js (what ships)
npm run build:dev # readable, unminified, for debugging
npm run check # node --check on the artifact
dist/client.js comes from scripts/build.mjs. It must stay
one self-contained IIFE in the module-loader form (window.__ModuleLoader__.load
with a factory that receives require and returns { inject, apply }); React is
resolved through that require against the shell's shared module table rather
than bundled.
Dials live in src/config.js: SHARKS, FISH and OPACITY
(0.42) set the cast, population and how strongly the art reads behind the home
screen.
License
MIT. The simulation and ASCII artwork are from
ascii-sharks, Copyright (c)
2026 drewdi, MIT — see LICENSE. The plugin code is MIT as well.
Plugin correlati
dsh-wallpaper-engine
elysia395/dsh-wallpaper-engine
dsh-deep-whale (maid-atelier)
small-tailqwq/dsh-deep-whale
dsh-claude-style
nwflower/dsh-claude-style
dsh-deep-whale
small-tailqwq/dsh-deep-whale