Forgejo Releases
@reset/forgejo-releasesv2026.10.22.1
01README
Record Forgejo or Gitea releases and their asset downloads.
02Behaviors
@reset/forgejo-releasesv2026.10.22.1forgejo_releases.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 |
| token? | string | Optional 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
| Argument | Type | Description |
|---|---|---|
| owner | string | Repository owner, the user or organisation, e.g. forgejo |
| repo | string | Repository 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
| Argument | Type | Description |
|---|---|---|
| owner | string | Repository owner, the user or organisation, e.g. forgejo |
| repo | string | Repository name, e.g. forgejo |
| since? | string | Only 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
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