News for hackers. Stuff that matters.
Re:Ask HN: Alternatives to GitHub by plqbfbv on Monday August 17, 2026 @10:45AM (#49331916)
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 impossible for bigger instances, or a version major would break pipeline expectations forcing to upgrade 200+ repos at a time (we pinned to major afterwards). Lately I was also receiving an almost weekly "critical patch" newsletter due to critical/high vulnerabilities, which I can only imagine are due to LLM running over the code and identifying bugs.

That said, I wish we hadn't migrated to GH, our self-hosted instance had WAY less downtime despite being perhaps a bit slower (mgmt saving money) and required a bit more toil: GH is nowhere near Enterprise-ready and it feels a downgrade across the board. GL has better access granularity, better docs, better integrations, and you can clearly see the UI received a lot of attention (although it does take 10m with a new account to pin the proper items in the maze of sub-menus that is the sidebar). You can also look at the code and help out if needed, and/or simply provide a patched version to your image via a docker mount.

If you're really looking at self-hosting GitLab for a smallish team (up to 50-100 ppl), prepare at the very least a 16GB machine (best 32GB) with 4 cores and a decent SSD, and at least a small team (1-3 people) that can maintain it properly or jump at it at any moment. For runners, a small k3s cluster is ideal to make use of all the resources you can throw at it without worrying about managing the runner state/configuration.

Re:Ask HN: Alternatives to GitHub by inanothertime on Monday August 17, 2026 @11:28AM (#49332644)
Setting up custom GitLab runners can be cumbersome in the beginning! We faced that multiple times with various customer projects for which we were using GitLab.com managed repos. That's why my colleague and I recently built a "GitLab Runners as a Service" [0] -- simply use your self-managed GitLab or GitLab.com account to login, adding pipeline runners is a 1-click operation! Under the hood we provision a Hetzner machine for you runners and automatically connect your GitLab group or project to it. Happy to hear your feedback!

[0] https://rocketrunner.io/

Re:Ask HN: Alternatives to GitHub by cortesoft on Monday August 17, 2026 @01:03PM (#49334226)
I find the gitlab runner registration process a lot simpler than the github process, and a lot more flexible when you are self hosting the gitlab instance. We used kubernetes runners for both, and gitlab was clearly better.

The worst part about the github runner setup is that there is no built in support for using your own cache if you are using github.com and want to run your own runners. In order to use your own cache store for your runner jobs, you have to patch the runner image because the cache location is hard coded. Gitlab lets you choose your cache location as a standard feature.

Re:Ask HN: Alternatives to GitHub by inanothertime on Monday August 17, 2026 @02:50PM (#49335805)
Right! That's why running your owners runners is so valuable as you've got full control over the cache location which clearly makes subsequent pipeline runs super fast.
Re:Ask HN: Alternatives to GitHub by zer0x4d on Monday August 17, 2026 @01:59PM (#49335073)
Thank you for building this, looks like it could be really helpful. We've been running our self-hosted GitLab with almost 99.99% uptime and a few runners but the configuration and update process has been a bit cumbersome. Will take a look at rocket runner.
Re:Ask HN: Alternatives to GitHub by inanothertime on Monday August 17, 2026 @02:48PM (#49335787)
99.99% uptime is impressive! So far our runners are likewise very reliable! It's just a Hetzner machine with our stack on top after all. Thanks for trying us out and please drop us an in-app message for any questions or comments!
Re:Ask HN: Alternatives to GitHub by lclc on Monday August 17, 2026 @02:23PM (#49335423)
This is pretty cool and one of the few things I couldn't find a viable alternative to in-house hosting so far. The only thing your "GitLab Runners as a Service" is missing is ISO 27001 (and optionally SOC 2) certification. That makes it again easier for your customer to get / maintain their ISO 27001.

(So far I used this cloud.init script to spin up and upgrade GitLab-Runner instants: https://gitlab.com/21analytics/gitlab-runner-cloud-init/-/bl...)

Re:Ask HN: Alternatives to GitHub by inanothertime on Monday August 17, 2026 @02:47PM (#49335770)
Ha, let us look into ISO 27001 certification and see what it takes to obtain it (and SOC 2). Thank you for this valuable pointer! If you could just sign in (accounts are free and you can even try us out for the first 48h and not be charged), then we could message you to your email address once we have an update here.
Re:Ask HN: Alternatives to GitHub by senorrib on Monday August 17, 2026 @08:19PM (#49339530)
You’re on for a ride. Set at least 50k on the side for that.
Re:Ask HN: Alternatives to GitHub by lclc on Tuesday August 18, 2026 @05:57AM (#49343472)
I clicked 'Get started -> Login with GitLab.com' but for my tastes it wants way too much access just to add a runner:

> Grants complete read/write access to the API, including all groups and projects, the container registry, the dependency proxy, and the package registry.

Even more so just to stay informed about updates.

Re:Ask HN: Alternatives to GitHub by inanothertime on Wednesday August 19, 2026 @07:19AM (#49359994)
> it wants way too much access just to add a runner

We wanted to make the onboarding as simple as possible so that we can:

0. Log you in through your existing GitLab.com or GitLab self-hosted account 1. List all your groups and projects to decide where to install the runner 2. Disable GitLab.com's own instance runners (otherwise our Runners are not picked up) 3. Install the Runner 4. Optionally: When installing an agent runner, we are able to reply to read and reply to all your issues where you tag us via `@Rocket` -- this runs completely on your machine that we host for you! It doesn't run on our infrastructure and we only access your runner machine for auto-cleaning its caches.

That's really all the RocketRunner does with you granting us permissions when logging in.

We are looking into ways how to possible scope access better! Thanks for your feedback!

Re:Ask HN: Alternatives to GitHub by chrisandchris on Tuesday August 18, 2026 @01:34AM (#49341640)
Looks pretty cool!

P.S.: With AdBlockers enabled I cannot navigate on your site at all on Safari mobile. Seems like your navigation uses to much JS to provide a link.

Re:Ask HN: Alternatives to GitHub by gabelschlager on Tuesday August 18, 2026 @06:19PM (#49353580)
Is it? Especially if you go the K8S route, setting up a runner infrastructure can be done within a day. Based on my experience, there isn't a lot of maintenance involved. It's mostly a smooth experience.
Re:Ask HN: Alternatives to GitHub by wongarsu on Monday August 17, 2026 @11:38AM (#49332780)
I'd also say that gitlab runners are the biggest failure point in gitlab and take some work to micro-manage. If I was setting up from scratch I would consider gitlab for source control, but some hosted service for CI
Re:Ask HN: Alternatives to GitHub by inanothertime on Monday August 17, 2026 @11:43AM (#49332864)
Maybe give https://rocketrunner.io a try? We made super easy and fully managed GitLab CI/CD runners for GitLab.com or self-hosted GitLab servers :-)

(Sorry for posting this twice, but we'd really love to get more user feedback)

Re:Ask HN: Alternatives to GitHub by tikkabhuna on Monday August 17, 2026 @05:51PM (#49338173)
Really? I've been very happy with how easy GitLab Runners are to manage. We were running 20,000 jobs a week on 6 bare metal boxes and we had tons of spare capacity. Simple Ansible script to deploy the runner and register it. Tags for t-shirt sizes to set the amount of CPU/memory allocated to each job container.

Maybe running on Kubernetes or some autoscaling solution is more painful.

Re:Ask HN: Alternatives to GitHub by selfhoster1312 on Tuesday August 18, 2026 @05:03AM (#49343165)
When it works, it's great. When it doesn't, good luck figuring out why.

When you fork a project, it's really not clear in the UI why it's stalling (because it uses your configured runner, i.e. none, not the project's).

When a runner fails, it's not really clear why. gitlab-runner logs are mostly useless in terms of connectivity to the gitlab instance, displaying what projects/repos it's effectively associated with. And i don't think it even has a simple test command to test the docker setup, you just have to trigger jobs until it fails in the middle of hundreds of lines of logs.

Re:Ask HN: Alternatives to GitHub by codexb on Monday August 17, 2026 @11:18AM (#49332472)
Yeah, it's mind blowing to me that GH still doesn't have a branch viewer in each repo.
Re:Ask HN: Alternatives to GitHub by melezhik on Monday August 17, 2026 @12:31PM (#49333739)
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 ...
Re:Ask HN: Alternatives to GitHub by theamk on Monday August 17, 2026 @03:18PM (#49336206)
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.

Re:Ask HN: Alternatives to GitHub by melezhik on Tuesday August 18, 2026 @01:14AM (#49341535)
- you don’t need runners on remote machines unless you you have hundreds of jobs and which never happens for small or medium size dev teams - job matrix / parallel jobs are barely needed in commercial development , only in open source , but still not in every project - pull requests and user management are coming soon
Re:Ask HN: Alternatives to GitHub by theamk on Tuesday August 18, 2026 @12:26PM (#49348139)
maybe if you only do web? But not every development is web development, you know.

My first job I was in ~10 people robotics/hardware startup, and we had CI cluster of about 4 workers, later extended to ~10 machines (managed by buildbot, those were the times...). And the parallel jobs happen all the time in commercial developments, no one likes to wait for a long time when they could wait for a short time. This is not done for various OS'es, instead one machine might be testing service A, while other tests service B, while the third one tests integration.

That said, there is nothing wrong with "Dead Simple" niche - I am sure that there are some users who could use it. Although those would probably want something with less lock-in, your current approach is pretty weird: the jobs which _look_ like they are written in regular bash/python/etc.. but actually they have extra functions ("run_task", "task_var" etc..) magically injected, so you cannot run the file directly nor can you run linters on those. I'd much prefer pretty much anything else which can run unmodified code.

Re:Ask HN: Alternatives to GitHub by melezhik on Tuesday August 18, 2026 @01:04PM (#49348786)
- long ci builds usually means bad code / architecture . CI should not be very heavy and should not take a lot of time.

- jobs do not look like, they are indeed written on gp languages, no magic here

- run_task / task_var are just SDK functions - you may or may not need them. They simplify pipelines development ( conditional tasks , getting task variables ) but you don’t have to use them if you don’t need them. There is no absolutely magic in dsci / it’s just normal programming languages

- you can run pipelines locally if you really need to, however this is rarely needed and the point of having gp language for ci code is ability to use standard programming techniques, running locally is not main focus here

- the main advantage is using programming languages not YAML. You can apply linters / refactoring / libraries decomposition - all standard techniques one has in gpp languages , this is always pain with YAML

Re:Ask HN: Alternatives to GitHub by melezhik on Monday August 17, 2026 @01:28PM (#49334595)
Whoever downvoted this ^^ my comment I need your reasoning … I don’t know why people hate simplicity ) ( or love complexity )
Re:Ask HN: Alternatives to GitHub by rpearl on Monday August 17, 2026 @04:13PM (#49336925)
it is a simpler set of services at the expense of a more complex user experience
Re:Ask HN: Alternatives to GitHub by melezhik on Tuesday August 18, 2026 @01:15AM (#49341542)
What is more complex user experience? Writing pipelines on YAML gets complex indeed

CI should not be any different from regular programming

Re:Ask HN: Alternatives to GitHub by cortesoft on Monday August 17, 2026 @12:58PM (#49334133)
> That said, I wish we hadn't migrated to GH, our self-hosted instance had WAY less downtime despite being perhaps a bit slower (mgmt saving money) and required a bit more toil

The key thing that drove our decision to self host gitlab was that WE were the ones in control of when things happened. We didn't do upgrades during times where we really needed our git infra up, and we were in control of our response time to incidents. We were not at the mercy of some other company's upgrade schedule and incident resolution process.

Of course, it comes with added workload and responsibility, but as the above comment says, it was not that onerous. While we paid for Gitlab Enterprise for a long time, we eventually switched to the free tier as that company was winding down (for reasons unrelated to our choice of git hosting), and the free tier actually has pretty much everything we needed.

Re:Ask HN: Alternatives to GitHub by formerly_proven on Monday August 17, 2026 @01:31PM (#49334630)
> To all of those proposing self-hosted GitLab: ... it's not always a smooth sailing.

> (we pinned to major afterwards)

I mean OK. But also, if I want a reliable service in my business, I wouldn't typically auto-upgrade docker images nightly to "*".

Re:Ask HN: Alternatives to GitHub by plqbfbv on Monday August 17, 2026 @03:24PM (#49336298)
> I mean OK. But also, if I want a reliable service in my business, I wouldn't typically auto-upgrade docker images nightly to "*".

Well fair, but we had been using it for 4+y at the time before running into that, and the rails-based migration scripts basically never failed once despite being migrated across 6 majors and countless minors/patches. Being a small company, from that PoV it gave us very little downtime for essentially zero security work to maintain it. Of course we had daily (and tested) backups too, just in case, but we never had to use them.

Overall, the downtime of GL, even with auto-upgrading and the issues above, was perhaps 1.5 work-days across 6+ years. GH exceeded that budget in the first 2 months after migrating this year...

Re:Ask HN: Alternatives to GitHub by Nemo_bis on Tuesday August 18, 2026 @12:51AM (#49341410)
4 years of running production GitLab on nightly is very impressive! I would never have imagined you could last that long. Clearly the quality of GitLab releases is much higher than I imagined.
Re:Ask HN: Alternatives to GitHub by plqbfbv on Tuesday August 18, 2026 @07:47AM (#49344279)
> on nightly

Just to make it clear: it wasn't pinned to `latest`, we created a small script that would probe the docker registry and enumerate all the tagged images (e.g. 15.3.2, 16.4.1, ...), sort, pick the latest of those tagged, and apply it. It was probably 1-3 updates per week. Still, it was a really good run despite the couple hiccups mentioned above.

Re:Ask HN: Alternatives to GitHub by KronisLV on Monday August 17, 2026 @02:01PM (#49335102)
I also self-hosted GitLab for some years, eventually ended up moving over to Gitea + WoodpeckerCI + Nexus (with Nexus for a while). Well there was DroneCI in the middle for a bit there as well, but Woodpecker is perfectly okay and more free in regards to what you can do. Only thing is that not that much other software out there supports Gitea, for example Kepler only knows about GitHub, GitLab, Jira, Trello and Linear.
Re:Ask HN: Alternatives to GitHub by znpy on Monday August 17, 2026 @02:15PM (#49335287)
We did tun our own installation at work, supporting ~120 developers.

A single vm, 8 cpu cores and 64gb memory, using ssd disks on a local vmware cluster.

It worked okay but:

1. Was only exposed to the corporate network and some vpn connections

2. We did the upgrades late at night once every like six months, taking a snapshot of the whole thing from vmware side before touching anything

It worked pretty well and was relatively low maintenance. Frankly a very pleasant experience.

I’m using github and bitbucket at work nowadays and frankly i miss that experience, both as an user and as an administrator.

Edit: btw i left that job and that gitlab installation in 2022, no idea how things changed in the meantime.

Re:Ask HN: Alternatives to GitHub by scientifik on Monday August 17, 2026 @02:35PM (#49335628)
ex-GitLabber here, and yes this is a pretty common scenario. GitLab as a product is pretty good, however GitLab Inc, is not great at supporting the broader community especially the SMB-Mid tier self-hosted users. (If you're big enterprise you'll get white glove support)

It's a bummer because they had so much potential to dethrone GitHub a few years ago but really missed the opportunity to position themselves as a viable alternative. That said I still use gitlab.com for my personal projects over anything owned by Microsoft.

Re:Ask HN: Alternatives to GitHub by Lorin on Monday August 17, 2026 @03:48PM (#49336584)
As someone who used to submit issues to Gitlab just to see them stagnate for 6-8 years and then ceremonially get closed after being stuck in management/release bump hell (along with many 'me toos' from both Gitlab premium support staff / 3rd party contributors) I agree with your statement 100%.
Re:Ask HN: Alternatives to GitHub by fHr on Monday August 17, 2026 @03:50PM (#49336608)
gitlab.com and selfhosted gitlab in various companies in the last few years
Re:Ask HN: Alternatives to GitHub by jrey2112 on Monday August 17, 2026 @08:19PM (#49339531)
Never forget the sudden GitLab price-hike and flavor feature changes just a few years ago. I was literally about to go from free to paid, when the pricing doubled nearly overnight. I left for Gitea.

https://news.ycombinator.com/item?id=35144974

Re:Ask HN: Alternatives to GitHub by Grombobulous on Monday August 17, 2026 @10:54PM (#49340674)
Have you looked at migrating to Forgejo? It’s a fork of Gitea though I think it has diverged significantly since the fork.
Re:Ask HN: Alternatives to GitHub by chhs on Monday August 17, 2026 @10:57PM (#49340704)
I migrated my Gitea instance to Forgejo, it was pretty painless
Re:Ask HN: Alternatives to GitHub by globular-toast on Tuesday August 18, 2026 @01:51AM (#49341769)
I accidentally upgraded my Gitea instance beyond the fork which makes this more difficult...
Re:Ask HN: Alternatives to GitHub by selfhoster1312 on Tuesday August 18, 2026 @04:55AM (#49343123)
Had the same experience, but the import feature works really well (with `ALLOWED_DOMAINS = *` in app.ini). Bad news is i had to do this individually for each repo. Good news is it went great and fast, even for private repos.
Re:Ask HN: Alternatives to GitHub by zImPatrick on Tuesday August 18, 2026 @12:39PM (#49348336)
My gitea instance was only ~6 DB migrations beyond where Forgejo was at when I decided to switch, so I just undo‘d those and upgraded anyways. Works just fine, but I was really lucky that they weren‘t any big migrations. I guess isn‘t really as feasible anymore.
Re:Ask HN: Alternatives to GitHub by Jnr on Tuesday August 18, 2026 @07:42AM (#49344233)
I did and then rolled back. Gitea is far ahead in CI/CD features, which is the main thing I want from my own git forge. And they also seem to keep adding more meaningful features, not just refactoring to keep some federation thing working.
Re:Ask HN: Alternatives to GitHub by Grombobulous on Tuesday August 18, 2026 @09:04AM (#49345049)
Interesting, thanks for the perspective. I’ve heard about both in various ways. Obviously some people like one over the other.
Re:Ask HN: Alternatives to GitHub by Melatonic on Tuesday August 18, 2026 @02:22AM (#49342017)
Not bad resource wise at all for something serving 50 to 100 people. Don't forget a second machine for HA or at minimum DR !