Live data from Hacker News

Ask HN: Alternatives to GitHub

news.ycombinator.com

241–250 of 468 posts

Re: Ask HN: Alternatives to GitHub

#241

What are people using as alternatives for GitHub Actions specifically these days?

Hopefully a good spot to plug my own project, preloop, which is a drop-in replacement of Github actions(both the runners and control plane) that runs locally or self-hosted in isoalted microvms, and supports debug-on-failure. You can also push to the server, run CI and then optionally create a draft PR. Not quite production-ready yet(for the self-hosted part), but the local part works well. We implement the official…

Looks neat! I'll try your project if you try mine: https://getprobed.chat/

Re: Ask HN: Alternatives to GitHub

#242

I don't want to ignite an argument, but this feels like Linux v Windows. You should absolutely switch because you hate dealing with it, but the less-popular choice is going to be less popular everywhere. Your next job will very, very likely not care about your personal hatred and will simply force you back into the default, popular choice. It is sometimes best to stick with what (mostly) works for everyone unless you…

What is there to learn? It uses Git. What you think it feels like, it is not.

Honestly a lot of the complaints about migration feel to me like the result of poor management of actions etc. If your CI etc is so inextricably tied to github you were never doing it correctly

Re: Ask HN: Alternatives to GitHub

#243

https://forgejo.org/

I recently set this up on my homelab, not really expecting to switch to it, more out of interest. But wow, after I saw how unbelievably fast it was, I’ve moved everything over. I’ve now set it up to mirror things automatically to Github if I want to make them public.

Using Github at work is painful in comparison. (Also literally just this morning we’ve had to delay a release due to Github being down.)

Re: Ask HN: Alternatives to GitHub

#244
My setup is a self hosted GitLab. From there, in most of my repos I setup repo mirroring (basically it just does its own SSH-based git push whenever I push commits to it) to GitHub, GitLab, and Codeberg.

All of these are free (if you ignore electricity cost of hosting your own git server), and each one is a backup of sorts.

I don't necessarily recommend starting with GitLab though unless you want advanced CI capabilities, but you're already used to GitHub so you should consider self hosted gitea, which uses the same Actions syntax and even has some interoperability with its action modules I think.

But yeah, my recommendation is just to push to as many (free) git hosts as you can. Why not take advantage of free code storage if it's available. Plus if any one host goes down you can still retrieve your code from the others.

Re: Ask HN: Alternatives to GitHub

#246
post #134

It depends on what you are after? 1. Do you want something that works and feels like GitHub? -- Forgejo and Gitea are good for this. 2. Do you want a place to host git repositories with minimal hassle? -- GitLab, CodeBerg, and others are available. 3. Do you have your own hosting infrastructure? You could use gitolite and CGit/GitWeb on that hosting platform or local hardware. 4. Do you just want to host repositories…

CodeBerg comes with the advantage that Euro social democrat style moral superiority comes for free. Never mind it has worse performance under less load and its bet for dealing with the future is treating anything LLM related as hostile.

https://blog.codeberg.org/protecting-our-floss-commons-from-...

You may agree with this. And if so, you have found your home. For those who just want to host, and not buy into this particular perspective, you should probably look elsewhere. I find a lot of people in the States promoting CodeBerg also have illusions about Europe, of the sort that are likely to be radically tested in the next decade, if not the next few election cycles alone.

Re: Ask HN: Alternatives to GitHub

#247
post #163

Earlier quoted context omitted.

7. Do you want the most contributions? I hate to admit it, but GitHub has a massive community. I’ve personally seen a project leave it and then contributions dropped significantly.

Having people personally go out of the way for a little bit of friction tells you how valuable, and perhaps, serious these people are. I'd rather have that group of people contributing to my projects than fly by night agents that just shit all over the floor and expect treats for doing so.

It's also a useful signal in the age of LLMs. A bit of hoops to jump through before a PR can now be seen as a good thing.

Re: Ask HN: Alternatives to GitHub

#248
Creator of GitSocial here: it's a Go binary CLI/TUI that lets you store all your issues, PRs, etc. in the git itself and self-host on any S3-compatible bucket: https://gitsocial.org/.

On more detailed level, it allows forgeless issue management, cross-forge PRs, git-native discussions, and much more.

It has not dependencies, just git itself. Happy to answer any questions!

Re: Ask HN: Alternatives to GitHub

#250
post #37

To all of those proposing self-hosted GitLab: we did it for 6+ years in my company, and it's not always a smooth sailing. We had our own runners and we made it auto-upgrade across docker images daily before business start. It mostly worked really well, except those few times were a Docker upgrade had to be rolled back, or that one time the bundled pg_shared_buffers was set at 1MB by default, making schema upgrades im…

Ok, with DSCI as monolith application where git and CI are the same server, 32GB RAM VM is more then enough , no need to host runners, no need in k8s cluster, no need in dedicated maintain team, so no extra costs on devops tasks ... Also with general programming languages for CI pipeline you are in full control and simplicity ...

This thread is about full-featured forges like github/gitlab.

That DSCI is not a forge - it's a task runner attached to gitweb frontend. There are _none_ of the forge-like features like user management, pull requests, etc... Even in CI area, most of the features are missing: from the quick perusal of the doc, even something as basic as "have runner on remote machine" or "run two jobs at once" is not implemented.

Post reply on HN