Where would you host your code if you prefer non-for-profit communities with FLOSS commitment?
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 might not be a solution for everyone, but you can self host a git repository on your static site!
stagit is a static git site generator. It is lean, you can self host it even of the cheapest of shared hosting and it makes code browseable via html, which is a plus for sharing and receiving suggestions/contributions.
For a relatively small, low bandwith project it is a charm. As an example, here are my repositories.
Nope! Little known to people, you just need to locally clone your repository with --bare and upload that. You will see you can clone it even if you don't have a git server!