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-sky-blessing

v0.2.3-rc.2

Published

🎋 Koishi光遇祈福签插件 | 随机生成Sky: Children of the Light风格祈福签图片 🖼️ 支持三种输出模式:仅图片/图片+文字/QQ原生Markdown 📱 可配置参数映射构建个性化种子 🔧 内置日志级别控制

Readme

koishi-plugin-sky-blessing

koishi-plugin-sky-blessing

npm npm-download

GitHub Gitee

Koishi Forum QQ群

后端服务

本插件需要配合后端服务使用:

  • GitHub Backend
  • Gitee Backend

💡 请先部署后端服务,然后在插件配置中填写 backendUrl

🎯 功能特性

  • 🖼️ 光遇抽签图 - 仅发送祈福签图片
  • 📜 光遇抽签 - 发送图片 + 文字内容(运势等级、结缘物、缘彩、祝福语等)
  • 📝 光遇抽签md - 发送图片 + Markdown格式(💡 仅限 QQ 平台可用)

⚙️ 配置说明

命令名称设置

  • 光遇抽签图 - 仅发送图片的命令名
  • 光遇抽签 - 发送图片+文字的命令名
  • 光遇抽签md - 发送图片+Markdown的命令名(仅QQ)

后端设置

  • backendUrl - 后端服务地址(默认: http://127.0.0.1:51205
  • sendBase64 - 是否将图片 Base64 编码后发送
  • enableQuote - 开启后,所有消息都会引用回复触发指令的消息

参数映射设置

可配置 a~e 五个参数键的值来源:

  • 🌐 平台 (platform)
  • 🆔 用户ID (userid)
  • 📅 日期 (date)
  • 👤 昵称 (nickname)
  • 🖼️ 头像哈希 (avatar_hash)

默认配置:abc 启用,de 禁用

📸 效果预览

光遇抽签图

image-only

光遇抽签

image-with-text

光遇抽签md(QQ原生Markdown)

qq-markdown

🔧 安装方式

通过 Koishi 市场安装

在 Koishi 控制台搜索 sky-blessing 并安装

手动安装

cd /path/to/your/koishi/project
npm install koishi-plugin-sky-blessing
yarn add koishi-plugin-sky-blessing

🚀 快速开始

  1. 部署后端服务(参考后端仓库 README)
  2. 在 Koishi 控制台安装本插件
  3. 配置 backendUrl 为后端服务地址
  4. 根据需要调整参数映射配置
  5. 使用命令测试:
    • 光遇抽签图 - 获取图片
    • 光遇抽签 - 获取图片+文字
    • 光遇抽签md - 获取图片+Markdown(QQ专用)

📋 API 说明

后端提供 /blessing 接口:

  • type=image - 返回 PNG 图片
  • type=json - 返回 JSON(含 base64 图片)
  • type=json_without_image - 返回 JSON(不含图片)
  • a/b/c/d/e - 可选种子参数,相同组合返回相同结果