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

tg-stickers-chat

v1.0.3

Published

OpenClaw Telegram sticker chat enhancement plugin built around intent-driven sticker selection, Gemini Embedding 2, and local vector similarity search.

Readme

中文 | English

tg-stickers-chat

用于 OpenClaw 的 Telegram 贴纸聊天插件。

它的目标很简单:让 agent 在聊天时根据自己真正要发送的文字和情绪,更自然地搭配贴纸。

截图

tg-stickers-chat screenshot

安装

npm

openclaw plugins install tg-stickers-chat
openclaw gateway restart

Release 包

下载 Release 页面里的 tg-stickers-chat-1.0.3.tgz,然后执行:

openclaw plugins install ./tg-stickers-chat-1.0.3.tgz
openclaw gateway restart

源码

git clone https://github.com/MashiroCodfish/tg-stickers-chat.git
cd tg-stickers-chat
npm install
openclaw plugins install .
openclaw gateway restart

工作方式

  1. 同步 Telegram 贴纸包
  2. 下载贴纸并生成预览图
  3. 使用 Gemini Embedding 2 建立向量索引
  4. 将索引保存在本地 SQLite
  5. 聊天时根据最终回复文字和表达意图选择贴纸
  6. 通过本地召回与轻量重排返回最合适的 sticker_id
  7. 如果当前场景不适合贴纸,则跳过,只发文字

工具

  • sync_sticker_set_by_name
  • get_sticker_stats
  • select_sticker_for_reply
  • search_sticker_by_emotion

推荐聊天主流程:先想好最终回复文字 → 判断是否需要贴纸 → 如需要则调用 select_sticker_for_reply → 先发贴纸 → 再发文字。

配置

配置路径:

plugins.entries.tg-stickers-chat

最小示例:

{
  "plugins": {
    "entries": {
      "tg-stickers-chat": {
        "enabled": true,
        "config": {
          "embeddingApiKey": "YOUR_GEMINI_API_KEY",
          "embeddingModel": "gemini-embedding-2-preview",
          "embeddingDimensions": 768,
          "autoCollect": true
        }
      }
    }
  }
}

配置项:

  • embeddingApiKey: Gemini API key
  • embeddingModel: 默认 gemini-embedding-2-preview
  • embeddingDimensions: 默认 768
  • autoCollect: 是否自动收集新贴纸包

环境变量备用读取:

  • GEMINI_API_KEY
  • GOOGLE_API_KEY

自动安装说明:

License

MIT