Skip to main content

Forgejo Repo Stats

@reset/forgejo-repo-statsv2026.10.24.1· MIT· 2d agoBEHAVIORSACCEPTED WARNINGS
01README

Record Forgejo or Gitea repository stars and counters over time.

02Behaviors1
@reset/forgejo-repo-statsv2026.10.24.1forgejo_repo_stats.ts

Global Arguments

ArgumentTypeDescription
hoststringBase https URL of the Forgejo or Gitea host, e.g. https://codeberg.org; the API is under /api/v1
repositoriesarrayRepositories to follow as owner/name, 1 to 25, matched without regard to case, e.g. forgejo/forgejo
token?stringOptional 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
ArgumentTypeDescription
since?stringOnly 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

05Platforms
06Labels