Liu-ZA-81/dsh-theme-firefly 预览 preview

Liu-ZA-81/dsh-theme-firefly

Plugin插件 Native原生 ⭐ 30 MIT UI & Themes界面与主题

Project Overview项目介绍

This repository is a custom UI theme plugin built exclusively for the DeepSeek Harness (DSH) Web UI. It is themed around the character Firefly from the game Honkai: Star Rail, and includes a full set of custom UI elements including a custom color scheme, static and dynamic wallpapers, a boot splash animation, floating firefly particle effects, background music, and typing sound effects. You can install it in one line via the DSH CLI with the command dsh plugin --profile web add dsh-theme-firefly, then restart DSH Web to activate the theme.

This theme is designed for DSH users who are fans of Honkai: Star Rail and want to customize their DSH interface. After installation, all theme settings are accessible via a draggable floating panel in the lower right corner of the screen. You can add your own local wallpapers and music tracks, adjust the density of firefly particles, toggle typing sound effects and background music on or off, and set a custom interval for automatic wallpaper rotation. All your settings are automatically saved to local storage, so they persist even after you restart DSH Web.

The source code of this project is released under the open-source MIT license, while all official in-game assets included with the theme are copyrighted by MiHoYo/HoYoverse and are intended for non-commercial personal use only. You cannot run multiple DSH theme plugins at the same time, because the most recently loaded theme will override any previously active theme. Uninstalling the theme only requires one line of DSH CLI command, and developers who want to customize assets can clone the source code, make their changes, and rebuild the plugin before installing.

本仓库是专为DeepSeek Harness(DSH)Web UI打造的流萤主题插件,主题灵感来自《崩坏:星穹铁道》中的角色流萤,自带萤火绿霓虹配色、角色立绘/动态壁纸、开屏变身动画、萤火氛围粒子、背景音乐、打字音效等全套定制内容,遵循DSH插件规范打包,可直接通过DSH命令行安装,安装后重启DSH Web即可生效。

适合喜欢《崩坏:星穹铁道》且想自定义DSH界面风格的用户使用,安装后可通过界面右下角可拖动的功能面板调整所有主题设置,支持自定义添加本地壁纸、音乐,调整氛围粒子密度,开关打字音效和背景音乐,还能设置随机壁纸轮换间隔,所有设置都会自动持久化保存,重启DSH后依然有效。

本项目代码采用MIT许可证开源,官方自带的素材版权归米哈游所有,仅作非商业同人使用,暂不支持同时启用多个DSH主题插件,后安装的主题会覆盖之前安装的主题,仅需一条命令即可完成安装、卸载,开发者也可通过克隆源码自定义修改素材后重新构建使用。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 30 stars - an early-stage project星标 30,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add dsh-theme-firefly

把 Liu-ZA-81/dsh-theme-firefly 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-theme-firefly · 流萤主题

🌌 崩坏:星穹铁道「流萤」主题的 DeepSeek Harness Web UI 皮肤插件。 萤火绿霓虹配色 × 立绘/动态壁纸 × 开屏变身动画 × 萤火氛围粒子 × 背景音乐 × 打字音效。

让流萤的萤火为你点亮DSH。✨

🖼️ 预览与演示

动态 / 静态壁纸

壁纸

开屏变身动画

开屏动画

萤火氛围粒子

萤火粒子

背景音乐播放器

背景音乐

表情包彩蛋

表情包

🎬 演示视频(B 站): https://www.bilibili.com/video/BV1nF8B6QEEj/?spm_id_from=333.1387.homepage.video_card.click&vd_source=573abae8b62b8edf27edc7cb8933e1b6


✨ 功能特性

