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-exwind-blue

v1.0.3

Published

EXWIND 蓝贴推送 · 定时抓取 exwind.net 蓝帖更新并推送到已开启的群/频道,支持「最新蓝贴」查询

Readme

koishi-plugin-exwind-blue

定时抓取 exwind.net 首页的蓝帖(蓝帖分类)更新,检测新帖后自动推送到已开启推送的群 / 频道;并支持「最新蓝贴」查询。

功能

  • 每隔 N 分钟(默认 15)拉取 exwind.net 首页,解析蓝帖卡片(标题 / 时间 / 热度 / 摘要 / 链接)。
  • 通过蓝帖编号(URL 中的数字 id)去重:新编号即视为更新,自动推送给已订阅的群。
  • 首次启动 / 首次订阅均不补发历史蓝帖,只从那之后开始推送,避免刷屏。

命令

| 命令 | 说明 | | --- | --- | | 最新蓝贴 [n] | 查看第 n 条最新蓝帖(默认 1,即最新一条);如 最新蓝贴 2 看第二条。别名 exblue.蓝贴 | | exblue.latest [n] | 列出最新 n 条蓝帖摘要(默认 5,不推送)。别名 exblue.列表 | | exblue.on | 在当前群/频道开启推送。别名 exblue.开启 | | exblue.off | 关闭当前群/频道的推送。别名 exblue.关闭 | | exblue.status | 查看本群推送状态与最近已推送的蓝帖。别名 exblue.状态 | | exblue.check | 立即触发一次检查(会推送给已开启的群)。别名 exblue.检查 | | exblue.force | 管理员(权限≥4)专用:把当前最新蓝帖强制重推给所有已开启的群 |

配置

  • endpoint:蓝帖列表页地址(默认站点首页)。
  • interval:检查间隔(分钟,默认 15)。
  • maxPush:单次推送最多条数(默认 5)。
  • timeout:请求超时(毫秒,默认 15000)。
  • userAgent:请求 UA。
  • categories:只推送指定分类(默认 蓝帖;首页目前仅有蓝帖)。

构建

# 类型检查
../../node_modules/.bin/tsc --noEmit -p tsconfig.json
# 打包(产物 lib/index.js,含中文需 --charset=utf8)
../../node_modules/@esbuild/win32-x64/esbuild.exe src/index.ts \
  --bundle --platform=node --format=cjs --external:koishi --charset=utf8 \
  --outfile=lib/index.js

构建后重启 koishi 即可加载。