Some time ago I decided I want to take matters into my own hands and host my own code. I was aware of a few git hosting services: GitHub, GitLab, BitBucket, and Gitea.

GitHub was no option, as you can’t self-host that.

I was not very familiar with GitLab, and it looked clunky, big, and slow to me.

BitBucket I was not a fan of due to it being product of an Australian company. See here why that might not be a good thing

Gitea seemed to fulfill all my needs - It’s a fairly lightweight server, you can host it yourself, and it’s FOSS.

The setup was fairly easy.

I even found a script that copies all your public (and private!) repositories from GitHub to your own Gitea instance - It doesn’t get much better than that.

UX wise I must say I like it a lot - it might be “inspired” by GitHub more than a bit, but it makes for a very pleasant experience.

If you want to check it out, you can do that here. However, please don’t make this your space to store all your important repos - I do not want the responsibility to ensure other peoples stuff stays intact.

Nevertheless, I can recommend hosting your own git server, I definitely learned a thing or two more by doing so.