But selfhosted Gitea, which OP chose, IS good for closed source. And codeberg is not.
Alternative of that is self hosted forgejo