Version0.10.2Verifiednot yet verifiedLicenseBSD-3-Clause

sigil-forgejo

Forgejo/Codeberg API client library

Report a bug or suggest a feature
Readme

sigil-forgejo

A Sigil library for the Forgejo/Codeberg REST API.

Modules

ModuleDescription
(forgejo client)Shared auth headers, URL construction, HTTP helpers
(forgejo repos)Get, list, create, delete repositories
(forgejo orgs)Organization info and repo listing
(forgejo topics)List, add, replace repository topics
(forgejo issues)List, create, get, comment on issues
(forgejo pulls)List, get, create, merge pull requests
(forgejo releases)List, create releases and upload assets

Usage

Add sigil-forgejo as a dependency in your package.sgl:

(from-git url: "codeberg:sigil/sigil-forgejo" package: "sigil-forgejo")

Then import the modules you need:

(import (forgejo repos)
        (forgejo topics))

(define base-url "https://codeberg.org")
(define token (getenv "FORGEJO_TOKEN"))

;; List repos in an org
(forgejo-list-org-repos base-url token "sigil")

;; Set topics on a repo
(forgejo-replace-topics base-url token "sigil" "my-repo"
                        '("library" "sigil"))

Building

sigil deps install
sigil build

License

BSD-3-Clause

Clone

$ git clone https://codeberg.org/sigil/sigil-forgejo

Releases

v0.10.2 — latest by version, released 14 Jul 2026

All releases — 5 tags in this repository.

Source

Browse the latest source

One page per file, and every line has a permalink.

Recent commitsAtom

The last 20 commits keep a page here. Everything older lives in the clone.