Small GitHub CLI based snapshot tool for open source maintenance queues.
It reads open issues and pull requests from one or more repositories and prints a compact report that is useful before a maintenance pass: what needs triage, what needs review, and which links should be checked first.
Maintainers often need a quick, repeatable way to see what changed across a
small set of public repositories without opening every project manually. This
tool keeps that workflow simple and transparent by using the official gh CLI
that many maintainers already have authenticated.
- Node.js 20 or newer
- GitHub CLI (
gh) gh auth logincompleted for private or notification-aware work
Markdown output is the default:
oss-maintainer-snapshot --repo vaguul/discord-command-controls --limit 10JSON output:
oss-maintainer-snapshot --repo vaguul/social-feed-inputs --format jsonOnly show items updated on or after a date:
oss-maintainer-snapshot --repo vaguul/discord-command-controls --since 2026-06-01Write the report to a file:
oss-maintainer-snapshot \
--repo vaguul/discord-command-controls \
--repo vaguul/social-feed-inputs \
--output maintainer-snapshot.md| Option | Description |
|---|---|
--repo owner/name |
Repository to include. Can be repeated. |
--limit number |
Max issues and PRs per repo. Defaults to 20. |
--since YYYY-MM-DD |
Keep only items updated on or after this UTC date. |
--format markdown,json |
Output format. Defaults to markdown. |
--output path |
Write the report to a file instead of stdout. |
--help |
Print help. |
You can run the snapshot on a schedule and upload the Markdown report as an
artifact. See examples/scheduled-github-actions.yml
for a copy-ready workflow.
The workflow installs the tool from a GitHub release tag because this package is
not currently published to npm. The package prepare script builds the CLI
during that install:
npm install --global github:vaguul/oss-maintainer-snapshot#v0.1.4Authentication is still handled by the gh CLI. In GitHub Actions:
GITHUB_TOKENis enough for many public repository snapshots and current-repo automation.- use a read-only personal access token stored as
MAINTAINER_SNAPSHOT_TOKENwhen the workflow needs private repositories, cross-organization access, or notification-aware results. - the token should only need read access to metadata, issues, and pull requests.
The Markdown and JSON reports keep the raw issue and pull request lists visible,
but also add a Needs attention group before them. Items appear there when:
- a pull request requires review
- a pull request has a non-clean merge state
- an issue has labels such as
bug,security,regression,triage, orto-triage
npm install
npm testThis is intentionally a read-only tool. It does not post comments, modify
issues, or change repository settings. It only calls gh issue list and
gh pr list, then formats the result.