Anyone knows a good lightweight self-hosted alternative to GitHub?

khoi@slrpnk.net to Selfhosted@lemmy.world – 119 points –

I'm looking to self-host a GitHub alt on a cheap Linux VPS for personal use. Any rec?

69

You are viewing a single comment

Strong recommend for Forgejo. It’s a community fork of gitea that’s actively maintained by the community and a great open source nonprofit.

It’s actually a drop in replacement for gitea if you are using that now.

Super lightweight. Super snappy, and it supports GitHub Actions style CI/CD.

Big +1 for Forgejo, also they are actively working on implementing Federation, i.e. in the future Forgejo servers will be able to exchange information as a federated network, just like good old Lemmy 😊 If you want to try the toolchain (Forgejo+Woodpecker CI), it's what Codeberg.org (run by the German nonprofit organization of the same name) offers freely.

what’s the benefits of being federated for code?

This will allow you to browse & contribute to projects hosted on other instances without having an account there. Imagine using the GitHub search to find a project on Gitlab, then opening an issue there without ever even leaving GitHub. The protocol is called ForgeFed.

The actions are amazing, and I was also able to integrate them with tailscale so I can build and deploy everything within my network automatically.
I run it in a vps with 1cpu and 2gb ram along several other services.