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-study-manager

v1.0.2

Published

一个功能完整的 Koishi 插件,用于帮助用户记录和管理学习进度,设置学习目标,并生成学习报告。

Downloads

34

Readme

Koishi 学习进度管理插件

一个功能完整的 Koishi 插件,用于帮助用户记录和管理学习进度,设置学习目标,并生成学习报告。

功能特性

  • 📝 学习记录 - 记录每次学习的科目、内容、时长和进度
  • 📊 学习统计 - 查看总学习时长、科目分布和记录次数
  • 🎯 学习目标 - 设置学习目标并跟踪完成进度
  • 📈 进度追踪 - 可视化显示学习进度和目标完成情况
  • 📋 学习报告 - 生成周度学习报告

安装

npm install koishi-plugin-study-manager

配置

koishi.yml 中添加插件配置:

plugins:
  study-manager:
    # 目前无需额外配置

使用说明

记录学习进度

学习记录 <科目> <内容> <时长(分钟)>

选项:

  • -p, --progress <进度百分比> - 设置学习进度(默认:0)
  • -d, --difficulty <难度等级> - 设置难度等级(默认:3)

示例:

学习记录 数学 微积分 120 -p 50 -d 4
学习记录 英语 阅读理解 60

查看学习统计

学习统计

显示总学习时长、学习科目和记录次数。

创建学习目标

学习目标 <目标名称> <目标小时数>

示例:

学习目标 完成数学课程 100
学习目标 英语四级备考 200

查看学习进度

学习进度

显示最近的学习记录和目标完成情况,包含可视化进度条。

生成学习报告

学习报告

生成本周的学习报告,包括学习时长、科目数量和次数统计。

数据库结构

学习记录表 (study_records)

  • id - 记录ID
  • userId - 用户ID
  • subject - 学习科目
  • topic - 学习内容
  • duration - 学习时长(分钟)
  • progress - 进度百分比
  • difficulty - 难度等级
  • notes - 备注
  • createdAt - 创建时间

学习目标表 (study_goals)

  • id - 目标ID
  • userId - 用户ID
  • goalName - 目标名称
  • targetHours - 目标小时数
  • completedHours - 已完成小时数
  • deadline - 截止日期
  • status - 状态(active/completed)
  • createdAt - 创建时间

开发

构建项目

npm run build

开发模式

npm run dev

依赖

  • Koishi ^4.0.0
  • TypeScript ^5.9.3

许可证

MIT License

作者

aynuzbh

问题反馈

如有问题或建议,请访问 GitHub Issues