Search topics and sections

Codeberg is a website where people store, share, and work together on free and open-source software. It describes itself as a non-commercial, privacy-friendly alternative to commercial services such as GitHub.[1]

The site is run by Codeberg e.V. (e.V. marks a registered association under German law), a nonprofit based in Berlin, Germany. The association's active members vote on how the site is run.[1][2][3]

Using the site costs nothing. Membership fees and donations pay for it.[4]

Codeberg launched on 1 January 2019.[5] It runs Forgejo, a program for hosting code that Codeberg started in 2022 as a fork (a separate copy of another program's code, developed on its own) of Gitea.[6]

What Codeberg offers

Codeberg is a software forge, a website that hosts code projects together with tools for working on them.

Its main service is hosting for Git, a version control system that records every change to a project's files.[2]

Each project lives in a repository, a store of its files and their full history.

It offers these services:

  • Git hosting, using the Forgejo software.[2]
  • Codeberg Pages, which publishes simple websites at an address like username.codeberg.page or at a user's own domain. It is served by git-pages, a free program also developed on Codeberg.[7]
  • Continuous integration (CI), which builds and tests code automatically. Codeberg runs a Woodpecker CI server at ci.codeberg.org, and a volunteer reviews each request for access. It also offers Forgejo's own CI feature, called Actions, in a limited early test (open alpha).[8]
  • A Weblate server for translating software into other languages.[1][2]

Who pays and who decides

Funding

Codeberg charges users nothing, and membership in the association is optional.[4]

Membership fees and donations pay for the platform. The members decide on a budget plan once a year.[4]

Codeberg does not sell exceptions to its rules, such as paid private hosting. Its goal is to support free software rather than to be a general-purpose forge.[4]

Membership

Anyone can join Codeberg e.V. There are three main kinds of membership.[3]

Membership Meant for Can vote Minimum fee
Active Active contributors to free software Yes €24 a year
Supporting Individual supporters with little time No €24 a year
Corporate Companies and other legal entities (organizations recognized by law) No €100 a year

In November 2025 the association had these members.[9] Honorary members are people given membership as an honor.

Member group Count
With voting rights 786
Supporting 415
Honorary 7
Total 1,208

Of all members, 61 were corporations, which can only have a supporting membership without voting rights.[9]

Governing bodies

The members govern Codeberg through three bodies.[9]

  1. The Annual Assembly is a yearly meeting of all members. It votes on proposals, such as changes to the terms of use.
  2. Every two years the Assembly elects up to eight members to the Presidium. The Presidium meets a few times a month to steer the project, carry out accepted proposals, answer the press, and organize volunteer teams.
  3. The Presidium appoints an Executive Board of at most three people. The board runs day-to-day operations and is legally responsible for them.
Governance of Codeberg e.V. Active members (vote) Supporting members (no vote) Corporate members (supporting, no vote) Annual Assembly (all members, yearly) Presidium (up to 8 people) Executive Board (up to 3 people) Funding Donations votes elects every 2 years appoints fees fees fees Steers project, decides unclear moderation cases Day-to-day operations, legally liable
Codeberg e.V. is governed through elected bodies. Active members vote in the Annual Assembly, which elects the Presidium every two years, and the Presidium appoints the Executive Board. Fees from all three member types and donations go into the association's funding.

The Presidium also decides unclear cases of content removal and account suspension, by simple majority.[10]

Staff

Since September 2025 Codeberg has had two part-time employees: a system administrator and developer, and a staff member for office work.[9]

Rules for hosted content

Licenses

Codeberg is open to projects that use a license for free and open-source software, open hardware, or free cultural works.[10] Such a license must give everyone the right to do the following.[10]

  • Use the work for any purpose.
  • Copy and share it.
  • Study how it works.
  • Change it.
  • Share changed copies.

The terms add these details.[10]

  • Licenses from the Free Software Foundation, the Open Source Initiative, and Creative Commons are given as examples.
  • Creative Commons licenses with "NonCommercial" or "NoDerivatives" terms do not qualify. The exception is work that mainly expresses the author's personal opinions, experiences, or creative spirit.
  • Work placed in the public domain, or whose copyright has expired, is allowed.

The earlier terms required a license approved by the Free Software Foundation or the Open Source Initiative. This technically banned blogs, books, and art under licenses such as CC BY-SA 4.0, so the members approved the broader wording in 2025.[9]

Private repositories

Private repositories are allowed only for limited uses.[10]

  • Work that a free software project needs to keep private, such as secrets, team discussions, or a project not yet ready to release.
  • Small personal items, such as a journal, configuration files, or notes. Using Codeberg as a personal cloud or media store is not allowed.

Contributors to free software may keep up to 100 MB of private content, and can ask for more.[4] Codeberg does not offer private hosting for commercial work and suggests that such users run Forgejo themselves.[4]

Banned project types

The terms of use ban projects that mostly consist of code written by generative AI tools (AI software that creates content, such as text or code, from prompts). Claude and OpenAI Codex are named as examples.[10] The terms give two reasons.[10]

  • The copyright status of such code is unclear.
  • Such projects have few safeguards against harmful code.

The terms also ban content that harms Codeberg's reputation, and give cryptocurrency-related projects as an example.[10]

Other limits

Codeberg sets some limits to save resources.[4][10]

  • Accounts and organizations can have up to 100 repositories, and can ask for more.
  • Mirrors that pull content from other code hosts are not offered, because unused mirrors used up much traffic and disk space.
  • Forks and test repositories with no unique work that sit unused for more than a month may be removed, after the maintainers get 90 days' notice to ask for them to be kept.

Software: from Gitea to Forgejo

Codeberg ran Gitea from its start.[6] In October 2022, Gitea's domains and trademark were moved to a for-profit company, Gitea Ltd, without the knowledge or approval of the project's community.[11] Codeberg said the company had broken the community's trust by keeping its existence secret for months.[6]

On 15 December 2022, Codeberg announced Forgejo, a fork of Gitea hosted on Codeberg, and said it would use Forgejo instead of Gitea from version 1.18.0.[6] Forgejo's first release, 1.18.0-1, came out on 29 December 2022.[12]

Codeberg e.V. is the nonprofit home of Forgejo, and part of the association's budget goes to it.[11][13]

Software behind Codeberg, 2019 to 2026 20192020202120222023202420252026 1 Jan 2019Codeberg.org launches(ex-TeaHub) on Gitea Oct 2022: Gitea domainsand trademark to Gitea Ltd 15 Dec 2022Forgejo announced 29 Dec 2022: firstForgejo release, 1.18.0-1 Early 2024: Forgejobecomes a hard fork Codeberg runs Gitea Gitea Forgejo Soft fork(follows Gitea code) Hard fork(code diverges)
Codeberg ran Gitea from its launch in January 2019 until it switched to Forgejo with version 1.18.0, Forgejo's first release, published 29 December 2022. Forgejo was announced on 15 December 2022, began as a soft fork of Gitea, and became a hard fork in early 2024.

At first Forgejo was a "soft fork" that kept close to Gitea's code, so it could replace Gitea without other changes.[6][11] In early 2024 it became a "hard fork", and its code began to drift away from Gitea's.[11] Anyone can install Forgejo on their own server, and Codeberg points users to such instances as alternatives.[1]

History

Founding and launch

Codeberg was set up in these steps.[5]

  1. It began under the working title TeaHub.
  2. Its founding team raised about €480 in donations, enough for legal papers, registration, and early server costs.
  3. Codeberg e.V. was founded and registered under German law.
  4. Codeberg.org launched on 1 January 2019.

Mission and independence

The association's stated mission is "to build and maintain a free collaboration platform for creating, archiving, and preserving code and to document its development process".[1] It avoids depending on commercial or privately controlled services so that it stays independent.[1] Its founders pointed to the fate of SourceForge as a reason not to leave free software in the hands of commercial platforms.[5]

The launch post named one legal risk as the most serious: the European Union's copyright directive for the Digital Single Market. A late change to the directive said that open-source development platforms are not "online content sharing service providers" under it. The founders wrote that without this change, projects like theirs would have been impossible.[5]

Growth

Codeberg grew from about 16,600 users in November 2021 to about 443,000 in 2026.[14][2]

When Repositories or projects Registered users Association members
November 2021 18,791 repositories 16,585 163
November 2025 more than 300,000 repositories more than 200,000 1,208
2026 (home page counter) about 735,000 projects about 443,000 more than 1,700
Codeberg registered users0100,000200,000300,000400,000500,000Registered users16,585over 200,000about 443,000Nov 2021Nov 20252026points not evenly spaced in time
Registered Codeberg users at three dates: 16,585 in November 2021, over 200,000 in November 2025, and about 443,000 in 2026. The bars are spaced by data point, not by time.

Some well-known projects moved to Codeberg during this growth. On 26 November 2025, the Zig programming language made its GitHub repository read-only and moved its main repository to Codeberg.[15] Zig's announcement named problems with GitHub Actions and GitHub's push of AI features among its reasons.[15]

Votes on AI and new rules (2026)

In July 2026 Codeberg's members passed two motions about large language models (LLMs), the AI systems that generate text and code.[16] The 14-day vote ended on 22 July 2026.[16]

  1. The first motion stated that Codeberg does not and will not use the code or data of its projects and users to train AI tools such as LLMs.[16]
  2. The second motion changed the terms of use to ban projects that mostly consist of code written by generative AI tools. It passed with 358 votes for, 144 against, and 14 abstentions, with about half of active members voting.[16]

Codeberg's guidance said projects with an active community or a significant history from before LLMs were unlikely to be affected by the AI rule.[16] Projects created by autonomous AI agents (AI software that carries out tasks on its own), or written and maintained with heavy use of LLMs, might no longer be welcome.[16]

The rule drew criticism. Software developer Armin Ronacher called it vague and hard to enforce, since he could not say what share of his own recent projects an AI wrote. He argued that infrastructure should be predictable and reasonably neutral toward the open-source software it hosts.[17]

Infrastructure

Codeberg runs on servers it controls, hosted in Europe.[2]

The site does not use tracking or third-party cookies.[2] Third-party cookies are small files set by a website other than the one a person is visiting, often used to track activity across sites.

Codeberg.org once served tens of thousands of users from a single server. After a hardware donation, it moved to a ring of three machines.[13] In November 2025 the setup was as follows.[9]

  • Three servers: one Gigabyte machine and two Dell machines.
  • File storage spread across all three servers by Ceph, a program that manages files stored across several servers.
  • A MariaDB database copied and kept in sync across servers with Galera.

Much of the hardware is donated and used. Codeberg argues that older hardware is the more sustainable choice because it avoids the carbon emitted in making new machines.[9]

References

  1. What is Codeberg?, Codeberg Documentation.
  2. Codeberg.org home page, Codeberg e.V., 2026.
  3. Join Codeberg e. V., Codeberg e.V.
  4. Frequently Asked Questions, Codeberg Documentation.
  5. Codeberg.org launched!, Codeberg News, 2019.
  6. Codeberg launches Forgejo, Codeberg News, 2022.
  7. Codeberg Pages, Codeberg Documentation.
  8. Working with Codeberg's CI, Codeberg Documentation.
  9. Letter from Codeberg: Onwards and upwards!, Codeberg News, 2025.
  10. Terms of Use, Codeberg e.V., 2026.
  11. Comparison with Gitea, Forgejo.
  12. Forgejo monthly report - January 2023, Forgejo, 2023.
  13. Letter from Codeberg: Looking into 2025, Codeberg News.
  14. Monthly Report November 2021, Codeberg News, 2021.
  15. Migrating from GitHub to Codeberg, Zig Software Foundation, 2025.
  16. Protecting our FLOSS commons from LLMs, Codeberg News, 2026.
  17. Codeberg Divides, Armin Ronacher, 2026.

Figure