I’m looking to self-host a GitHub alt on a cheap Linux VPS for personal use. Any rec?
I use gitea, it works fine.
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.
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.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.
i run forgejo on my shitty vps and for the amount of features it has it is surprisingly lightweight, i love it so much
If you just want a remote to push your code to without issues, projects, pull requests and such you can use git only: https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server
This is actually a good idea! No need to over engineer stuff 😅
Gitea.
Gogs and Gitea are very similiar, Gitea is a fork of Gogs with a bit more features as I understand it.
However when I tried to get Gitea working personally a year and a half ago, it had some rough issues with redirect looping onto itself infinitely, could never get it to work.
On the other hand Gogs didn’t have this issue, and was much more painless to stand up, so it’s what I use now.
Used gogs, it was… fine. Made the jump to Gitea and it’s just amazing. Not that it does anything really different, but you can tell it’s much more polished. Gogs just felt like a CS student’s final project, Gitea is something I could use at work.
I setup Gogs once like 6 years ago or something lol, I remember it being pretty easy and it is nice. Although if Gitea is more actively maintained then it’s probably worth giving that a shot first.
If you don’t need the web gui stuff (and you shouldn’t for personal use) you can set up a git server using gitolite. Very easy to manage
And if you really want even more barebones, you can just do
git init --bare
into a directory on your VPS, and thengit clone user@your.ip.here:path/to/the/directory
and use git as you would normally!
Stagit and cgit, just the very best! If you want a github like UI, there is Gogs.
@khoi@slrpnk.net probably others already suggested, gitea is as lightweight as you can go with a nice interface and features
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
Fewer Letters More Letters Git Popular version control system, primarily for code SSD Solid State Drive mass storage SSH Secure Shell for remote terminal access VPS Virtual Private Server (opposed to shared hosting)
4 acronyms in this thread; the most compressed thread commented on today has 4 acronyms.
[Thread #276 for this sub, first seen 12th Nov 2023, 09:40] [FAQ] [Full list] [Contact] [Source code]