npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dsh-theme-stardew

v0.1.6

Published

A Stardew Valley themed client plugin for the DeepSeek Harness web surface. Non-commercial fan theme.

Readme

dsh-theme-stardew

English

面向 DeepSeek Harness Web 端的 《星露谷物语》主题客户端插件。把整站 UI 换成温暖的像素农场风(聊天气泡、侧栏 Logo、农舍配色、代码绘制场景、昼夜氛围)——非商业同人作品。

⚠️ 素材说明 — 本包内含官方星露谷美术资源(Logo、作物/NPC 精灵图、游戏内场景截图),仅供 个人 / 非商业同人 使用。全部美术 © ConcernedApe / Stardew Valley。若计划 分发或公开发布本包,请先自行确认是否允许再分发这些素材;无法确认时,可考虑去掉 src/styles/*.png|gif,只保留代码绘制背景。

预览

白天

星露谷主题 · 白天

黑夜(设置 → 通用 → 外观「深色」+ 主题风格「星露谷」)

星露谷主题 · 黑夜

功能

  • 运行时注入完整星露谷样式表(图片全部 base64 内联、自包含),无需改 shell 的 base.css
  • 通过文档属性 data-sd-stardewhtml[data-sd-stardew])开关主题
  • 设置 → 通用 → 主题风格 增加 星露谷 / 默认 切换行,状态写入 localStorage['dsh.ui-stardew.enabled']
  • 只改视觉,不影响原有聊天功能

安装

本包既是 dsh.client 插件,也是 profile bundle(dsh.bundle)。发布到 npm(或指向 git 仓库)后,一条命令即可挂进 web profile。bundle 的 cordis.patch.yml 会插入客户端名册行,modules 的 node 半边再把 ./client 解析进 window.__DSH_BOOT__

# 从 npm 安装
dsh plugin --profile web add dsh-theme-stardew

# 或从 git / 本地 tarball
dsh plugin --profile web add <owner>/dsh-theme-stardew
dsh plugin --profile web add ./dsh-theme-stardew-0.1.6.tgz

若国内镜像尚未同步到最新版,可指定官方源:

pnpm add dsh-theme-stardew@latest --registry https://registry.npmjs.org/

然后启动 Web,打开 设置 → 通用 → 主题风格 → 星露谷(或设置 localStorage['dsh.ui-stardew.enabled'] = 'on')。外观里的「浅色 / 深色」会分别对应白天 / 黑夜农场场景。

本独立插件默认 关闭(需手动开启;与自带 ui-theme 默认开启不同)。

手动挂载(不用 dsh plugin add

若不希望按 profile bundle 处理,可自行在 web profile 的 patch 层(例如全局 $DSH_HOME/cordis.patch.yml)插入客户端行:

- insert:
    - id: theme-stardew
      name: 'dsh-theme-stardew'

并确保运行环境能解析到 dsh-theme-stardew

目录结构

dsh-theme-stardew/
├─ docs/
│  ├─ preview-day.jpg    # README 白天预览
│  └─ preview-night.jpg  # README 黑夜预览
├─ lib/
│  ├─ client.js          # 浏览器插件包 (window.__ModuleLoader__.load)
│  ├─ index.js           # Node 半边空 apply(Host Cordis 需要)
│  └─ styles/            # 原始样式与素材(./styles/* 导出)
├─ src/
│  ├─ index.ts           # Node 半边 stub(export apply)
│  └─ client/            # apply()、StardewRow、store、theme-css.ts
├─ src/styles/stardew.css
├─ cordis.patch.yml      # 向 profile 名册插入客户端行
├─ README.md             # 中文(默认)
├─ README.en.md          # English
└─ package.json          # dsh.client / dsh.bundle + ./client、./styles 导出

从源码构建

src/client/theme-css.ts 内嵌了样式与内联图片(生成物)。修改 src/styles/stardew.css 后需重新生成:

# 1) 重新生成内嵌 CSS 模块
#    (把 url('./*.png|gif') base64 内联进 src/client/theme-css.ts)
python3 scripts/embed-css.py

# 2) 构建客户端包
pnpm run build   # tsdown -> lib/client.js  (并复制 src/styles -> lib/styles)

许可证

插件 代码 为 MIT — 见 LICENSE

主题 美术不是 MIT;© ConcernedApe(《星露谷物语》),此处仅作非商业同人用途。捆绑素材的再分发风险自负。