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-sticker-picker

v0.1.0

Published

Composer sticker picker for DeepSeek Harness: a local image library, [[name]] tokens that render as images, drag order, pins and two-step delete.

Readme

dsh-sticker-picker

输入框旁的表情面板:挑一张插入 [[名字]],消息发出去后气泡里显示成图片。图库就是你磁盘上的一个文件夹。

A composer sticker picker for DeepSeek Harness: pick one from a local folder, insert a [[name]] token, and the bubble renders it as an image.

快速开始

  1. 安装:桌面端 插件 → 添加插件 选择本目录,或 dsh plugin add dsh-sticker-picker。
  2. 把图片放进贴纸库目录(默认 ~/.dsh/stickers),或在插件配置里用 dir 指到别处。
  3. 点输入行左侧的方脸按钮,面板里点一张 —— 输入框出现 [[名字]],发送后变成图片。

需要什么

  • DSH 0.2.2-rc.3 或更新(用到 webServer 路由与客户端插槽)。
  • 无额外运行时,纯 JavaScript,不装依赖、不跑构建。

配置

| 字段 | 必填 | 说明 | |---|---|---| | dir | 否 | 贴纸库目录,绝对路径;默认 ~/.dsh/stickers |

目录里的图片格式:.png .jpg .jpeg .gif .webp。动图由浏览器原生播放。

面板怎么用

  • 三段列表:钉住(★ 标过的)、最近用(按上次使用倒序,最多 10 张)、全部(按你拖出来的顺序)。
  • 点一张即插入 [[名字]],一步可撤销,不会覆盖已经打了一半的字。
  • 拖动缩略图调整顺序,拖动时落点会画出一个虚线空位;拖到行尾空白=放到最后。
  • ★ 钉住 / 取消钉住,✕ 删除(默认移进 _已删除/,再点「永久删除」才真删)。
  • 上传 一次可选多张,落到贴纸库并自动刷新;清空记录 清掉使用统计(两步确认)。

使用记录、钉住、顺序都存在本机浏览器的 localStorage,不联网、不上报。

助手那半边

  • 你在气泡里发 [[名字]]:你看得到图,模型收到的是 [[名字]] 这段文字,所以它知道你想发哪张。
  • 助手发图走 Markdown 图片语法(绝对路径),不依赖本插件。

安全边界

  • 只注册三个本地路由:/sticker/list、/sticker/upload、/sticker/delete,只监听 127.0.0.1。
  • 每个路由校验同源(Sec-Fetch-Site / Origin),挡住别的网页对本机端口的跨站写入。
  • 写入限定在 dir 内:扩展名白名单、单张 ≤ 4 MiB、文件名清洗、路径不许越出目录。
  • 删除是软删除:文件移进 dir/_已删除/,需要二次确认才会永久删除。

已知限制

  • 只扫 dir 这一层,不递归;子目录里的图不会出现在面板。
  • 同名上传会覆盖,不会自动改名。
  • 首次发布未附界面截图。

许可

MIT。内置表情若另行分发,请遵守各自的许可(本仓库不含任何图片素材)。