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-lovesick

v1.0.0

Published

Koishi发病文学插件,可以生成包含指定昵称的发病文学

Readme

koishi-plugin-lovesick

npm Koishi

Koishi发病文学插件,可以生成包含指定昵称的发病文学

简介

这是一个为 Koishi 开发的发病文学生成插件,可以随机生成一段包含指定昵称的发病文学文本。插件内置了大量精选发病文学模板,支持艾特用户功能,让你的机器人也能轻松发病!

功能特点

  • 🎯 支持指定昵称或自动艾特用户
  • 🔄 随机从大量模板中选择,内容丰富多样
  • 🔧 可配置生成数量、冷却时间等参数
  • 👑 管理员可添加、查看和删除模板

安装方法

使用 Koishi 插件市场安装(推荐)

在 Koishi 插件市场中搜索 lovesick 并安装。

使用 npm 安装

npm install koishi-plugin-lovesick

使用方法

基础命令

发病文学 [昵称]
  • 不提供昵称时,将使用艾特当前用户或默认昵称
  • 提供昵称时,将使用指定的昵称生成发病文学

命令别名

  • 发疯
  • 疯狂星期四

命令选项

  • -c <数量>--count <数量>: 指定生成的发病文学数量(默认为1)
  • -r--raw: 显示原始模板(不替换昵称)

示例

发病文学 小明

将生成一段包含"小明"的发病文学。

发病文学 -c 3

将生成3段包含艾特当前用户的发病文学。

管理命令

发病文学.管理

需要权限等级 3 以上才能使用。

管理选项

  • -a <模板>--add <模板>: 添加新模板(使用 {name} 作为昵称占位符)
  • -l--list: 列出所有模板
  • -r <序号>--remove <序号>: 移除指定序号的模板

配置项

| 配置项 | 类型 | 默认值 | 说明 | |-------|------|-------|------| | defaultName | string | "你" | 默认使用的昵称 | | useAt | boolean | true | 是否使用@用户功能 | | templateCount | number | 5 | 每次生成的最大模板数量 | | cooldown | number | 10 | 用户冷却时间(秒) |

模板格式

发病文学模板使用 {name} 作为昵称占位符,例如:

今天又是想{name}的一天!起床第一件事就是看{name}有没有更新动态,每次看到{name}的消息都会让我的心情变得超级好~♪(^∇^*) 最喜欢{name}啦!

许可证

ISC License © 2025 aynuzbh