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 🙏

© 2024 – Pkg Stats / Ryan Hefner

koishi-plugin-bdynamic

v1.0.4

Published

Koishi B站动态推送插件

Downloads

182

Readme

koishi-plugin-bdynamic

npm npm-download

用于 Koishi v4 的 B 站动态(包括新视频、专栏等)订阅插件。

安装方法

yarn add koishi-plugin-bdynamic

然后参照 安装插件 继续安装。

使用方法

使用 .help bdynamic 可以在 bot 内查看帮助。

这个插件需要配合数据库使用。

bdynamic.add <uid>

id: 需要订阅动态的 B 站用户的 uid

需要 2 级权限。

bdynamic.list [page]

page: 列表页码

显示订阅列表。

bdynamic.remove <uid>

uid: B 站 uid

需要 2 级权限。移除订阅。

插件配置项

这个插件无需任何配置项即可使用,同时也提供了一些可能会用到的配置项。你也可以在配置时借助 JSDoc 自行查看。

| 配置项 | 默认值 | 说明 | | - | - | - | | pollInterval | 60000 | 访问 B 站 API 的时间间隔(单位毫秒)* | | pageLimit | 10 | 分页显示群内订阅主播时,每页的最多显示条数。 |

* API 捅得地太频繁会被制裁(

TODO(咕咕咕)

  • 添加简单的关键字屏蔽以屏蔽恰饭动态(如“长按复制这条信息”、“V信扫码”、“学习资料分享给大家”、“天猫超市”等
  • 添加按频道按用户按动态类型屏蔽功能(动态类型:视频/转发/专栏/图片/文字/其他)
  • 添加命令直接返回某个 B 站用户的最新动态
  • 升级 koishi v4