Github and Gitlab already has the feature of Adding Custom Domains for their "Website Hosting for Projects".
I think that Codeberg Pages must also support custom domains ( providing subdomains like projectname.codeberg.io would be cool too).
Even though we can automate the process,i propose this:
- There must be repo like Codeberg Issues where project owner requests custom domain/subdomain of codeberg.org / codeberg.io for his project page)
- If the admin feels that it's acceptable,he adds custom domain for his project page(also enables let's encrypt HTTPS for the site).