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.
If you are willing to self-host and are scared of the gitea license shake-up, use forgejo.
When it comes to self-hosting, there's also the costs. Hosting providers have been hitting me with price hikes one after another this year, so I'm looking into shutting down some servers instead.
I can recommend Sourcehut, it's still free right now: sourcehut.org
You will need to learn how to use Git with email, but that isn't a bad skill to have anyway, so why not.
I can give it a shot, certainly. One of the main contributors behind it is in my RSS reader so there's some name recognition there. Future pricing is not final though, so I can't budget for it before committing.
I second Sourcehut. I liked it so much, I started paying for it a couple of years ago.
The CI works really well, and the parts are slowly (but continuously) becoming more integrated and cohesive.
The features I like best may, however, be anti-features to others. The web interfaces are spartan (and correspondingly lightweight). Many interactions require more esoteric workflows - such as the aforementioned "PRs via email." You could self-host the entire suite, if you wanted, and there's almost no possibility for vendor lock-in... I guess there's no real downside to that one. And Drew is a Character, which is fun if you agree with him on many things, which I do, but could be annoying if you don't.
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!
Selfhosting Forgejo is a good solution, especially since federation via ActivityPub will be available soonish.
Codeberg is nice (and will join the federation), but they are getting a bit too big and are having some scaling problems.
I am also working on a Forgejo code hosting site over at https://f-hub.org but it isn't really open for public yet (I am willing to on-board people interested in contributing to running the site though). The idea is to launch it together with the availability of the Forgejo federation.
Why why I do it? I have some open source code there and I link to my repos from LinkedIn. My code is not secret. If it were I would self host my repos. I'm not saying gitlab is great for everything bitits is good for many things.