Recently the stewards of popular open infrastructure, such as Maven Central, Pypi, NPM published a letter on the lack of funding of their infrastructure which could endanger their operation. Additionally, almost all of them are US-hosted and controlled.
One could think that Codeberg.org could provide additional European-based and hosted artifact repository "caches" or "mirrors" of Maven Central, Pypi, NPM. I propose not to copy all the artifacts, but if a user of the Codeberg.org access through the repository "cache"/"mirror" a package it fetches it from Maven Central/Pypi/NPM in the background and keeps the version cached.
Note: I do not talk about the functionality in Codeberg to publish own artifacts in a registry this for sure should be used as well.
Of course one needs to decide which solution to deploy for this as to my knowledge this is not supported by Forgejo. Pulp can do this for some package types, but maybe there are others. Probably a European CDN needs to be chosen (but might not be needed initially).
One should also of course consider the risk, e.g. similar to what other infrastructure provider have as a risk, the Codeberg repository "cache"/"mirror" could be heavily used. Here it could be worth to check with:
### Comment
Recently the stewards of popular open infrastructure, such as Maven Central, Pypi, NPM published [a letter on the lack of funding of their infrastructure which could endanger their operation](https://openssf.org/blog/2025/09/23/open-infrastructure-is-not-free-a-joint-statement-on-sustainable-stewardship/). Additionally, almost all of them are US-hosted and controlled.
One could think that Codeberg.org could provide additional European-based and hosted artifact repository "caches" or "mirrors" of Maven Central, Pypi, NPM. I propose not to copy all the artifacts, but if a user of the Codeberg.org access through the repository "cache"/"mirror" a package it fetches it from Maven Central/Pypi/NPM in the background and keeps the version cached.
Note: I do not talk about the functionality in Codeberg to publish own artifacts [in a registry](https://forgejo.org/docs/latest/user/packages/ ) this for sure should be used as well.
Of course one needs to decide which solution to deploy for this as to my knowledge this is not supported by Forgejo. [Pulp](https://pulpproject.org/) can do this for some package types, but maybe there are others. Probably a European CDN needs to be chosen (but might not be needed initially).
One should also of course consider the risk, e.g. similar to what other infrastructure provider have as a risk, the Codeberg repository "cache"/"mirror" could be heavily used. Here it could be worth to check with:
* European Commission - They currently work on the [Open Source strategy](https://commission.europa.eu/about/departments-and-executive-agencies/digital-services/open-source-software-strategy_en) 2026-2030
* [NLNet](https://nlnet.nl/)
* [German Sovereign Tech Agency](https://www.sovereign.tech/)