This package add Gitea (and Codeberg) support for forge package.
(package-vc-install "https://github.com/mobid/gitea-forge")
Forge will ask you about username, after that, put access token into
your ~/.authinfo.gpg
machine git.example.com/api/v1 login username^forge password asdf1234
You need to register self hosted Gitea into forge-alist
variable.
(add-to-list 'forge-alist '("git.example.com" "git.example.com/api/v1" "git.example.com" forge-gitea-repository))