The code deployed to Codeberg. If you want to deploy Forgejo yourself or work on the code, check out: https://codeberg.org/forgejo/forgejo
Find a file
Image Gusted bb3e8e91fe
Image
CB/feat: ToU announcement
Usable for nosJS environment (no way to hide it).
Do not show it by default to avoid it briefly showing and shifting the
layout when the announcement is dismissed.

A dummy `<div>` is used as first child that has the same width of the
button so the text is correctly centered (we can't use `position:
absolute` that will overlap with the text at certain screen widths).
2025-12-09 01:09:54 +01:00
.devcontainer Update ghcr.io/devcontainers/features/git-lfs Docker tag to v1.2.5 (forgejo) (#8369) 2025-07-01 06:31:22 +02:00
.forgejo [v13.0/forgejo] chore(ci): limit LDAP service container memory usage to 500M (#9620) 2025-10-10 23:03:41 +02:00
assets [v13.0/forgejo] feat: strip EXIF information from uploaded avatars (#9689) 2025-10-15 08:53:51 +02:00
build chore(i18n): migrate migration descriptions to json (#9041) 2025-08-31 08:19:19 +02:00
cmd [v13.0/forgejo] feat: strip EXIF information from uploaded avatars (#9689) 2025-10-15 08:53:51 +02:00
contrib CB/contrib: Change default label set 2025-12-09 01:09:51 +01:00
custom/conf docs: update example config docs for MAX_CREATION_LIMIT (#9376) 2025-09-21 09:09:40 +02:00
docker bugfix check for alternate ssh host certificate location (#34146) 2025-04-14 15:53:35 +02:00
models CB/fix: reduce granulity of last used columns 2025-12-09 01:09:54 +01:00
modules CB/bp: fix: garbage collect lingering actions logs (#10009) 2025-12-09 01:09:54 +01:00
options CB/bp: fix: garbage collect lingering actions logs (#10009) 2025-12-09 01:09:54 +01:00
public CB/ui: Codeberg Custom footer 2025-12-09 01:09:52 +01:00
release-notes [v13.0/forgejo] 2025-11-21 combined security patches (#10038) 2025-11-21 05:28:03 +01:00
release-notes-published chore(release-notes): Forgejo v12.0.4 (#9368) 2025-09-20 08:51:49 +02:00
releases/images [DOCS] RELEASE-NOTES.md 2024-02-05 14:44:32 +01:00
routers CB/fix: reduce granulity of last used columns 2025-12-09 01:09:54 +01:00
services CB/fix: reduce granulity of last used columns 2025-12-09 01:09:54 +01:00
templates CB/feat: ToU announcement 2025-12-09 01:09:54 +01:00
tests CB/bp: fix: garbage collect lingering actions logs (#10009) 2025-12-09 01:09:54 +01:00
tools chore: remove gopls in Makefile (#8205) 2025-06-17 08:28:26 +02:00
web_src CB/feat: ToU announcement 2025-12-09 01:09:54 +01:00
.air.toml Reduce air verbosity (#31417) 2024-06-23 12:30:09 +02:00
.deadcode-out CB/bp: fix: reduce deadlocks merging PRs w/ async label stat recalcs (#9868) 2025-12-09 01:09:54 +01:00
.dockerignore fix: Dockerfile should re-use bindata files when possible 2025-06-13 14:00:57 +02:00
.editorconfig Cover go.mod and go.sum in .editorconfig (#33960) 2025-04-01 02:28:02 +02:00
.envrc.example Make direnv optional to let developers use their own direnv configuration 2024-11-06 20:34:49 +01:00
.gitattributes Add interface{} to any replacement to make fmt, exclude *.pb.go (#30461) 2024-04-15 20:01:36 +02:00
.gitignore feat(build): improve lint-locale-usage further (#8736) 2025-08-27 23:47:34 +02:00
.gitmodules cleanup(tests): remove manual testing submodule 2024-04-21 10:13:51 +02:00
.gitpod.yml Remove sqlite-viewer and using database client (#31223) 2024-06-09 11:13:39 +02:00
.golangci.yml chore: depguard gopkg.in/yaml.v3 (#8980) 2025-08-21 14:17:43 +02:00
.ignore Add /options/license and /options/gitignore to .ignore (#30219) 2024-04-07 15:40:31 +02:00
.mailmap Add .mailmap with aliases for Unknwon (github.com/Unknwon) 2024-08-14 08:26:16 -04:00
.markdownlint.yaml Update JS dependencies (#28537) 2023-12-30 05:29:03 +00:00
.node-version chore: pin node version (#10178) 2025-11-20 16:07:37 +01:00
.npmrc Upgrade to npm lockfile v3 and explicitely set it (#23561) 2023-03-18 19:38:10 +01:00
.release-notes-assistant.yaml chore(release-notes): no need to specify they are draft 2024-10-22 06:54:27 +02:00
.spectral.yaml Add spectral linter for Swagger (#20321) 2022-07-11 18:07:16 -05:00
.yamllint.yaml fully replace drone with actions (#27556) 2023-10-11 06:39:32 +00:00
BSDmakefile feat: Makefile & BSDmakefile changes (#7455) 2025-04-27 10:04:32 +00:00
CODEOWNERS feat(build): improve lint-locale-usage further (#8736) 2025-08-27 23:47:34 +02:00
CONTRIBUTING.md docs: replace Developer Guide link with the new Contributor Guide one. 2024-08-26 13:22:39 +03:00
DCO Remove address from DCO (#22595) 2023-01-24 18:52:38 +00:00
Dockerfile Update data.forgejo.org/oci/golang Docker tag to v1.25 (v13.0/forgejo) (#9824) 2025-10-23 19:30:31 +02:00
Dockerfile.rootless Update data.forgejo.org/oci/golang Docker tag to v1.25 (v13.0/forgejo) (#9824) 2025-10-23 19:30:31 +02:00
eslint.config.mjs Update dependency eslint-plugin-unicorn to v61 (forgejo) (#9198) 2025-09-07 14:55:32 +02:00
flake.lock chore: create shell.nix and update flake.* (#8129) 2025-06-10 14:31:59 +02:00
flake.nix chore: create shell.nix and update flake.* (#8129) 2025-06-10 14:31:59 +02:00
go.mod CB/feat: better metrics 2025-12-09 01:09:53 +01:00
go.sum CB/feat: better metrics 2025-12-09 01:09:53 +01:00
LICENSE Forgejo v9.0 is GPLv3+ 2024-08-22 09:09:29 +02:00
main.go fix: do not mix urfave v2 with urfave v3 (#8168) 2025-06-12 15:38:03 +02:00
Makefile CB/fix: Drop forgejo Makefile dependency 2025-12-09 01:09:53 +01:00
manifest.scm Add a GNU Guix manifest (#8038) 2025-06-03 08:08:17 +02:00
package-lock.json Update dependency markdownlint-cli to v0.46.0 (v13.0/forgejo) (#10283) 2025-12-01 20:37:14 +01:00
package.json Update dependency markdownlint-cli to v0.46.0 (v13.0/forgejo) (#10283) 2025-12-01 20:37:14 +01:00
playwright.config.ts tests(e2e): Prepare for visual regression testing 2024-12-10 18:12:36 +01:00
README.md CB/meta: Add custom README for Codeberg's fork (!82) 2025-12-09 01:09:52 +01:00
release-notes-assistant.sh chore: improve the wording of the "not worth a release note" category (#8542) 2025-07-18 07:19:15 +02:00
RELEASE-NOTES.md RELEASE-NOTES.md to refer to the release notes directory on master [skip ci] (#8675) 2025-07-25 22:21:37 +02:00
renovate.json chore: fix renovate.json format error (#9148) 2025-09-03 21:42:56 +02:00
shell.nix chore: add missing gotestsum to nix dev shell (#9169) 2025-09-05 01:24:45 +02:00
stylelint.config.js Merge pull request 'Port "Enable declaration-block-no-redundant-longhand-properties (#30950)' (#3769) from beowulf/gitea-port-pull-30950 into forgejo 2024-05-14 22:23:54 +00:00
tailwind.config.js fix: Do not scan all Go files for tailwind classes 2024-08-24 15:45:50 +02:00
tsconfig.json Add typescript 2024-10-29 18:15:09 +01:00
vitest.config.ts Add typescript 2024-10-29 18:15:09 +01:00
webpack.config.js CB/ui: Landingpage renovation (!35) 2025-12-09 01:09:51 +01:00

Forgejo (Codeberg)

Codeberg's fork of Forgejo, a self-hosted lightweight software forge.

Some changes made to Forgejo's source code are:

  • Codeberg-specific themes
  • Codeberg's custom landing page
  • Codeberg's custom footer
  • Various optimizations necessary for running a large instance
  • Dirty hacks that we needed to deploy as soon as possible

Some of our patches may be helpful if you wish to operate a large Forgejo instance. However, this repository as a whole contains a custom version of Forgejo that is explicitly not intended for private use.

Codeberg and Forgejo work together, but, as projects, they remain separate. For more information about Forgejo and its relationship with Codeberg, take a look at Forgejo's FAQ.

Reporting Issues

If you wish to report an issue for the changes that Codeberg has made or are not sure where you should open an issue for a service hosted by Codeberg, please create an issue on Codeberg/Community.

Additionally, Forgejo maintains its own Issue Tracker for bug reports and feature requests.

Hosting

If you wish to host Forgejo on your own, please visit forgejo.org.

You can find some other repositories that help us operate codeberg.org in the Codeberg-Infrastructure organisation.

Our instance's Forgejo configurations can be found here: Codeberg-Infrastructure/build-deploy-forgejo

Contributing

We follow the upstream Forgejo tree and most of the decisions that they make for everyone else.

If you want to send a patch to codeberg.org, the best way to do that is probably sending a patch to Forgejo.

Branding

Codeberg has a set of design-related guidelines, which can be found here.

Reporting Vulnerabilities

See security.txt