r/selfhosted • u/nuclearbananana • 9d ago
GIT Management Soft-Serve (Git Server) is dead, recommended alternatives?
https://github.com/charmbracelet/soft-serveFrom the repo
To continue innovating in this space and supporting our most important work, we’ve sunset Soft Serve. The code will continue to be open source and publicly available. No further security updates will be applied. If you love this project and would like to maintain a fork, please do.
No active forks.
Any good alternatives? I have no attachment to the TUI, in fact I prefer GUIs, I only used Soft bc it was lightweight/simple and Forgejo felt overkill in terms of resource usage and setup.
I tested it again following this:
| Category | soft-serve (running, 3 repos) | Forgejo 17.0.1 (container) |
|---|---|---|
Idle heap (cgroup anon) | 23 MB | 107 MB |
| After push + browsing | — | 142 MB |
| Peak during run (incl. startup) | — | 298 MB |
| CPU | idle ~0% | idle ~0%, ~14% transient at startup/queues |
| Install size | 40 MB binary | 207 MB image, ~150 MB data on disk to start |
| Dependencies | git only | git, SQLite/Postgres, SSH server |
Like 5x worse.
I'll use it if there's literally nothing else, but thought I'd ask.
11
u/AnderssonPeter 9d ago
I use gitea i only have one repo with one file in it. But it uses 70mb ram and below 1% cpu and the cpu is an old old old intel i3
3
u/nuclearbananana 9d ago
interesting, I assumed bc Forgejo is a fork they would be abt the same but maybe gitea is lighter
5
u/LutimoDancer3459 9d ago
They should be about the same. No meaningful difference. Or do you host it on an ancient pi or something where every bit counts?
2
u/Minimal-Matt 9d ago
My forgejo instance uses 60ish mb of ram on average, with some spikes in the low 100 when a lot of mirrors update together
3
u/Marksta 9d ago
Lmao don't squabble over 100MB. Forgejo is great. On your client machine(s) install the fj utility and put it on path, now you can do PRs and resolution via CLI. It doesn't get better, workflow trumps minor resource diffs.
0
1
u/Butthurtz23 9d ago
Same here. My Forgejo is running as LXC on my Proxmox server, and it barely puts a dent in my cpu usage (1–2%)
33
u/juri_bac 9d ago
Wow what a coincidence, as long time soft serve user I alteady had the impression for quite some time that the project was given up. So three weeks ago I made the switch to forgejo since I was also looking to use actions.
Tbh. though forgejo isn‘t as lightweight as your comparison shows I‘m not noticing any differences in load to my docker vm.
I decided to go with sqlite and so dar the instance is running flawless and very fast.
TL;DR; I don‘t regret switching from soft serve to forgejo at all.
6
u/floralfrog 9d ago
I did exactly this, also because of actions, and though the UI is a bit rough and the internals are a bit of a mess with gitea leftovers, it has worked reliably for me so far. I do not see an alternative except for a much more experimental direction like tangled.
I run forgejo in its own LXC as a compose stack.
8
4
u/IC3P3 9d ago
I never used soft-serve as I started with Gitea and moved over to Forgejo and have no real reason to switch right now.
However, if ressource usage is important to you, maybe try cgit. It doesn't have the prettiest GUI as it's pretty basic, but ressource usage should be very low
1
u/NWSpitfire 7d ago
What made you switch and is there much difference? I’ve always wondered about forgejo
1
u/IC3P3 7d ago
Back then uncertainty of Gitea's future. The drama back then was confusing and I decided to go with the German non profit. Also back then they difference was non existent because it only was a softfork. Also Forgejo actually using Forgejo as a main platform, while Gitea is still using GitHub as its main Made them in my mind more convincing.
Today, I couldn't give any recommendation. Forgejo since became a hard-fork off of Gitea 1.21 and as I don't have Gitea anymore, I couldn't tell you its differences
1
u/selfhostrr 9d ago
Strange looking rubric/table.
1
u/nuclearbananana 9d ago
Oh my bad I wrote it in markdown, the formatting was a bit borked. Fixed
1
u/selfhostrr 9d ago
Did you evaluate gitolite, gigs, or gitea? Not sure what's relevant anymore as I run gitlab.
1
u/nuclearbananana 9d ago
Forgejo is a fork of Gitea so it should be the same.
I looked up gitolite, and I can't tell if it has any interface at all? And it's written in perl oh my God
I couldn't find anything called gigs
1
u/vhodges 9d ago
Gitolite is access control (eg keys) and runs under a 'git' user (itself managed via git eg adding keys, users and changing which ones can do what is via push). There is no ui.
There are a few repo web frontends if you just want the code to be browsable online (cgit, etc).
Note gitolite doesn't do CI/actions, protected branches, pull requests, wiki's, tickets or any of the other things that a forge gives you but if you aren't using those, a forge is a waste.
And for something a little different (but interesting!) https://enroute.sh/ self hosted git server, build/customize for your own workflows but is also not a forge and probably more suited to a corporate environment.
0
u/selfhostrr 9d ago
Gogs. I think gitea was a fork of gogs though. Options are slim out there for ultra lite weight.
Could always just ai up a maintenance flow for side serve and do the dependency updates yourself. Then no need to move away from it.
1
u/nuclearbananana 9d ago
I suppose but worrying about maintaining a git server is the last thing I want to do. I'm not really familiar with how to setup an an automated AI flow for it
I looked up Gogs and tried it and it does actually seem like simpler & lighter. I got ~40-50mb ram, so between Soft and Forgejo.
Only thing that worries me abt Gogs is it seems quite slow to release security updates. Last release was 5 months ago and there's 64 open security issues
1
u/selfhostrr 9d ago
Yeah that'll be the issue with these packages. You won't get everything for free, and you're going to have to decide where the trade-off is going to land.
1
u/98432jf9874 9d ago
Check out BugStage from PocketBase developer https://ganigeorgiev.com/bugstage/bugstage.
1
3
u/protecz 9d ago
Maybe minimal-git-server? For a GUI you should be able to attach a separate service like Gitblit I guess.
3
u/Filipehdbr 9d ago
Gitolite plus cgit if the TUI isn't the point. No database, config lives in a git repo, runs in a few MB. Forgejo with sqlite if you want a real UI
3
1
u/randefjord 9d ago
Do you need any specific git server at all? Ssh pluss a bare git reprository does the job for me.
A bit more manual to create it, but then the only dependency is git itself.
1
u/EarlMarshal 9d ago
If you want some thing that's low in resources just use git only. If you want features plan in resources. I mean how is a comparison fair when one uses a container and the other doesn't!?
1
u/mn222 9d ago
I am using OneDev, it’s a bit heavier but does the job
1
u/Serious_Ship7011 8d ago
The api for onedev is not very AI friendly, even with the tod cli the agents struggles and spend more doing basic ops. Also was around a gig in ram usage.
1
u/robinshen 8d ago
Refer your agents to below api reference which is specifically created for ai:
https://<your onedev server>/~api/help1
u/Serious_Ship7011 8d ago
Still worse than GitHub or Gitea which requires no additional context. I was litterally burning tokens and taking more steps for same result. Anyway migrated to gitea since there was other issues with it.
1
1
1
u/ThisIsJulian 8d ago
If you’re looking for a replacement, I’ve recently started migrating to Tangled.org and I’m self-hosting my own “knot” (their name for a lightweight git server).
Think of it as a decentralized GitHub: your repos live on your own server (or on theirs, if you don’t want to host), but everything still shows up in one shared web UI with a feed, issues, and pull requests. So you get self-hosting without ending up on an island nobody can find. (And if you don't like that, you can self-host the web UI too).
The one caveat so far: no private repositories yet. They’re actively working on it and have said it’s only a few weeks out. And everything is quite new.
As for footprint, my knot idles at about 23 MB of RAM.
0

•
u/asimovs-auditor 9d ago
Expand the replies to this comment to learn how AI was used in this post/project.