Does it make sense to switch to a Github Alternative ?

41 points by dhruvp


Github has been down consistently over the last few months - does it make sense to switch to alternatives now?

When do you think majority will switch?

klingtnet

It's down in this moment, again. For my personal projects I won't switch to another git forge. Instead, I'll generate static HTML files for the repository tree and serve it from my own domain.

technomancy

The best time to move your open source off Github was 2010; the second-best time is now.

The move doesn't have to be all at once. For the Fennel project, we moved the canonical repository in 2020 but we kept a mirror on github for stragglers for many years. We continued to get some contributions from github users; initially about half, but the proportion declined over the years. The contributions from github users tended to be smaller and more focused on trivialities; people who took the time to make serious patches were almost always willing to learn something new and not use github.

It's a small change, but it sends an important message. Even if you can't ditch github completely; you're announcing that you see it as a temporary thing, and that you aren't there because you want to be there.

mariusor

I think the majority of Github is made of corporate users, which will never move off it because they probably invested too much in the ecosystem (user management, actions, etc).

For small scale projects, the only benefit Github brings is a larger base of potential users, contributors and people to harass you in tickets.

JulianSildenLanglo

That depends, what do you use it for?

Personally I won't be switching yet as I mostly use it as a place to backup my code, so 90% uptime isn't a necessity.

The more of the following are true the more I'd consider switching:

  1. I need 95%+ uptime.
  2. I want to host my code under my own domain.
  3. I want to run a lot of CI/CD.
  4. I am comfortable hosting git and CI myself.
  5. I want to receive code from people who don't want to use github.
  6. I want to receive code over email.
  7. I want to keep my code private from microsoft.

Feel free to add other reasons.

bediger4000

The downtime is an issue, but not as big an issue as Microsoft ownership to me. I'm old and I have a big grudge against Microsoft for crippling computer use for their own miserable purposes for decades.

I decided to start moving off Github when Microsoft bought them, so I made a personal Gitea that's not exposed to the internet, and copied everything from Github to Gitea. As I work on repos, I push them to Codeberg and my Gitea. Sooner or later, I'm going to be prompted by some inexplicable Microsoft-driven atrocity to delete all my Github repos.

patryk

Moving with majority doesn't make sense, because it will eventually cause similar problems as we've got today with GitHub. If you can afford - spin up small VPS and keep your code there, assuming you don't rely on external contributions. I did exactly that, to the degree I don't host web-browsable version of my code (due to influx on crawlers), but I've got public TUI over ssh + instructions how to connect if someone wants to browse