Free, community-driven code hosting for open-source projects
Codeberg is a free code hosting platform run by Codeberg e.V., a registered German nonprofit dedicated to building and maintaining open, collaborative infrastructure for free and open-source software. Built on Forgejo (a community-driven fork of Gitea), Codeberg provides Git repositories, issue tracking, pull requests, project wikis, CI/CD pipelines (Codeberg CI, powered by Woodpecker CI), release management, and Codeberg Pages for static site hosting. All infrastructure runs on servers in the EU, and the platform explicitly refuses to monetise user data, track behaviour, or display advertising. Codeberg hosts over 100,000 repositories and serves a growing community of developers who want an ethical alternative to GitHub.
Headquarters
Berlin, Germany
Founded
2019
Pricing
EU Data Hosting
Yes
Employees
1-10
Open Source
Yes
Free
Billing: free
The code hosting market has consolidated dramatically. GitHub, owned by Microsoft since 2018, hosts over 200 million repositories and has become the de facto standard for open-source collaboration. GitLab, while offering a self-hosted option, is a publicly traded US company driven by enterprise revenue targets. SourceForge faded years ago. Bitbucket retreated to the Atlassian ecosystem. For developers who believe that the infrastructure of open-source collaboration should itself be open, nonprofit, and free from corporate control, the options have been vanishingly thin.
Codeberg exists to fill that gap. Run by Codeberg e.V., a registered German nonprofit based in Berlin, it provides free Git hosting built on Forgejo — a community-governed open-source forge that is itself a fork of Gitea. The platform offers the core features developers expect: unlimited repositories, issue tracking, pull requests with code review, project wikis, CI/CD pipelines, container registries, and static site hosting via Codeberg Pages. All of it free, all of it open-source, all of it hosted on EU infrastructure with no tracking, no advertising, and no data monetisation.
Codeberg currently hosts over 100,000 repositories and serves a growing community of developers, activists, and organisations who have made a deliberate choice about where their code lives. It is not trying to be GitHub — it does not have GitHub's ecosystem, community size, or feature breadth. What it offers instead is a code hosting platform whose governance structure, business model, and values are aligned with the open-source movement it serves.
For European developers and organisations that care about digital sovereignty, GDPR compliance, and supporting community-owned infrastructure, Codeberg represents a meaningful alternative — even if it requires accepting some trade-offs.
The core experience is familiar to anyone who has used GitHub or GitLab. You get unlimited public and private repositories, SSH and HTTPS access, branch management, repository forking, and commit history browsing. The web interface, powered by Forgejo, is clean and functional — less polished than GitHub's but perfectly usable. Repository mirroring lets you maintain mirrors to or from GitHub and GitLab, which is useful for projects that want presence on multiple platforms.
Codeberg provides issue tracking with labels, milestones, and assignees. Pull requests support inline code review, review requests, and merge options. The workflow is straightforward and covers the needs of most open-source projects. What you will miss compared to GitHub are advanced features like project boards with automation, draft pull requests with sophisticated status management, and the integration ecosystem that powers many GitHub-based workflows.
Codeberg CI is powered by Woodpecker CI, an open-source continuous integration system. Pipelines are defined in YAML and run in Docker containers, supporting common build, test, and deployment workflows. Forgejo Actions — which aims for syntax compatibility with GitHub Actions — is also in development, which would significantly lower the migration barrier for projects moving from GitHub.
The CI/CD offering works for standard use cases but lacks the maturity and marketplace of GitHub Actions or GitLab CI. Complex workflows, extensive caching strategies, and advanced matrix builds may require workarounds.
Codeberg Pages provides free static site hosting with custom domain support. You can deploy documentation sites, project pages, or personal websites directly from a repository. It supports Hugo, Jekyll, and other static site generators. For open-source projects that need a documentation site without paying for hosting, this is a valuable addition.
Codeberg includes an OCI-compatible container registry, allowing you to publish Docker images directly alongside your source code. This is particularly useful for projects that distribute their software as container images — you can keep source code, CI/CD pipelines, and container images on the same platform.
Perhaps the most forward-looking feature is the work on federation via ForgeFed and ActivityPub. The vision is that Forgejo instances (including Codeberg) could eventually federate, allowing cross-instance collaboration — opening issues, submitting pull requests, and following projects across different Forgejo installations. This is still in development but represents a fundamentally different model from the centralised approach of GitHub and GitLab.
Codeberg has one pricing tier: free. There are no paid plans, no premium features, and no enterprise tier with additional capabilities. Every feature the platform offers is available to every user at no cost.
The platform is funded by membership fees (Codeberg e.V. members pay a voluntary annual contribution) and donations from the community. This model means Codeberg has no revenue pressure to add paywalled features, no investors demanding growth metrics, and no incentive to monetise user data.
The trade-off is resource constraints. Codeberg does not have the engineering team of GitHub or GitLab. Feature development is slower, infrastructure capacity is more limited, and support is community-driven. The nonprofit model is sustainable for a platform serving its current community, but scaling to significantly larger usage depends on continued community funding.
For organisations that need enterprise features — SSO/SAML, compliance reporting, dedicated support, private instance deployment — Codeberg in its current form is not the right choice. Self-hosting Forgejo or using GitLab's enterprise offering would be more appropriate.
Codeberg's privacy posture is among the strongest of any code hosting platform. Codeberg e.V. is a registered German nonprofit operating exclusively under German and EU law. All infrastructure is hosted in the EU on servers operated by the organisation.
The platform does not track user behaviour, does not display advertising, does not monetise data in any way, and collects only the minimum data necessary for platform operation. The entire platform software (Forgejo) is open-source, meaning the data handling can be fully audited by anyone.
For GDPR compliance, Codeberg is as clean as it gets: a German entity, minimal data collection, no third-party data sharing, EU-only infrastructure, and full source code transparency. Organisations subject to strict data sovereignty requirements can host code on Codeberg with confidence that their data is handled under EU jurisdiction.
Open-source projects that want their hosting platform to reflect their values: open-source software, nonprofit governance, community ownership, and no corporate control over the infrastructure.
European developers and organisations that need GDPR-compliant code hosting without the jurisdictional concerns of US-owned platforms. Codeberg's German nonprofit structure provides clear legal clarity.
Privacy-conscious developers who want to host code without being tracked, profiled, or having their activity data monetised by the platform operator.
Projects that want platform independence using Forgejo's open-source codebase and repository mirroring. You can maintain a Codeberg presence while mirroring to GitHub for visibility, or migrate to a self-hosted Forgejo instance at any time.
Codeberg is not GitHub — and it does not try to be. It is a code hosting platform built on different principles: nonprofit governance, open-source infrastructure, community funding, and EU data sovereignty. The feature set covers the fundamentals well, but the ecosystem of integrations, community size, and CI/CD maturity are significantly behind the commercial platforms. For open-source projects that want their hosting platform to embody the values they build for, Codeberg is the most principled choice available. For commercial projects that need enterprise features and broad ecosystem integration, it is not ready yet. The question is whether you choose your code hosting platform based on features alone, or whether governance and values factor into the decision.
Yes. Codeberg supports repository migration from GitHub, GitLab, Gitea, and other platforms. The migration tool imports repositories, issues, pull requests, and labels. You can also set up repository mirroring to maintain presence on both platforms during a transition.
Codeberg supports private repositories, but the platform is designed and optimised for open-source projects. There is no enterprise tier with SSO, compliance features, or dedicated support. For commercial projects at scale, a self-hosted Forgejo instance or GitLab would be more appropriate.
Codeberg CI (Woodpecker CI) handles standard build, test, and deploy workflows using YAML configuration and Docker containers. It is less mature than GitHub Actions — fewer pre-built actions, less extensive caching, and a smaller community. Forgejo Actions, which aims for GitHub Actions syntax compatibility, is in development.
Codeberg serves over 100,000 repositories and is used by many active open-source projects. The platform has periodic maintenance windows and occasionally experiences capacity constraints during high-traffic events. There are no commercial SLAs, but uptime is generally good for a community-operated service.
Because Codeberg is built on the open-source Forgejo platform, your data is portable. You can export repositories via Git, and the Forgejo migration tools allow moving to any other Forgejo or Gitea instance. Repository mirroring to other platforms provides an additional safety net.