Skip to main content

Forgejo Releases

@reset/forgejo-releasesv2026.10.22.1· MIT· 1d agoBEHAVIORSACCEPTED WARNINGS
01README

Record Forgejo or Gitea releases and their asset downloads.

02Behaviors1
@reset/forgejo-releasesv2026.10.22.1forgejo_releases.ts

Global Arguments

ArgumentTypeDescription
hoststringBase https URL of the Forgejo or Gitea host, e.g. https://codeberg.org; the API is under /api/v1
token?stringOptional access token for a private repository, supplied with a vault.get expression, never a literal. Sent only as an Authorization token header
fn sample(owner: string, repo: string)
Read a repository's releases from the host's /api/v1 releases endpoint and record them as a new version
ArgumentTypeDescription
ownerstringRepository owner, the user or organisation, e.g. forgejo
repostringRepository name, e.g. forgejo
fn summarise(owner: string, repo: string, since?: string)
Summarise the recorded samples of a repository: per release and asset the first and latest download count and the change, and the total downloads
ArgumentTypeDescription
ownerstringRepository owner, the user or organisation, e.g. forgejo
repostringRepository name, e.g. forgejo
since?stringOnly summarise samples recorded at or after this ISO-8601 time; all samples when omitted

Resources

releases(infinite)— One repository's releases and their assets' download counts at one moment, flagging releases new since the previous version
summary(infinite)— Per release and asset the first and latest download count and the change, and the total downloads
03Stats
B
86 / 100
Downloads
0
Archive size
16.7 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
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository0/2missing

05Platforms
06Labels