My first idea was to use the Gitea instance of the Free Software Foundation Europe, but T&Cs strongly encourage only projects with direct relation to the FSFE activities, so personal projects don’t seem welcome.
The first-party Gitea platform seems to be in risk of becoming for-profit.
What’s wrong with gitlab?
It’s operated by a publicly traded company. That seems be an extreme case of “for-profit” that OP is trying to avoid.
It’s pretty hard to log in nowadays in some cases. Like, with my hardened firefox profile I can never get through the cloudflare automatic bot check (not even a captcha, just a reloading page that fingerprints) even if I allow the usual things.
But the Librewolf team probably has a list of reasons publicly available, as they have just moved from gitlab to codeberg for reasons like this. Simply put, gitlab is becoming user hostile.
So far I didn’t have any issues logging in even on firefox with all the usual plugins and privacy settings enabled. I think saying that it’s user hostile is a big exaggeration. I see how it’s not ‘non-profit’ but I think it’s still a great place for open source projects. I self host it and use the official page and it has been a very useful, good quality tool.
It has an awful UI layout.