An SDK written in Go that wraps around the Forgejo API, providing additional convenience functions. NOTE - this is the main dev copy for now, with a mirror at
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Martijn van der Kleijn cb8a2b08f1 chore: bump SDK to v4
Signed-off-by: Martijn van der Kleijn <martijn.niji@gmail.com>
2026-11-01 23:26:17 +01:00
.forgejo ci: bump workflow to go 1.26 2026-11-01 16:54:11 +01:00
docs/adr Merge branch 'main' into docs-update-adr-two-and-three-status 2026-11-01 15:08:55 +01:00
forgejo chore: bump SDK to v4 2026-11-01 23:26:17 +01:00
.changelog.yml Make final corrections before fork is finalized (#3) 2024-05-03 14:54:54 +00:00
.editorconfig switch gitter to discord for drone. (#62) 2017-06-16 10:46:36 +08:00
.gitattributes prevent merge conflicts | gitattributes eol=lf (#200) 2019-12-30 20:16:29 +00:00
.gitignore Merge branch 'main' into docs-update-adr-two-and-three-status 2026-11-01 15:08:55 +01:00
.golangci.yml migrate to golangci-lint v2 2026-02-13 17:03:49 +01:00
.stamp.yaml docs: add architecture decision records 2026-03-04 16:10:21 +01:00
CHANGELOG.md chore: bump SDK to v4 2026-11-01 23:26:17 +01:00
CONTRIBUTING.md docs: document the Forgejo version matrix 2026-11-01 11:38:56 +01:00
DCO Added contribution and maintainer files 2016-11-07 11:26:36 -02:00
LICENSE feat: fork Gitea SDK (#1) 2024-05-03 16:35:08 +02:00
README.md chore: bump SDK to v4 2026-11-01 23:26:17 +01:00
release.md chore: bump SDK to v4 2026-11-01 23:26:17 +01:00
renovate.json Rebuild renovate.json config 2026-03-05 13:38:06 +01:00
Taskfile.yml chore: bump SDK to v4 2026-11-01 23:26:17 +01:00

Forgejo SDK for Go

License: MIT release-badge status-badge

stars-badge issues-badge prs-badge GoDoc

This project acts as a client SDK implementation written in Go to interact with the Forgejo API implementation. For further informations take a look at the current documentation.

Note: function arguments are escaped by the SDK.

Use it

import "codeberg.org/mvdkleijn/forgejo-sdk/forgejo/v4"

Version Requirements

  • go >= 1.26
  • forgejo >= v15.0.11

Please note: that the SDK might or might not work with lower versions of Forgejo depending on what part of the SDK you use. The test suite runs against both the current Forgejo LTS release and the latest release.

Contributing

Fork -> Patch -> Push -> Pull Request

License

This project is under the MIT License. See the LICENSE file for the full license text.