bauerelizabeth07139/tangsan ↗★ 0

tangsan

TangSan mascot appearance layer for the DeepSeek Harness web GUI: wears a generated TangSan portrait as the chat background (surface fade, opacity, blur and scrim controls) and injects it as the sidebar and conversation brand mark, with a Settings section driving it all. 适合想要将 DSH 界面主题和图标定制为唐三形象的用户。

Package
tangsan
Compatibility
Unverified
Cordis peer range
>=4.0.2
Version
0.1.1
License
MIT
Last updated
Sep 30, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:bauerelizabeth07139/tangsan

Configuration

The config lives at $DSH_HOME/tangsan.json (default ~/.dsh/tangsan.json) and is edited by the Settings section; it is also reachable over HTTP.

FieldDefaultMeaning
wallpapertrueWear the TangSan artwork as the GUI background
brandtrueReplace the sidebar and hero logos with the TangSan avatar
surfaceOpacity60Shell surface opacity in % — lower shows more of the wallpaper, higher keeps the shell opaque (25–100)
blur0Gaussian blur applied to the wallpaper, in px (0–24)
scrim35Palette-matched wash over the wallpaper — black in the dark theme, white in the light theme — for a readable transcript, in % (0–90)
positioncenterWallpaper background-position: center, left, right, top, bottom
RouteMethodPurpose
/api/tangsan/configGET / PUTRead / write the config (writes are same-origin only)
/api/tangsan/wallpaperGETThe 16:9 background artwork
/api/tangsan/markGETThe square avatar artwork
/api/tangsan/diagGET / POSTLast browser-side diagnostic report (mount state, surface overrides, errors)

Every value is clamped server-side; unknown keys are dropped.

配置

配置文件为 $DSH_HOME/tangsan.json(默认 ~/.dsh/tangsan.json),字段与取值范围见上方英文表格;服务端会做钳制并丢弃未知字段。