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

koishi-plugin-youpokedme

v1.1.2

Published

A koishi plugin you can poke back to who poked you

Readme

koishi-plugin-youpokedme

npm

A koishi plugin you can poke back to who poked you

你怎么戳我!!

喂!(#`O′) 戳我干什么!!
回复写一些调皮的东西,并且概率戳回去!!
仅支持onebot

配置

  • reply: 回复的内容,必填项,见回复内容一节
  • pokebk: 戳回去的概率(0~1)
  • rdmImgFolder: 随机本地文件夹内的图片(绝对路径),如(C:\\User\\Download\\photos\\或者/root/photos/) 末尾的/不要忘了
  • rdmImgodds: 回复为本地文件夹内图片的概率(0~1)
  • rdmAudioFolder: 随机本地文件夹内的音频(绝对路径),如(C:\\User\\Download\\audio\\或者/root/audio/) 末尾的/不要忘了
  • rdmAudioodds: 回复为本地文件夹内音频的概率(0~1)

回复内容

  • 纯文本: 直接在数组内打字即可
  • 图文: 文字<image url="图片url"/> ======>图片url: 本地file://绝对路径 远程http(s)://地址 示例:
    你好啊<image url="file:///www/photos/awa.jpg"/>
    空妮姬蛙<image url="file://C:/User/photos/qwq.png"/>
    Hello<image url="https://example.com/path/to/image.png"/>
  • 音频: <audio url="音频url"> ======>图片url: 本地file://绝对路径 远程http(s)://地址 示例:
    <audio url="file:///www/audio/awa.mp3"/>
    <audio url="file://C:/User/audio/qwq.ogg"/>
    <audio url="https://example.com/path/to/audio.mp3"/>

注意

音频和文本不要复用,不然会导致一系列问题(包括但不限于多条发送,QQ冻结)

History

v1.1.2(后续停止更新)

由于go-cqhttp已停止更新,而新的协议暂不支持戳一戳,因此本插件也随之停止更新
感谢go-cqhttp的陪伴,也感谢大家的支持。

v1.1.1

  • 修复了无法扫描gif的问题

v1.1.0

  • 重构了shi山代码
  • 修复一堆问题

v1.0.0

  • 没错,只要协议支持,配置没错就能用了,记得装ffmpeg
  • 完善README

v1.0.0-alpha.2

  • 修改了图片发送为audio的问题
  • 需要注意的是路径不要用中文名
  • 当img数组audio数组与imgFolder、audioFolder都有配置的时候,对应各回复几率是0.5

v1.0.0-alpha.1

  • 修改了有概率无法回复

v0.0.1

    • 发布第一个版本试试,应该会有bug的

注意

** 仅支持onebot **
遇到bug不要慌,我大抵没时间修(bushi)
所以慌也没用 o( ̄▽ ̄)o
记得装ffmpeg

  • 1.如果没有任何反应,首先检查登录协议是否支持(目前MacOS、手表不支持,apad、ipad、手机支持),再检查概率配置、路径配置是否合规。(文件夹路径需要以/结尾)
  • 2.如果有报错请检查路径是否正确(文件夹路径需要以/结尾),远程资源是否可用,文件是否损坏等 如有问题请在github提issues,报错附上完整日志

示例

youpokedme:
reply:
- awa
- 啊啊啊<image url="https://example.ccom/img/acc?type=webp"/>
- <audio url="https://example.com/audio/audio.mp3"/>
rdmImgFolder: /opt/koishi/photos/
rdmAudioFolder: /opt/koishi/audio/
pokebk: 0.42
rdmImgodds: 0.42
rdmAudioodds: 0.46

以上是我的配置,是我能正常使用的,可以借鉴