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-gotify-push

v1.0.2

Published

Koishi Gotify 推送插件,支持多服务器多频道,群聊/私聊消息推送到 Gotify

Readme

@anyul/koishi-plugin-gotify-push

Koishi Gotify 推送插件 — 将群聊/私聊消息实时推送到 Gotify 服务器。

功能特点

  • 多服务器多频道:支持配置多个 Gotify 服务器,每个服务器可配置多个应用/频道
  • 群聊/私聊推送:支持将群聊和私聊消息推送到指定的 Gotify 应用
  • 指令控制:通过聊天指令开启/关闭推送,无需修改插件配置
  • 权限管控:所有指令需要管理员权限(authority ≥ 2),删除操作需要主人权限(authority ≥ 3)
  • 自定义格式:支持自定义推送标题和内容的格式模板
  • 消息过滤:自动过滤机器人自身的消息,避免循环推送

配置

服务器配置

在插件设置中添加 Gotify 服务器:

| 字段 | 说明 | 示例 | |------|------|------| | 名称 | 唯一标识(用于命令引用) | my-gotify | | 地址 | Gotify 服务器 URL | https://gotify.example.com | | 默认优先级 | 消息优先级 (0-10) | 5 |

应用配置

为每个 Gotify 应用/频道添加配置:

| 字段 | 说明 | 示例 | |------|------|------| | 名称 | 应用名称(用于命令引用) | qq-group | | 所属服务器 | 对应服务器列表中的名称 | my-gotify | | 应用 Token | Gotify 管理面板中创建应用时获取 | Axxxxxxxxxxxx | | 优先级 | 消息优先级,0 则使用服务器默认 | 0 |

消息格式

可用的格式变量:

| 变量 | 说明 | |------|------| | {scope} | 消息范围(群聊/私聊) | | {channelName} | 频道名称 | | {username} | 发送者名称 | | {content} | 消息内容 | | {timestamp} | 时间戳 | | {serverName} | Gotify 服务器名 | | {appName} | Gotify 应用名 |

命令

| 命令 | 说明 | 权限 | |------|------|------| | gotify开启推送 <服务器名> <应用名> | 开启当前频道推送 | 2 | | gotify关闭推送 | 关闭当前频道推送 | 2 | | gotify删除推送 | 删除当前频道推送配置 | 3 | | gotify推送状态 | 查看当前频道推送状态 | 2 | | gotify推送测试 [消息] | 测试推送功能 | 2 | | gotify推送列表 | 查看所有推送订阅 | 3 | | gotify服务器列表 | 查看已配置的服务器 | 2 |

使用流程

  1. 在插件设置中配置 Gotify 服务器和应用
  2. 在目标群聊中发送 gotify服务器列表 查看可用配置
  3. 发送 gotify开启推送 my-gotify qq-group 开启推送
  4. 发送 gotify推送测试 验证推送是否正常
  5. 发送 gotify推送状态 查看当前状态

安装

npm install @anyul/koishi-plugin-gotify-push

在 Koishi 控制台中启用插件并配置服务器信息。

许可证

MIT