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.
It’s operated by a publicly traded company. That seems be an extreme case of “for-profit” that OP is trying to avoid.