Live data from Hacker News

Ask HN: Alternatives to GitHub

news.ycombinator.com

201–210 of 468 posts

Re: Ask HN: Alternatives to GitHub

#201
post #196

Earlier quoted context omitted.

[flagged]

Literally the first paragraph: > Forgejo is self-hostable free software for software development, built on top of Git. Codeberg is powered by Forgejo, which is in turn a hard-fork of Gitea. Compared to Codeberg, Forgejo is not one service, but free software to help you build your own. Everyone can install their own Forgejo instance to host their own projects. There are also public Forgejo instances as well as Codeber…

[flagged]

Re: Ask HN: Alternatives to GitHub

#202

Not sure if someone mentioned it already but I also used bitbucket in the past and found it very easy to use with a similar offering as github.

I really liked bitbucket, it's my favorite git management system I've used for real production work and it allows for self hosting. Self hosting is also way faster than gitlab from what I remember

Bitbucket was the perfect alternative. I used it back in the day when they were the only ones who offered free private repos. Ahead of their time.

GH beat them on UI/UX and the PR workflow I think. Really nothing more than having a better ~$120k Product Designer working there. Kinda funny what actually makes people stick with 1 choice over another. Very often it’s just having better UI/UX, or offering something useful for free.

Re: Ask HN: Alternatives to GitHub

#203
post #52

Earlier quoted context omitted.

You can use any CI/CD you want. The only reason GH is popular is that it's free for public repos. But Forgejo does have a GH like CI/CD. If you really care about good CI/CD then you should try some of the alternatives out and decide what works best for your needs.

What can you recommend?

This one is really pleasant: https://woodpecker-ci.org/

Re: Ask HN: Alternatives to GitHub

#204
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…

> 4. Do you just want to host repositories? an ssh connection and git --bare init on your ssh accessible server works just fine

Quick intro for this method: https://www.youtube.com/watch?v=iuIdBfjL62s

Re: Ask HN: Alternatives to GitHub

#205

Earlier quoted context omitted.

You can use any CI/CD you want. The only reason GH is popular is that it's free for public repos. But Forgejo does have a GH like CI/CD. If you really care about good CI/CD then you should try some of the alternatives out and decide what works best for your needs.

> The only reason GH is popular is that it's free for public repos. It's also free for private repos, and I have both. Codeberg doesn't like private repos, so unfortunately I cannot just move everything to Codeberg. I'll probably set up a Forgejo VPS somewhere.

For a forgejo host, check codefloe.com if what you need is a place to host personal projects or smaller teams. It’s been rock solid and it is now the default choice for anything outside of work I’ll do.

Re: Ask HN: Alternatives to GitHub

#206

If an org is heavily invested in GitHub Actions and GitHub App integrations, is self-hosting GitHub enterprise the only practical option?

no; gitea and foregjo both support actions-style CI/CD and both serve mostly GH-compatible APIs and have GH-style apps. it's not 100% compatible (forgejo is a little more compatible than gitea [^1]), but many of your workflows might "just work" without even renaming the .github folder. ^1: in my recent experience, for my particular use cases

mind trying https://github.com/preloopdev/preloop? We follow the official runner protocol 100% so we should hopefully have more workflow-compat.we also run in cross-platform microvms, not docker containers.

Re: Ask HN: Alternatives to GitHub

#207
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…

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

#209
post #163
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…

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.

Re: Ask HN: Alternatives to GitHub

#210
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…

> 4. Do you just want to host repositories? an ssh connection and git --bare init on your ssh accessible server works just fine

It can be as brief as:

ssh server git --bare init myrepo.git

git clone server:myrepo.git

Post reply on HN