@toolpal/github-repo
publicv2.0published 2 downloads this weekMIT
Looks up live facts about a public GitHub repository: stars, forks, watchers, open issues, language breakdown, license, topics, latest release, and when it was created and last pushed to. Works without an API key; set GITHUB_TOKEN for higher rate limits.
You're viewing 1.0, an older version
The latest is 2.0.
# @toolpal/github-repo
Looks up live metadata for any public GitHub repository: stars, forks, watchers, open issues, language breakdown by bytes, SPDX license, topics, archived state, creation/push timestamps, and latest release.
## Setup
Works without any credentials (60 unauthenticated requests/hour per IP). Optionally set `GITHUB_TOKEN` to raise GitHub's rate limit to 5,000 requests/hour.
## Example
```json
{
"repo": "facebook/react"
}
```
Also accepts full GitHub URLs such as `https://github.com/facebook/react`.
## Notes
- Calls `api.github.com` only.
- Returns up to the top 8 languages sorted by share of bytes.