Frequently Asked Questions

Codeberg's Structures

What do I need to use Codeberg?

All you need to use Codeberg is your user account on Codeberg.org. It is both free-as-in-beer and free-as-in-freedom, as long as you follow our Terms Of Use.

A membership in the backing non-profit association Codeberg e.V. is completely optional. We still invite you to become part of our mission by joining it. Your membership fee helps to improve the project, and the distributed voting rights maintain a healthy governance of the project.

Is Codeberg well funded?

Don't worry, the danger of having Codeberg disappear is low!

Codeberg is powered by donations and membership fees of the non-profit association. The non-profit Codeberg e.V. members decide over the budget plans once a year, and they take care to put some funds aside to allow for a certain runway even under exceptional circumstances.

However, if you compare Codeberg to platforms which charge a fee for every user, Codeberg has significantly less funding. We kindly ask you to consider setting up a recurring donation.

We can always make good use of donations. They allow us not only to operate the minimum services, but extend the features, add new services, and generously offer more power e.g. for CI and Code Search.

Where is Codeberg hosted?

Most of our services run on our own hardware in a rented facility in Berlin, Germany. The networking and rack space is provided by another volunteer-driven association.

Certain tasks are offloaded to other locations and providers, e.g. netcup GmbH and Hetzner Online GmbH. This is for backups, redundancy, disaster recovery, DDoS protection, efficiency (using spare resources provided to us) and various other reasons. We make sure that your data is sufficiently protected and avoid large cloud providers where possible.

Is Codeberg based on free/libre (and open-source) software?

In short, yes — And proudly so! Codeberg uses Forgejo which explicitly uses free software for development. And you can easily host it yourself!

Some other examples of free software works that we use are:

We use the Codeberg organization (as well as other organizations that are linked in its description) to share what we have worked on. More often than not, we also send patches to upstream projects; that way, we all win.

Before I start using Codeberg

Can I host content without a free and open-source license?

Codeberg is run by a non-profit association with an explicit mission of advancing the creation and development of free content and free and open-source software.

This mission is shared by Codeberg's contributors, donors and association members. We, and our servers, work tirelessly to provide you with our free service. However, there is one thing that we expect from you in return: To contribute back to the ecosystem by attaching a suitable license to the works that you put out in public, so as to let others reuse and adapt your works.

If you are not sure which license to choose, our documentation has a licensing article.

If you do not care about copyrighting your works, please consider using a public domain declaration (e.g. Unlicense, Creative Commons Zero for multimedia assets), or licenses of similar nature (e.g. WTFPL, MIT No Attribution).

Using such licenses helps ensure that others can comfortably (re)use your works anyway.

If you need private repositories for commercial projects (e.g. because you represent a company or are a developer that needs a space to host private freelance projects for your clients), we would highly recommend that you take a look at Forgejo. Forgejo is the Git hosting software that Codeberg runs. It is free software and relatively easy to self-host. Codeberg does not offer private hosting services.

Sometimes, we do tolerate repositories that are not licensed optimally (e.g. due to historic reasons dating back decades). If you believe that your project should be exempt, please send us a formal request.

How about private repositories?

Codeberg's mission is to promote free/libre software. Keeping software private is obviously not our primary use case, but we acknowledge that private repositories are useful or necessary at times.

The rules of thumb are:

  • If you are a contributor to free/libre software projects, we allow up to 100 MB of private content for your convenience. Use it for your personal notes, your side project or any other you want to keep private.

    I need more clarification on this rule! We know that this rule is not the most precise, and it is mostly evaluated on a case-by-case basis.

    Our goal is to avoid abuse of our infrastructure for purposes not in line with our mission. If you are a heavy contributor to the free/libre software ecosystem and this is apparent from your profile, we might also accept if you use slightly more than 100 MB.

    If you are not heavily contributing to free/libre software, but obviously supporting the spirit of the ecosystem (e.g. by participating in projects by creating issues, doing translations or submitting tiny fixes), we're also happy to have you aboard.

    If you do not contribute to free/libre software (or if it is limited to your personal homepage), and we feel like you only abuse Codeberg for storing your commercial projects or media backups, we might get unhappy about that.

  • If your private content is strictly required for a free/libre software project (like team-internal discussions, preparation of security patches, or preparing a release for a limited amount of time), private content will also be tolerated.

  • If you use more than 100 MB of private storage for the use cases mentioned earlier, please send us a request and we can evaluate it.

  • If you do not contribute to any free/libre software project at all, Codeberg is unfortunately not the right place for you. However, check out the alternatives, we're sure you'll find a cozy place for your work.

What is the size limit for my repositories? Are there quotas for packages, LFS, ...?

Codeberg strives to provide everyone with the necessary resources to develop high quality Free/Libre software. There is no intention of monetizing you based on limits and quotas! So there is no quota for valid use-cases!

However, we will review larger projects and reserve the right to deny service if we consider your resource usage unreasonable, or if your usage impacts the quality and stability for other users.

If you intend to use more than:

  • 750 MiB for Git storage
  • 1.5 GiB of packages, LFS and attachments
  • generally large CI resources

You should request these resources first!

I need to request more resources from an administrator. How do I do that?

We have a public repository, Codeberg-e.V./requests, which allows users to issue such requests.

We have some predefined templates that allow you to easily issue requests for the following situations:

  • Requesting access to Codeberg's self-hosted CI solution, Woodpecker CI.
  • Requesting more storage for a private repository.
  • Requesting the increase of the repository limit (100) for a user account or an organization.

If you need anything from us that goes beyond these examples, you may still use that repository to do so. We will try our best to help!

Why can't I mirror repositories from other code-hosting websites?

Mirrors that pull content from other code hosting services were problematic for Codeberg. They ended up consuming a vast amount of resources (traffic, disk space) over time, as users that were experimenting with Codeberg would not delete those mirrors when leaving.

A detailed explanation can be found in this blog post.

If you need a mirror, you can create manual mirrors by adding multiple remotes to your local repository and using git push --mirror. Pull requests, issues, as well as other repository units can be disabled in your repository's settings. Using this option will skip the deletion of internal references.

Using Codeberg

I removed an object from my repo, why doesn't the reported size shrink?

By default, removing tracked files from Git keeps them in the history. You'd need to rewrite history and force-push the branch, or remove all branches your object is included in.

Still, in order to prevent inadvertently removed history which may be useful for code reviews, we keep those objects around for approximately 30 days.

Afterwards, they will be removed by the regular Git garbage collector on our servers.

What is the size limit for my avatar?

You can upload avatar pictures of up to 1 MB and a resolution of 1024x1024.

Contributing

Hey there! 👋 Thank you for reading this article!

Is there something missing, or do you have an idea on how to improve the documentation? Do you want to write your own article?

You're invited to contribute to the Codeberg Documentation at its source code repository for example, by adding a pull request or joining in on the discussion in the issue tracker.

For an introduction on contributing to Codeberg Documentation, please have a look at the Contributor FAQ.