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

qh-gia-cli

v1.0.0

Published

[English](#english) | [中文](#zh-cn)

Readme

gia-cli

English | 中文

English

Features

  • Automatic issue categorization
  • Issue difficulty assessment
  • Recommend contribution candidates (TODO)
  • Repository health analysis (gia health)

Usage

  • gia: Analyze open issues and generate owner-repo-issue-report.md. During prompts, select First 30, Custom issue limit, or All open issues. For non-all modes, you can set a page to analyze batches (e.g. limit=30, page=2 -> issues 31-60).
  • gia health: Analyze repository health using GitHub GraphQL data and generate owner-repo-health-report.md.
  • gia health --owner <owner> --repo <repo> --days 90: Run health analysis without interactive prompts.
  • gia health --comment-threshold 3: Set minimum comments needed for counting an active commenter.
  • gia config: Configure GitHub token and AI config (baseUrl, model, apiKey).
  • gia config get: Show saved config with masked values.
  • gia config get --show: Show full saved config values.
  • gia lang: Select CLI display language interactively (English or Chinese).
  • gia lang --set <en|zh>: Set CLI display language directly.
  • gia cache clear: Clear local AI cache (issue classification + evaluable labels + difficulty assessment).

Notes

  • Existing labels are used first, then AI classifies the remaining uncategorized issues.
  • Default CLI language is English (en).
  • Unsupported language input falls back to English with a warning.
  • Issue classification cache key: repo + labels + issue number + issue title.
  • Label evaluability cache key: repo + label(name/description).
  • Difficulty cache key: repo + category + issue content.
  • Difficulty results are appended to the same Markdown report.
  • To save tokens, issue body is truncated to the first 500 characters.

Back to top

中文

功能

  • Issue 自动分类
  • Issue 难度评估
  • 推荐可贡献的 Issue(TODO)
  • 项目健康度分析(gia health

用法

  • gia:分析仓库 open issues 并生成 owner-repo-issue-report.md,在交互里可选 前 30 条自定义数量全部 open issue。非全部模式可输入页码进行分段分析(例如 limit=30page=2 对应 31-60)。
  • gia health:基于 GitHub GraphQL 数据分析项目健康度,并生成 owner-repo-health-report.md
  • gia health --owner <owner> --repo <repo> --days 90:无需交互,直接执行健康度分析。
  • gia health --comment-threshold 3:设置“积极评论者”的最小评论数阈值。
  • gia config:配置 GitHub Token 和 AI 配置(baseUrlmodelapiKey)。
  • gia config get:查看当前已保存配置(默认脱敏)。
  • gia config get --show:查看当前已保存配置的完整值。
  • gia lang:交互选择 CLI 显示语言(English中文)。
  • gia lang --set <en|zh>:直接设置 CLI 显示语言。
  • gia cache clear:清除本地 AI 缓存(Issue 分类 + 可评估 Labels + 难度评估)。

说明

  • Issue 自动分类会优先使用已有 label,再由 AI 补充未分类 issue。
  • CLI 默认语言为英文(en)。
  • 传入不支持的语言值时,会警告并回退到英文。
  • AI 分类缓存键:仓库 + labels + issue number + issue title
  • Labels 可评估性缓存键:仓库 + labels(name/description)
  • 难度评估缓存键:仓库 + 分类 + issue 内容
  • 难度评估结果会拼接在同一份 Markdown 报告中。
  • 为节省 token,Issue body 会截断到前 500 个字符。

返回顶部