壁纸系统(图片 / 动态视频)

  • 全屏 cover 铺底,界面容器半透明让壁纸透出;左暗右亮渐变遮罩保证聊天区可读
  • 「景」按钮弹出常驻面板:
    • 类型:动态(mp4)/ 静态(图片),各自独立记忆当前壁纸
    • 选择:弹出缩略图网格(正方形预览、固定三行、可滚动),点卡片直接应用该壁纸
    • 移除:在网格中勾选一张/多张后点「移除」——内置壁纸记为隐藏、运行时导入的壁纸从服务器删除(移入回收站,可恢复)
    • 随机:勾选若干张后点「随机」——把它们设为随机轮换池并立即进入随机模式(不勾选则等于全部)
    • 随机间隔:自定义分钟数(默认 5 分钟)
    • + 添加壁纸:从本机一次多选导入图片/视频(Ctrl/框选),同名同大小自动去重,立即生效(服务器磁盘持久化:写入 $DSH_HOME/theme-firefly/wallpapers/,刷新/重启/换浏览器都在;列表显示上传时的原始文件名)
    • 上传上限:按服务器剩余磁盘空间动态计算(默认单文件最多占剩余空间 80%,底线 512MB),装得下就传,快满自动收紧
    • 默认壁纸:首次安装(无历史记录)时优先展示 assets/Default_wallpaper.png
    • 选择面板点右上角「—」或再点「选择」收起;点「确定」收起设置面板,所有设置实时生效并持久化

流萤配色

  • 深空海军蓝黑 × 萤火虫青绿(#00ff87 / #7dff9e)× 莹白文字
  • 覆盖 100+ 个 --dsw-* 设计令牌,随主题即时生效

开屏变身动画

  • 内嵌 GIF 居中淡入,带绿色辉光边框 + 「流萤 // FIREFLY」标题
  • 每次刷新播放,时长跟随 GIF,点击任意处或「点击跳过」可跳过
  • 尊重系统 prefers-reduced-motion,自动跳过

萤火氛围粒子

  • 「萤」按钮分档:关 / 星点(12)/ 曳光(28)/ 流萤(80)
  • 数量切换带 0.9s 淡入淡出过渡,不陡然变化、不刷新页面
  • 每只萤火虫有独立尺寸、亮度、漂浮轨迹与呼吸式闪烁

背景音乐

  • 「乐」按钮点击开/关,弹出音乐面板
  • 旋转唱片 + 封面(内置曲目开箱即用默认「知更鸟」封面,也可手动指定)+ 进度条拖动跳转
  • 上一首 / 播放暂停 / 下一首 / 循环模式(单曲循环 → 列表循环 → 随机播放)
  • 选择:弹出歌单,勾选后移除(内置歌曲隐藏、导入歌曲删除)或随机(以勾选歌曲为随机池)
  • + 添加歌曲:从本机导入音乐并持久化;无封面时自动读取内嵌封面(MP3/FLAC)
  • 缩小 / ESC:收起为 dock 左侧的毛玻璃迷你播放器(大唱片在上、进度条在下, 点「隐藏封面」可切成只留进度条的简洁胶囊,「展开」恢复完整面板)
  • 当前曲目与循环模式持久化

打字音效

  • 聊天输入框打字时播放「咔哒 + 低频咚」的萤火质感按键音
  • Web Audio 实时合成,零音频文件;空格/回车音色更低;「声」按钮开关

彩蛋

  • 开屏动画:输入框发送 SAM → 重播开屏变身动画(精确匹配,普通消息不误触)
  • 表情包(GIF/表情包/ 目录,按对话内容触发,每回合最多一个,右下角弹出):
    • 你夸赞时 → 「开心」/「得意」(谢谢/太棒/厉害/绝了…)
    • 你确认开干时 → 「变身」(开始/开干/动手/走起/冲…)
    • 我确认时 → 「没错」(没错/正是/确实…)
    • 我需要你提供时 → 「期待」(发我/提供/给我…)
    • 我需要你确认时 → 「疑惑」(确认一下/要我…吗/可以吗…)

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev deepseek-harness-zh_pro 下一个 Next everything-kiro →