CodeTrunk vs Codeberg

A Codeberg alternative
for professional work.

The same Forgejo platform. Run for you, with room for how you actually work.

Codeberg is a fine free home for community FLOSS, and in July 2026 its members voted to ban projects that mostly consist of AI-generated code, alongside cryptocurrency projects. CodeTrunk is managed Forgejo hosting for professional and commercial teams: the same open-source software, EU-hosted, with no restrictions on how you write your code.

01Compare

Side by side

The differences that matter when you choose a home for your code.

CodeTrunk Codeberg
Platform Forgejo: fully open source Forgejo: the exact same software
Who it is for Professional and commercial teams, private work Free, donation-funded community for FLOSS projects
AI-generated code Welcome: no content policy on how you write code Banned since July 2026 if a project is mostly AI-generated
AI training on your code Never: contractual and technical prohibition Never: pledged by member vote
Private repositories 1 free, unlimited from €8/mo Public FLOSS focus; private use is fair-use limited
Cost Free plan, paid from €8/mo Free, donation-funded
Business needs DPA, organisations, support contact Community service, no commercial terms
Contracting entity StennMedia, Netherlands (KvK 99876302) Codeberg e.V., Germany
Legal entity

A Dutch company, not a US subsidiary

CodeTrunk is operated by StennMedia, registered with the Dutch Chamber of Commerce under KvK 99876302 and established in Breda. The contract is governed by Dutch law and VAT is paid in the Netherlands. When your legal team asks who is accountable for the data, the answer is a European company with no US parent in the chain.

Legal entity
StennMedia
Registration
KvK 99876302
Governing law
Netherlands

Why developers switch

Three reasons teams move their repositories to CodeTrunk.

Same software, no policy surprises

CodeTrunk runs Forgejo: the exact software Codeberg runs, stewarded by the same non-profit. Your workflow, migration tools, and muscle memory carry over unchanged; what changes is that you are on a paid service with predictable terms instead of a community policy that can shift with a member vote.

AI-assisted developers welcome

Codeberg's amended Terms of Use prohibit projects that mostly consist of code written by generative AI tools. CodeTrunk has no such restriction. Use Copilot, Claude, Codex, or none at all. What we share with Codeberg is the other half of the vote: your code is never used to train AI models.

Built for private and commercial work

Codeberg is a donation-funded commons for open source, and it is excellent at that. If you need private repositories at scale, team organisations, a DPA, and someone accountable to email, that is what CodeTrunk exists for.

02Background

The details behind the table

The vendor decisions and dates that a comparison table cannot show.

What Codeberg is, and what it is not

Codeberg is a free, donation-funded code hosting service run by Codeberg e.V., a non-profit association based in Berlin. It runs Forgejo, the same software CodeTrunk runs, and it is an excellent home for public free and open-source projects. It is not a commercial provider: there is no sales contract, no DPA to sign, no invoice with VAT, and no support SLA. That is not a criticism. It is a different institution with a different purpose, and the mistake is choosing it for work it was never designed to carry.

The July 2026 vote, precisely

At the 2026 annual assembly, Codeberg e.V. members passed two motions. The first commits Codeberg never to use hosted code or user data to train AI models. The second amends the Terms of Use to prohibit projects that mostly consist of code written by generative AI tools. The vote was 358 in favour, 144 against, and 14 abstentions, with roughly half of active members participating. Codeberg said there would be no mass purge and that enforcement would be case by case, which is the sensible reading for a volunteer-run service. The policy is real, but it is narrower than the headlines suggested.

Why a commercial team needs a contract

A DPA is not paperwork for its own sake. It defines what happens when a regulator asks who processes the data, which subprocessors are involved, how deletion works, and who is liable when something goes wrong. A commercial provider also invoices with VAT, answers procurement questionnaires, and signs an NDA. Codeberg, as a donation-funded community, does none of that. If your repositories contain client code or personal data, the absence of a contract is the risk, not the price.

When Codeberg is still the right home

For a public FLOSS project, Codeberg is often the best answer: free, community-governed, built on the same open-source platform, and aligned with the values of the people who maintain it. If your work is public, non-commercial, and does not need a DPA or an invoice, stay there. CodeTrunk is for the private, commercial case: managed Forgejo with a Dutch contracting entity, a DPA, and support you can email.

How to migrate from Codeberg

It is the same Forgejo platform. This is the easiest migration there is.

~/projects/your-app
$ git remote set-url origin https://repos.codetrunk.eu/you/your-app.git
 $ git push -u origin main
 # Done. Issues and PRs: use Forgejo's built-in migration.
 $ _

1. Create your account

Sign up and verify your email. A Forgejo workspace is provisioned automatically.

2. Move your code

Change your Git remote URL and push: all branches, tags, and history included. Forgejo-to-Forgejo, nothing to convert.

3. Import the rest

Issues, pull requests, and releases can be imported with Forgejo's migration tools from your Codeberg repositories.

04FAQ

Frequently asked questions

Common questions about switching from Codeberg to CodeTrunk.

Did Codeberg ban AI-generated code?

Yes. In July 2026 the members of Codeberg e.V. voted (358 to 144, with 14 abstentions) to prohibit projects that mostly consist of code written by generative AI tools, and the Terms of Use were amended accordingly. The same vote also committed Codeberg to never training AI models on hosted code, and separately banned cryptocurrency projects. CodeTrunk has no restriction on how you write your code, and likewise never trains AI models on it.

Is CodeTrunk run by Codeberg?

No. Codeberg is a free community instance run by Codeberg e.V., the non-profit that also stewards Forgejo, the open-source platform both services run. CodeTrunk is independent managed Forgejo hosting aimed at professional and commercial use: business plans with a DPA, team organisations, and a support contact you can actually reach.

Can I migrate my repositories from Codeberg?

Yes, and it could hardly be simpler: both services run Forgejo. Change your Git remote URL and push, and use Forgejo's migration tools to import issues, pull requests, and releases.

Can I use Codeberg for commercial work?

Technically yes, but it is a donation-funded community service with no commercial contract, DPA, invoice, or support SLA, and private use is fair-use limited. For client code or regulated data, a commercial provider is the safer fit.

What happens to existing AI-assisted projects on Codeberg?

Codeberg said there would be no mass purge and that enforcement is case by case. The ban targets projects that mostly consist of AI-generated code, not projects that occasionally accept an AI-assisted contribution.

Is my code used to train AI models?

No. We do not train AI models on your data, private or public. Your private repositories are never accessed for AI training by anyone. This is a contractual and technical prohibition: we have no data-sharing relationships with AI companies, no model ingestion pipelines, and no arrangements that allow training on your content.

05Sources

Sources and further reading

Competitor claims on this page link to the vendor's own documentation, last checked 20 October 2026. Product terms change; check the source before you decide.

Same Forgejo. Terms built for your work.

Create your account in seconds. A Forgejo workspace is provisioned automatically when you verify your email.

Start Building