bauerelizabeth07139/nai ↗★ 0

nai

将奶青蛙形象设为界面背景、头像与标志 适合想要将 DSH 界面主题和图标定制为 Nai 奶青蛙形象的用户。

包名
nai
兼容性
待验证
Cordis 依赖范围
>=4.0.2
版本
0.1.1
许可证
MIT
最近更新
2026年9月30日

安装

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

Configuration

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

FieldDefaultMeaning
wallpapertrueWear the Nai artwork as the GUI background
brandtrueReplace the sidebar and hero logos with the Nai 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/nai/configGET / PUTRead / write the config (writes are same-origin only)
/api/nai/wallpaperGETThe 16:9 background artwork
/api/nai/markGETThe square avatar artwork
/api/nai/diagGET / POSTLast browser-side diagnostic report (mount state, surface overrides, errors)

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

配置

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