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-bangumi-daily

v1.0.0

Published

定时推送每日放送番剧,并提供番剧条目搜索和评分分布图表功能

Downloads

193

Readme

koishi-plugin-bangumi-daily

npm

一个为 Koishi 设计的 Bangumi 番剧信息插件。 提供每日定时推送番剧放送信息,番剧条目搜索和评分分布图表功能。

✨ 功能特性

  • 每日推送: 每日定时(时间可配)向订阅的群聊推送当日放送的番剧列表。
  • 手动获取: 使用指令获取当日放送信息。
  • 条目搜索:
    • 支持关键词模糊搜索番剧条目。
    • 支持分页浏览搜索结果。
  • 评分分布图表:
    • 查询任意番剧的评分分布
    • 使用 puppeteer 将评分图表渲染为图片发送。

💿 安装

  1. 从NPM安装: 在你的 Koishi 项目根目录下执行:

    npm i koishi-plugin-bangumi-daily
  2. 安装前置依赖: 本插件需要 koishi-plugin-puppeteer 来实现图表渲染。请确保你已安装并启用了它:

    npm i koishi-plugin-puppeteer
  3. 启用插件: 在 Koishi 的插件市场或配置文件中启用 bangumi-dailypuppeteer 插件。

⚙️ 配置项

在 Koishi 控制台的插件配置页面,你可以找到 bangumi-daily 的配置项。

| 配置项 | 类型 | 默认值 | 描述 | | :--- | :--- | :--- | :--- | | useForward | boolean | true | 是否使用合并转发的形式发送长消息(如每日放送和搜索结果),推荐开启以避免刷屏。 | | dailyPushTime | string | "08:00" | 每日定时推送的时间,格式为 HH:mm (24小时制)。 |

📝 指令用法

每日放送

  • bangumi.today: 手动获取当日放送的番剧信息。

番剧搜索与查询

  • bangumi.search <关键词> [页码]: 根据名称搜索番剧。
    • 示例: bangumi.search 碧蓝之海
    • 示例 (翻页): bangumi.search 碧蓝之海 2
  • bangumi.chart <ID>: 查询指定ID番剧的评分分布,并以图片形式发送图表。
    • (提示: 番剧ID可以从搜索结果链接尾部获取。)
    • 示例: bangumi.chart 219222

定时推送管理 (需在群聊中使用)

  • bangumi.on: 开启本群的每日定时推送。
  • bangumi.off: 关闭本群的每日定时推送。
  • bangumi.status: 查询本群的推送状态。

🤝 致谢