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 🙏

© 2025 – Pkg Stats / Ryan Hefner

koishi-plugin-ihome-crawler

v1.0.5

Published

自用iHome插件

Readme

koishi-plugin-ihome-crawler

npm

iHome 平台诉求信息爬虫插件,支持直连和 WebVPN 两种访问模式。

功能特性

  • 自动获取 iHome 平台诉求列表
  • 支持直连和 WebVPN 两种访问模式
  • 新诉求自动推送到指定群/频道/用户
  • 诉求状态变化和新回复自动通知
  • 支持多个推送目标配置
  • 数据库持久化存储已追踪的诉求

安装

npm install koishi-plugin-ihome-crawler
# 或
yarn add koishi-plugin-ihome-crawler

配置项

| 配置项 | 类型 | 说明 | |--------|------|------| | username | string | 统一认证用户名 | | password | string | 统一认证密码 | | ssoUrl | string | SSO 登录地址 | | webvpnUrl | string | WebVPN 地址 | | ihomeUrl | string | iHome 平台地址 | | useWebvpn | boolean | 是否使用 WebVPN 模式(校外访问),默认 false | | pushTargets | array | 推送目标配置列表,默认 [] | | checkInterval | number | 检查间隔(秒),默认 3600 | | pushInterval | number | 推送消息间隔(毫秒),默认 1000 | | enableNotification | boolean | 是否启用新帖子通知,默认 true | | pages | number | 每次获取的页数,默认 3 |

推送目标配置

每个推送目标包含以下字段:

| 字段 | 类型 | 说明 | |------|------|------| | botId | string | Bot ID | | platform | string | 平台类型(如 onebot、telegram、discord 等) | | targetId | string | 目标 ID(群号/频道ID/用户ID) | | enabled | boolean | 是否启用 | | name | string | 备注名称(可选) |

命令

  • ihome - 显示插件帮助
  • ihome.check - 手动检查新诉求
  • ihome.status - 查看插件状态
  • ihome.list [page] - 列出最近的诉求
  • ihome.detail <id> - 查看诉求详情

依赖

  • 需要数据库服务(如 @koishijs/plugin-database-sqlite

许可证

MIT