Ask HN: Alternatives to GitHub

610 points · 398 comments on HN

Points and comments are a snapshot, not live.

GitHub's recent outages prompt users to consider self-hosted or community-run alternatives.

A user asks whether repeated GitHub outages over the last few months make switching to alternatives worthwhile. The post does not name specific downtime incidents but frames the question around reliability concerns.

What commenters are saying

Commenters overwhelmingly recommend Forgejo and Codeberg (a hosted Forgejo instance) as the leading GitHub alternatives, praising Forgejo's speed, lightweight self-hosting, and GitHub Actions-compatible CI. GitLab's community edition is noted as the closest feature match for large organizations, though several find it bloated. A split emerges over Codeberg's policy banning projects that "mostly consist of" AI-generated code, with some users clarifying it does not ban AI-assisted development. Gitea is also discussed but regarded as a separate fork from Forgejo. Tangled.sh and sourcehut receive niche mentions for decentralized workflows and email-based patches, respectively.