Forgejo Repo Stats
@reset/forgejo-repo-statsv2026.10.24.1
01README
Record Forgejo or Gitea repository stars and counters over time.
02Behaviors
@reset/forgejo-repo-statsv2026.10.24.1forgejo_repo_stats.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| host | string | Base https URL of the Forgejo or Gitea host, e.g. https://codeberg.org; the API is under /api/v1 |
| repositories | array | Repositories to follow as owner/name, 1 to 25, matched without regard to case, e.g. forgejo/forgejo |
| token? | string | Optional access token for private repositories, supplied with a vault.get expression, never a literal. Sent only as an Authorization token header |
fn sample()
Read each configured repository's stars, forks, watchers, open issues, open pull requests, releases and flags from the host and record them as a new version, with the change since the previous one
fn summarise(since?: string)
Summarise the recorded samples: per repository each counter at the ends, the stars gained per day, and the total stars at the ends
| Argument | Type | Description |
|---|---|---|
| since? | string | Only summarise samples recorded at or after this ISO-8601 time; all samples when omitted |
Resources
stats(infinite)— The configured repositories' stars, forks, watchers, open issues, open pull requests, releases, size, default branch and flags at one moment, with how each counter moved since the previous version
summary(infinite)— Per repository each counter at the ends of the recorded samples, the stars gained per day, and the total stars at the ends
03Stats
B
87 / 100
Downloads
3
Archive size
17.0 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Docs keep secrets in a vault1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License2/2earned
- Verified public repository0/2missing
behavior-spelling1 accepted
- (extension) — Written against swamp 20261020.024627.0, the release that added the behavior spelling. Consumers on an older swamp are not supported.
05Platforms
06Labels