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-meme

v0.1.53

Published

DeepSeek Harness 表情包插件:输入框一键发图(图库/情绪多选筛选、悬浮大图预览)、多图库开关、情绪与关键词搜图、AI 学图,图库可从市场一键安装或导入/导出 ZIP。

Readme

能做什么

  • 一键发图:输入框旁点 😊,搜索、按图库或情绪筛选,点一张就发送。
  • 跟 AI 斗图:按情绪或关键词找图;Web 聊天里模型输出文字标记、前端显示图片,发图无需模型支持图片输入;QQ/微信等 IM 聊天里自动改走 dsh-im 原生图片发送。
  • 学会新图:上传图片后说「把这张图入库」,AI 自动识别分类和描述。
  • 管理与分享:多图库开关、上传与编辑、ZIP 导入导出、市场安装与更新。
  • 开箱即用:内置大肥鱼图库(24 张),零第三方运行依赖,使用 Node 内置 SQLite。

安装

在 DSH 中打开 插件 → 添加插件,输入 dsh-meme 并安装。

也可以安装到指定 profile:

dsh plugin --profile web add dsh-meme

需要 Node.js ≥ 22.13.0。旧包名 dsh-expression 已弃用,内部插件 ID 保留兼容。

开始使用

| 想做什么 | 怎么操作 | | --- | --- | | 自己发表情 | 点输入框旁的 😊,选图发送;支持搜索、多选筛选和悬停预览 | | 让 AI 发图 | 说「发个开心的表情」或「找一张猫猫比心」 | | 收藏一张新图 | 上传图片,再说「把这张图入库」;自动识图需要支持图片输入的模型 | | 查看大图 | 点击聊天里的表情;滚轮缩放,双击复位,Esc 或点背景关闭 |

对话效果:你发一张,AI 接着回一张。

输入框表情选择器:搜索、图库与情绪筛选

图库管理

打开 设置 → 表情包:

  • 图库:点卡片管理图片;卡片开关决定 AI 能否使用该图库,可同时启用多个。支持新建、导入、导出、投稿和删除,有新版时显示「更新」。
  • 发现:预览市场图库,一键安装;Release ZIP 安装时校验 SHA-256。
  • 设置:修改扫描目录,开启或关闭 AI 主动发表情,编辑提示词。

图库管理:已安装图库与独立开关

默认扫描 ~/.dsh/meme-packs,设置保存在 ~/.dsh/dsh-expression.json,升级插件会保留。更多图库可在「发现」安装,也可导入别人分享的 ZIP。

分享自己的图库

  1. 在「图库」新建图包库,添加图片。
  2. 点 导出 得到 ZIP,朋友用 导入图库 即可安装。
  3. 想收录到市场,点 投稿:插件导出 ZIP 并打开预填的 GitHub 表单;登录后附上 ZIP、图片来源与许可,再提交审核。

请使用插件导出的 ZIP。GitHub 的「Download ZIP」是仓库源码压缩包,不能替代图库分享包。导出完成后仍需在 GitHub 提交,审核通过才会收录。

工具与扩展

| 工具 | 用法 | | --- | --- | | send_meme | tag 按情绪随机抽图,query 按描述、关键词或文件名搜索;范围为所有启用的图库 | | learn_meme | 默认收录最近一张用户图片,也可指定 attachmentId 或 imageUrl |

send_meme tag=happy
send_meme query="猫 比心"
learn_meme

情绪桶:happy / angry / sad / shy / confused / daily。模型应把候选中的 [表情: 描述] 原样写进回复;前端只在聊天内容中配图。没有合适的候选时,换关键词或用文字回复。

通过 dsh-im 接入 QQ / 微信 / 飞书 / 企业微信等 IM 时,表情包会以该聊天的原生图片消息发出:插件按会话来源识别 IM 渠道后,send_meme 的候选会额外带绝对路径,模型随后调用 dsh-im 的 dsh_im_return_file 把图交给渠道;IM 聊天不渲染 [表情: 描述],所以不会再写标记。这条投递规则随主动斗图提示词一起自动注入——不需要先跟模型说明「可以在 QQ/微信里发表情包」。Web 聊天保持原来的 [表情: 描述] 配图方式,两种会话可以同时存在。

自建图库目录或市场源见 远程图库规范。通过 dsh-companion 也可接入 QQ 发图。

插件 HTTP 接口仅支持本机回环地址(localhost / 127.0.0.1 / [::1]),通过局域网地址或自定义域名访问会被拒绝。

代码采用 MIT 许可;图库图片的来源与使用许可请分别查看各图库说明。