<- Back
Comments (228)
- rhdunnIt 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? -- Gitolite can be used to help with SSH/auth/repository creation, and CGit or GitWeb for the frontend.5. Do you need something like GitHub Actions? -- GitLab, Forgejo, and Gitea offer CI, or use external CI infrastructure.6. Do you need issue tracking and management? -- GitLab, Forgejo, and Gitea provide these. There are alternatives from Jira to Kanban (including Trello) to Markdown (Obsidian and others) and more.
- plqbfbvTo 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.
- icyhttps://tangled.org! Founder/CEO here. We're a new forge building things from the ground up, and are fully federated -- you can host your git repos on your own infra, along with the CI runners. We've also got a pretty neat set of features (if I may say so myself): stacked PRs, Nix-based CI (if you want it), and a fully open protocol (https://atproto.com) to for you and your agents.Happy to answer any questions.
- polycaster
- mariocesarI answered this in another thread, if you're already running a large GitHub organization, GitLab is the closest alternative in terms of featuresA big plus is that it also has an open-source Community Edition that you can self-host
- versecafehttps://git.cafe if you want a team focused entirely on building a better forge experience rather than a github clone and don't want to deal with hosting yourself (and yes jj support is built in)
- axegon_I migrated everything to codeberg several months ago (and created an annual donation schedule). I was never a big fan of github but what ultimately pushed me to ditch it was the way github was shoving copilot/chatgpt in my face without me ever asking. Codeberg has a clear stance on that and it's a stance I can totally get behind.In addition I spun up forgejo at a server at home for very critical stuff and it's awesome.
- quaintdev
- 1970-01-01I 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 want to go down the path of learning another tool.
- ryuuseijinForgejo is great to self host. I have an easy to use template for setting it up on fly.io with backups here: https://forgejo-fly.fly.dev/forgejo-admin/forgejo-fly
- ukd1I've used gitlab and gitea; gitea is faster, and easier to manage and does everything I actually need though, is less feature complete.
- melezhikDSCI - http://deadsimpleci.sparrowhub.io- lightweight ( single binary written on golang ) - ci runner embedded ( podman / docker ) - pipelines are written on general programming languages - no YAML craziness - Perl/Python/Bash/Raku/Powershell/Php/Golang support - code editor
- jonstaabIf you want to try something a little bit more off the beaten path, https://gitworkshop.dev/ is a code forge built on nostr
- gritzkoI strongly disagree with the assumption that GitHub's alternative is another centralized forge. Git itself is perfectly decentralized, as was the original Linux kernel development process. How people managed to put all their eggs in one intermittently available service is beyond me. Moving the eggs into another bucket is not a solution (like Microsoft is short of servers). The SPoF is the problem. There are plumbing, porcelain and "github" layers. The "github" part has to be decentralized as well. Then, using a particular forge will be a choice of convenience, not necessity. https://replicated.live/blog/crdt
- tmvntyMaybe the big cloud’s git solutions? Not to say the are good alternatives, but for teams already on the clouds, they could be a easier migration with somewhat feature complete, uptime, security promises that execs are looking for.At work, we have repos on GitHub and Azure DevOps. Today, GitHub went down, but our repos (including PRs, CIs) worked as normal on Azure DevOps
- ashton314Forgejo is splendid. Codeberg is a hosted instance; depending on what you’re developing it may or may not be a good fit for you. But the Forgejo stack itself is decently light-weight to self-host, very fast to use, and is easy to navigate.
- tomasreimersCursor just launched Origin, a Github alternative:https://news.ycombinator.com/item?id=49334209
- n4pw01fSelf hosted GitLab has been good to me forever and has scaled and has a controllable attack surface as long as you keep on top of itNewer app is moving to Google Cloud Secure Source Manager (because we are on Google Cloud and using backbone auth so it made more sense and less involved to manage)
- VCFundedGenYerI moved to Codeberg months ago in response to GitHub's unreliability, poor moderation and random/illegitimate takedowns, and overuse of AI.Have never regretted the switch + I love the no AI policy.
- cautiouscatI use Forgejo + Gitea for my home forge, then Tangled for anything I want to share with my own runner.I self host Lore for my gamedev projects.
- lluisantoniNot 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.
- enriqutomy favourites are sourcehut (that has excellent ci, and does not try to be a github clone) and codeberg (with slightly more straightforward migration path from github)[0] sr.ht[1] codeberg.org
- kamikazechaserI have been hosting gitea for our small org (docker + sqlite) for close to 5 years now. ~50+ repos, some large. All upgrades, including major changes, have been as easy as just changing the tag and reloading the container.
- grommzHas anyone tried Tencent CNB? It offers generous free quotas.https://cnb.build
- yogsotothI personally host a forgejo instance on a private VPS ; so far almost no maintenance except protecting it from ai-crawlers[#1]. If you don't want the hassle, codeberg.org is a public instance of forgejo.[#1]: https://her.esy.fun/posts/0031-how-i-protect-my-forgejo-inst...I configure my local repositories to push on both Github and my forgejo instance. I am not using the CI much for my private projects (local tests are enough in my case).
- artooroI'm mostly using GitLab right now, both self-hosted and their hosted platform. But am curious about Cursor Origin and certainly plan to try that out when it's available.
- jm4I self host Forgejo on a cheap VPS with hourly borg backups to rsync.net. It's a great system and seems comparable to github, although I'm not a heavy user of actions on either platform. I do use the container registry though. It was a smooth transition and easy to install. I used the docker installation method. Forgejo is great if you don't mind hosting yourself.
- madebywelchI moved to gitea + ec2 spot for actions w/ mirroring to GH for the time being.
- hum3hum3Like others I migrated from github to codeberg. But since lots of my projects are coauthored with Claude I moved to self hosting Forgejo on a small Hetzner instance which also does some static hosting. So far working well. I think some cross platforms stars and search would be good.
- matheusmoreiraGitHub Sponsors. It's a nice way to for free and open source developers to earn some money.Which GitHub alternatives have anything like it?
- herpdyderpI'm working on self hosting Gitea right now. Hopefully it goes well!
- BaudouinVHsome european alternatives : https://european-alternatives.eu/alternative-to/github
- fosterfriends
- epiccolemanI've been a Gitlab fan for a long time[0]. I typically default to GitHub for my repo slop[1], but if I'm doing something serious I put it in Gitlab. I like their CI setup better than GitHub and there's also self-host options if any of those "serious" projects ever needs that.Also back in the day, you needed a paid account to make private repos on GitHub, but Gitlab made them free.Anyway I haven't heard anyone complaining about Gitlab going down constantly, maybe just a function of not being the default slop-forge in the AI era, but still, they've been a long time friend to my constant hackery.Also, Microsoft sucks.[0]: over the years the UI has gotten a good bit more cluttered and annoying, so there's probably slicker stuff out there. But it's fine.[1]: some of this is definitely vibe-coded LLM-vomit but I mean a more general type of slop in this case - random throwaway code, half baked ideas, etc.
- rambojohnsonhow has nobody mentioned https://codeberg.org ?it gives you the obvious gitHub alternative: open-source, community-owned, privacy-respecting, non-corporate, and not built around turning your development workflow into a Microsoft-owned platform.
- ivan_gammelI moved recently to Gitoro with private projects, but do not have any meaningful opinion about it yet. It works for me, it’s fast, nothing to complain about. Just mentioning it here as EU-hosted alternative.https://gitoro.com/
- dawn3727You might want to consider checking out GitLab and Gitee.
- thangalinhttps://repo.autonoma.ca/treetrekI self-host using my own read-only, FOSS, pure PHP Git repository reader for personal projects.
- bfrogradicle.xyz to avoid centralization again
- r0b05Forgejo/Gitea is lightweight and easy to setup.
- dxbhackdon’t switch reactively, but use the outages as a trigger to evaluate alternatives and make sure a GitHub outage doesn’t stop critical work.
- sssilverIf only there was a convention for storing PRs and issues and wiki inside the repository itself, similar to how Fossil[1] does it.Then all the GitHubs and Gitlabs of this world would be limited to just providing UI and would be unable to hold our data hostage by design.[1] https://fossil-scm.org/home/doc/trunk/www/index.wiki
- HeadOfProbingWhat are people using as alternatives for GitHub Actions specifically these days?
- lnenadI'm running gitea successfully with very little resources.
- andrewpolidorifor local Canadian based workflows that want sovereignty, I recommend https://about.worktree.ca
- BaudouinVHIronically hosted on Github Gogs is a self-hosted forge : https://github.com/gogs/gogs
- ktm5jMy org self hosts the community version of gitlab and we are perfectly happy with it. Manage your own infrastructure, put the work into maintaining it and you'll have much fewer headaches.
- VaibhavKalraI guess we need a simpler alterntive to github
- beoutdoorsMy org uses a self-hosted instance of RhodeCode Enterprise. It's not as feature rich as GitHub, but it's worked well for us.
- zdgeierI’m building a non-git alternativehttps://oak.spaceWould love for anyone to check it out!
- CodeAndCuffsIf an org is heavily invested in GitHub Actions and GitHub App integrations, is self-hosting GitHub enterprise the only practical option?
- anonundefined
- wejickWhat part of github that's so sticky?For me it's action and PR history.
- ChrisArchitectRecently:GitHub has alternatives, but no replacementhttps://news.ycombinator.com/item?id=49135365Why developers are ditching GitHub for Codeberg and self-hosting alternativeshttps://news.ycombinator.com/item?id=48842611
- AndrewKemendoI’ve been happy self hosting giteahttps://about.gitea.com/
- arsenkkcursor are launching a new one soon - https://cursor.com/origin
- vehemenzMy org's GitHub Enterprise never goes down. The feature set is almost the same, though it lags a few months behind. At least you don't have to learn anything new.
- bigstrat2003Whatever you do, you should self-host it. Then you aren't going to be at the mercy of some third party when they start to get hammered by vibe coders doing an insane amount of traffic. Forgejo is a great option if you want something git-based. I'm personally very partial to Fossil, it works well and is dead easy to set up.
- zuzululuI want to know what the best guide is for running your code repo at homelab type of setup? proxmox? what hardware to buy?i dont wanna get too crazy i just dont trust github with my code anymore
- fortran77I loved the simplicity of Amazon CodeCommit. Unfortunately, Amazon decided to deprecate it, no new provisionion but existing accounts could remain. I'd love it if someone else offered a similar product.
- PxtlA big thing with Github its the unified functionality across most of the OSS world - that we can search across all projects, leverage pipeline actions from other projects, and easily have a single dashboard for our own contributions and interests across all projects.I'd hate to see a move to forge balkanization lose this functionality. But this would not be heavyweight data to federate. So are there any forges with a good story for federation?
- sneakI self host Gitea and have been supremely happy with it.
- AtlasBarfedI'd like a self-hosted primary option as the source code repository, but I'd like to mirror the code in one of the usual external options, anyone done anything like that?
- emeraldlinexGitHub is like World of Warcraft, in that you can’t kill it with another GitHub.
- timetraveller26For CI/CD woodpecker has been working for us really well https://woodpecker-ci.org/
- slackfanWe're moving over to self-hosted forgejo. Interface is roughly similar, featureset is roughly similar enough.
- anticensorIf you accept a non-Git VCS, Pijul Nest.
- bdloweryuse codeberg if you're ok with never using ai in any of your projects. Any AI use and your repo is banned. - https://blog.codeberg.org/protecting-our-floss-commons-from-...
- rvzIt is time to switch to self-hostable alternatives.It made sense 6 years ago as I said before [0], today it makes even more sense to self host with GitLab, Gitea or Forgejo....Or we can repeat the same issues again with Cursor Origin [1].[0] https://news.ycombinator.com/item?id=22868406[1] https://cursor.com/origin
- Healer_0[flagged]
- 1saadcodes[dead]
- mdkaifansari04[dead]
- anonundefined
- AnonFBC[dead]
- malindhamsara[dead]
- beanjuiceIIi use it quite often and it has not really been 'consistently down'