26
171
Fork
You've already forked forgejo
34
The code deployed to Codeberg. If you want to deploy Forgejo yourself or work on the code, check out: https://codeberg.org/forgejo/forgejo
Go 77.1%
go-html-template 11.2%
Roff 4.4%
JavaScript 2.8%
CSS 2.1%
Other 2.2%
Find a file
Gusted 7c93f1d7b1
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月22日 01:48:31 +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月22日 01:48:29 +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月22日 01:48:31 +01:00
modules CB/bp: fix: garbage collect lingering actions logs ( #10009 ) 2025年12月22日 01:48:31 +01:00
options CB/bp: fix: garbage collect lingering actions logs ( #10009 ) 2025年12月22日 01:48:31 +01:00
public CB/ui: Codeberg Custom footer 2025年12月22日 01:48:30 +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月22日 01:48:31 +01:00
services CB/fix: reduce granulity of last used columns 2025年12月22日 01:48:31 +01:00
templates CB/feat: ToU announcement 2025年12月22日 01:48:31 +01:00
tests CB/bp: fix: garbage collect lingering actions logs ( #10009 ) 2025年12月22日 01:48:31 +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月22日 01:48:31 +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月22日 01:48:31 +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月22日 01:48:31 +01:00
go.sum CB/feat: better metrics 2025年12月22日 01:48:31 +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月22日 01:48:30 +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月22日 01:48:30 +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月22日 01:48:29 +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