301 pointsby dhruv30064 hours ago72 comments
  • rhdunnan hour ago
    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? -- 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.

    • mejutoco14 minutes ago
      > 4. Do you just want to host repositories?

      an ssh connection and

          git --bare init
      
      on your ssh accessible server works just fine
      • rhdunn8 minutes ago
        That's what gitolite does with some helper scripts for creating/setting up the repositories, adding metadata to the configs, etc. That way your `git` user can be set to reject ssh login attempts. The projects are managed by pushing a config to a gitolite admin repository.
    • Bnjoroge24 minutes ago
      Hopefully a good spot to plug my own project, preloop, which is a drop-in replacement of Github actions(both the runners and control plane) that runs locally or self-hosted in isoalted microvms, and supports debug-on-failure. You can also push to the server, run CI and then optionally create a draft PR. Not quite production-ready yet(for the self-hosted part), but the local part works well. We implement the official runner protocol 100% unlike act/gitea/forgejo, so your workflows are more likely to work out of the box with preloop(forgejo has the closest compatibility with Github Actions though so it's a good off-Github option) and we use microvms so no DinD issues. I'm working on getting the official runner vm image up to reduce any environment incompatibilities. Feel free to try it out: https://github.com/preloopdev/preloop
    • ljm25 minutes ago
      I'm quite partial to SourceHut as well but tbh I don't care about contributors and I like it because it is deliberately low-tech.

      Maybe the CI could be a bit better (secrets management will sting you if you don't read the docs first), but that is also pretty no-nonsense and gets the job done.

      If you like no-frills and an expectation that you know what you're doing, it's pretty sweet.

      Would probably scare off most collaborators though but that, IMO, is part of the appeal. If you want to contribute then it's more likely you're invested and not driving by.

      Also I like that it has a concept of projects so you can group repos together (which on GH would normally require creating an organisation account). And a repo can be public but unlisted, so it's open but not drawing attention.

    • als042 minutes ago
      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.

      • colesantiago24 minutes ago
        You don't really need GitHub's 'community'

        It is mostly all AI agents, bots and spam anyway, not to mention most projects are now vibecoded slop on there.

        You're better off going to a different forge or hosting one yourself.

        Codeberg has a no LLMs policy which is very attractive for many.

    • 0xc133an hour ago
      *Forgejo
      • rhdunn40 minutes ago
        Indeed. I've edited my post to fix the typo.
    • tonymetan hour ago
      and you can stream your commits into any of these to improve deployment and commit availability when github is down.
    • osxmanan hour ago
      Forgejo == Codeberg
      • rsyring38 minutes ago
        Not exactly:

        > 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 Codeberg you can use, but make sure you find a site that is actively maintained and updated, and that you trust the provider.

        https://docs.codeberg.org/getting-started/what-is-codeberg/#...

      • tonymetan hour ago
        isn't forgejo the software and codeberg is hosted forgejo?
        • Cupprum37 minutes ago
          • tonymet15 minutes ago
            TLDR
            • zahrc3 minutes ago
              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 Codeberg you can use, but make sure you find a site that is actively maintained and updated, and that you trust the provider.

              • tonymeta minute ago
                So…what I said.
  • plqbfbv3 hours ago
    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.

    • KronisLV5 minutes ago
      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.
    • inanothertime3 hours ago
      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/

      • zer0x4d7 minutes ago
        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.
      • cortesoftan hour ago
        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.

    • cortesoftan hour ago
      > 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.

    • wongarsu2 hours ago
      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
      • inanothertime2 hours ago
        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)

    • codexb3 hours ago
      Yeah, it's mind blowing to me that GH still doesn't have a branch viewer in each repo.
    • formerly_proven34 minutes ago
      > 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 "*".

    • melezhik2 hours ago
      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 ...
      • melezhik38 minutes ago
        Whoever downvoted this ^^ my comment I need your reasoning … I don’t know why people hate simplicity ) ( or love complexity )
  • icy2 hours ago
    https://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.

    • opem3 minutes ago
      Are you guys working on jj support?
    • theamk37 minutes ago
      The whole "social coding" angle is highly off-putting. List of "X followed Y" on the front page, and the large "social coding" reminds of facebook, social manipulation, developer burnout and all the negative things about social networks. It also brings up the questions about project's long-term direction - is this going to focus on the code part or the social part?

      Which is a pity - as I think most projects just need a git host + web UI + easy pull requests + a way to clone other's repos, and tangled seems to do this pretty well.

      • Bjorkbat7 minutes ago
        Arguably the "social coding" angle is the reason why Tangled is the only actual alternative to GitHub. Otherwise there's actually plenty of other alternatives to GitHub, but none of them have GitHub's punchcard, which I'm ashamed to admit is the primary draw for me.
      • satvikpendem6 minutes ago
        You're not the target market, there are a number of other forges as seen in this thread as alternatives.
    • whycombinetoran hour ago
      What's the monetization pathway here? No private repositories (because everything is on ATProto) so near zero commercial use potential - CI is free, everything is free, no pricing page... Am I the product if I use this service?
    • eximiusan hour ago
      I think the main thing I'm waiting for in the atproto space, for _most_ applications, is private data solutions. And the recent RFC on private data spaces (I forget the terminology) is a start, but has a ways to go.
      • ch71r2236 minutes ago
        Yeah I would like to try Tangled if I can set it up in a completely private configuration
    • paulhebertan hour ago
      This looks pretty cool. I like the idea of a federated option

      What’s the monetization plan? My biggest concern would be using this and it losing support in a few years

    • silverlinex2 hours ago
      [flagged]
  • tomasreimers2 minutes ago
    Cursor just launched Origin, a Github alternative:

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

  • mdkaifansari047 minutes ago
    I’ve been working on a solution to this problem called Forkmesh. Rather than building another decentralized GitHub, repositories operate on mirror notes, which can then be Federated and shared throughout the Fediverse. so for instance, I can have my repository mirror on several mirror nodes and if one of them goes down, someone can reach the other mirror directly. It’s not a typical p2p mesh, but more of a Federated mesh network so it also keeps your IP address private. It’s still very early on, about two months old, but we’re making steady progress and we have a cool agentic leaderboard to see which of your agents are performing the best.

    Give it a try at Forkmesh.com

  • 1970-01-0111 minutes ago
    I 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.
    • 64d032fe7 minutes ago
      What is there to learn? It uses Git. What you think it feels like, it is not.
  • polycaster4 hours ago
    • bobkb3 hours ago
      Is their CI and CD workflow robust like gitlab/github ?
      • cobertos3 hours ago
        It's based on act[0] so it's quite like GitHub actions but not completely [1].

        I found in the current version of Forgejo the most secure way to set it up was just to put the runner on a different host. There's a Docker in Docker setup [2] that was challenging to get working correctly but still didn't quite feel secure...

        After setting it all up, I'm convinced GitHub actions as a concept is flawed. I wish the community would make a simpler git-defined CI/CD that didn't have the crazy surface area that actions does... Named shell scripts that can call out to other stuff in the runner Docker image and report it to the UI would be a nice start.

        [0]: https://github.com/nektos/act

        [1]: https://forgejo.org/docs/v15.0/user/actions/github-actions/#...

        [2]: https://forgejo.org/docs/v15.0/admin/actions/docker-access/#...

        • dboreham3 hours ago
          Agreed. GitHub Actions feels like someone's science project created while on a mushroom trip. Really you just want a thing that executes a shell script in a runner.
      • sarah-robiinan hour ago
        Works well and is pretty straightforward.

        Just set up a CI pipeline for PHP projects with a forgejo runner last week. Tried many approaches, ended up with a simple debian VM. Runner works well with docker images inside the VM, quite a flexible setup. Found this easier and better than my last tries a few years ago with gitlab, which always felt quite bloated.

        I also published a blog post today about this whole journey: https://sarah-robin.com/blog/we-just-wanted-to-deploy-a-webs...

      • vinnymac3 hours ago
        If you know GitHub actions then you’ll immediately understand Forgejo actions. It was designed that way intentionally. There are some differences, but at least for me not enough to warrant any pitchforks.

        If you have advanced use cases you might be more frustrated, but I’m not aware of any off the top of my head. I think my biggest complaint is that they haven’t exposed action logs over the API, so I can’t build tooling around them at the CLI level, feed them to an LLM, or more quickly diagnose problems that arise without using the website.

        • mfenniak3 hours ago
          A basic API to access Actions logs was added in Forgejo v16. `/api/v1/repos/{owner}/{repo}/actions/jobs/{job_id}/logs`
          • vinnymac3 hours ago
            Nice! I was hoping they would add this in v16. Unfortunately I am still on v15 of all my instances of Forgejo
      • Arrowmaster3 hours ago
        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.

        • Valodim3 hours ago
          What can you recommend?
          • Bnjoroge21 minutes ago
            Hopefully a good spot to plug my own project, preloop, which is a drop-in replacement of Github actions(both the runners and control plane) that runs locally or self-hosted in isoalted microvms, and supports debug-on-failure. You can also push to the server, run CI and then optionally create a draft PR. Not quite production-ready yet(for the self-hosted part), but the local part works well. We implement the official runner protocol 100% unlike act/gitea/forgejo, so your workflows are more likely to work out of the box with preloop(forgejo has the closest compatibility with Github Actions though so it's a good off-Github option) and we use microvms so no DinD issues. I'm working on getting the official runner vm image up to reduce any environment incompatibilities. Feel free to try it out: https://github.com/preloopdev/preloop
          • Arrowmaster3 hours ago
            I don't have any specific recommendations other than do as little in your CI/CD as possible, instead do as much as possible in your build system or scripts that get called by CI/CD. This way you can migrate with less work or run locally when you want.
        • dreamcompiler3 hours ago
          > 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.

        • esafak3 hours ago
          More than that, it is integrated with Github.
      • td-andrew3 hours ago
        Hooks directly into drone.io using SSO.

        Self host both of them on my internal network. Technically old version of gitea which is forgejo pre-fork

      • 3 hours ago
        undefined
      • bogwog3 hours ago
        Extremely yes
    • lejeanvaljean3 hours ago
      "Forget Joe", not the best name for a git repo host
  • mariocesar4 hours ago
    I answered this in another thread, if you're already running a large GitHub organization, GitLab is the closest alternative in terms of features

    A big plus is that it also has an open-source Community Edition that you can self-host

  • axegon_3 hours ago
    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.

    • babelfishan hour ago
      Note: If you use any form of AI-assisted coding tools, your project breaks Codeberg TOS
      • 19 minutes ago
        undefined
    • bogwog3 hours ago
      Codeberg for open source and Forgejo for private (and slop, if you're into that kind of thing) is what winners do
      • axegon_3 hours ago
        I'm not into that kind of stuff honestly: in my case Forgejo is for stuff I don't feel comfortable with leaving the boundaries of my apartment.
    • Anon10963 hours ago
      Note: if your reason for switching is purely uptime, you will be sorely disappointed with codeberg

      Their own site reports the 2 week uptime at 1 nine https://status.codeberg.org/status/codeberg and I suspect if you use the (really terrible) across-all-product-offerings uptime methodology that people love to post for github it would be a 0 nines overall service.

      • axegon_2 hours ago
        The reason for switching was shoving all the slop down my throat, even when just browsing. There are a couple of things I have published and a handful of others I plan on open sourcing some day so for the purpose, codeberg does a brilliant job. For work - meh i'm in a corporate environment running internal repositories on company servers so that's less of an issue still.
  • quaintdev4 hours ago
    • izolate2 hours ago
      First I've heard of this, but they seem to be a young, smart and energetic team on a great trajectory. The atproto choice is interesting, fits their social-minded goal.
    • ch71r222 hours ago
      How easy is it to set up and run this for private repos?

      It looks like it has so many cool features -- stacked PRs, jujutsu support, CI in Nix VMs. But I've never tried it because it sounds like (at least by default) it's some sort of decentralized, peer-to-peer public thing

      • radicalriddler2 hours ago
        Yeah, only open for public repositories until Atproto finishes their permissioned data spec.
  • ryuuseijin3 hours ago
    Forgejo 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
  • kamikazechaser17 minutes ago
    I 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.
  • ukd13 hours ago
    I've used gitlab and gitea; gitea is faster, and easier to manage and does everything I actually need though, is less feature complete.
    • techknowlogick3 hours ago
      I'm one of the project leads of Gitea. I'd be interested in knowing which features you are missing from Gitea compared to Gitlab? We are doing some backlog grooming right now, and input is very appreciated:)
      • henryfjordan2 hours ago
        Not who you asked, but I was going to say Actions or CI/CD from when I tried out Gitea a few years ago (back when running a Jenkins instance was more normal) but looks like Gitea supports that kind of workflow now: https://about.gitea.com/products/runner/
      • rhdunnan hour ago
        Two of the big issues I had were around the user/repository forced structure. That works to some extent when you have multiple users with a small number of repositories. But for my personal projects I wanted more control over the structure and grouping.

        I worked around it to some extent by having an organisation per category, but that doesn't work at scale. For example, you can't group Text-to-Speech projects around the different libraries (coqui-ai, Qwen3, parler, etc.), or language tooling installation scripts by programming language. -- Those have a group/subgroup/repository style structure.

        The other related feature is having organisation or group-level issues and corresponding tracking features.

        Gitolite doesn't impose/enforce a structure on the user. GitWeb/CGit have a free-form category (e.g. "lang/python") that the project can be assigned to. That works, but I'd like it to support multiple tags/labels for that.

      • dima55an hour ago
        I want org-mode markup support for the wikis and readmes. Github supports this, and gitlab sorta does. You should hook up pandoc to it, and support everything it can handle.
  • ashton3144 hours ago
    Forgejo 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.
    • notpushkin3 hours ago
      > depending on what you’re developing it may or may not be a good fit for you

      I think if your project is free / open source (edit: and you don’t use LLMs/AI), Codeberg is the a good starting point at least. You can move on to a self-hosted instance if you feel you’ve outgrown it, but even for larger projects I think you can get away with self-hosting just the CI runners.

      And don’t forget to donate! https://donate.codeberg.org/ / https://join.codeberg.org/

      • bdlowery3 hours ago
        if you use ai to program at all you can't use codeberg.
        • cxr2 hours ago
          You've made the same exaggerated claim in two comments. Not only are you not banned from Codeberg if you have used LLMs to help you write code "in any of your projects", but you're not even prohibited from using LLMs to help you develop projects that you host on Codeberg.

          What you can't do is "share projects that mostly consist of code written by 'generative AI'-tools". <https://codeberg.org/Codeberg/org/commit/71149c7fc95ccfeae36...>

          • wild_eggan hour ago
            I feel like you just directly contradicted yourself so there must be some nuance I am missing. Or is the key word "mostly"? Like I can use LLMs to help the work but still have to type most of the code myself?

            I have not written more than maybe 10 lines of code in the last year so it seems I am prohibited from hosting on codeberg?

            Or is the key word "share" and that's somehow different from "host"?

          • rhdunnan hour ago
            See also the codeberg blog post (https://blog.codeberg.org/protecting-our-floss-commons-from-...) which has more informal guidelines. That includes projects that are:

            1. created by LLM agents -- any vibe-coded projects;

            2. mainly written and maintained by LLMs -- this would cover the recent changes to the rsync project;

            3. tied to the LLM ecosystem -- this covers pytorch, llama.cpp, cursor, SillyTavern, AI skills repositories, and a whole host of other projects.

        • notpushkin3 hours ago
          Good point, I forgot they’ve recently banned it. Updated my comment.
    • stock_toasteran hour ago
      Codefloe[1] is another forjego (with some custom patches, I believe) hosted instance.

      [1]: https://codefloe.com

  • melezhik4 hours ago
    DSCI - 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

  • n4pw01f3 hours ago
    Self 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 it

    Newer 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)

  • grommz42 minutes ago
    Has anyone tried Tencent CNB? It offers generous free quotas.

    https://cnb.build

    • nusl40 minutes ago
      Anything with Tencent on it is a no for me.
  • emeraldlinex2 minutes ago
    GitHub is like World of Warcraft, in that you can’t kill it with another GitHub.
  • gritzko3 hours ago
    I 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
    • anon70002 hours ago
      Oh, it’s really simple why this happened:

      1. People do not like email-based patch processes.

      2. GitHub made everything dead simple, and free. Lots of Open Source projects have flourished because GitHub is both easy to use and makes collaboration across repository painless.

      3. Very few people actually care about decentralization. As long as you have a full copy of your repo on your own machines as well as GH, it’s hard to argue you’re gaining anything with decentralization.

      4. Most people also don’t want to self host a git server.

    • rsyring2 hours ago
      > How people managed to put all their eggs in one intermittently available service is beyond me.

      It's beyond me how people on HN can be ignorant to why GitHub gained so much market share. It's because for most dev teams, the things they add to the easily decentralized git core is *very valuable.* Arguing it's not valuable or ignoring that value doesn't help anyone.

      If decentralized is really going to win, then you have to have the features and DevX to match the basics GitHub provides. Because that's what people need/want. And not just the candy-ass-not-as-good-as-the-kernel-devs devs. Lots of very talented people and very well engineered projects use GitHub because it's better for what they need. Even with all the outages, people are still there. If it was so easy to move away, people would. The fact that they aren't says something important. Please consider not ignoring it.

  • hum3hum3an hour ago
    Like 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.
  • cautiouscat3 hours ago
    I 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.

  • enriquto4 hours ago
    my 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

    • petcat3 hours ago
      Does sourcehut still require patches via email instead of "pull requests"? That was the deal breaker for me last time I looked at it.
      • enriquto3 hours ago
        > Does sourcehut still require patches via email

        I'd guess the technically correct answer to this question is "yes". But sourcehut has very good mailing list support, that is essentially equivalent to github pull requests.

        Still, I find the wording of your question a bit prejudiced... as if I asked "does github still require pull requests via a proprietary interface instead of just sending the patches?"

        • Aeolun2 minutes ago
          It is prejudiced. If you like sending patches over email more power to you, but there’s a reason 99% of the world’s devs does not follow that workflow.
        • 1f60c31 minutes ago
          The specific wording sounded a bit judgy to me as well, but I think it's a totally reasonable question. They're just asking about the capability of a product.
  • artooro3 hours ago
    I'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.
  • lluisantoni2 hours ago
    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.
    • guywithahatan hour ago
      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
  • madebywelch3 hours ago
    I moved to gitea + ec2 spot for actions w/ mirroring to GH for the time being.
  • yogsototh4 hours ago
    I 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).

  • jm43 hours ago
    I 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.
    • melezhik2 hours ago
      You may consider dsci as its ci is baked in and it uses general programming languages directly as the first class citizens
  • matheusmoreiraan hour ago
    GitHub Sponsors. It's a nice way to for free and open source developers to earn some money.

    Which GitHub alternatives have anything like it?

  • r0b052 hours ago
    Forgejo/Gitea is lightweight and easy to setup.
  • epiccoleman3 hours ago
    I'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.

    • Helmut100013 hours ago
      Yes! And for those complaining that gitlab CE selfhosted is resource hungry: It can be tuned to only use 2 GB memory in total and run perfectly fine for a single developer or limited concurrency. Gitlab CI is awesome.
  • thangalin2 hours ago
    https://repo.autonoma.ca/treetrek

    I self-host using my own read-only, FOSS, pure PHP Git repository reader for personal projects.

  • ivan_gammel3 hours ago
    I 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/

  • VaibhavKalraan hour ago
    I guess we need a simpler alterntive to github
  • dawn37274 hours ago
    You might want to consider checking out GitLab and Gitee.
    • teekert4 hours ago
      You mean Gitea [0], a community-driven fork is Forgejo. There was some drama, have to admit is still don't really understand it (ask an llm I'd say). Codeberg [2] uses Forgejo and offers it as a hosted service.

      [0] https://about.gitea.com/

      [1] https://forgejo.org/

      [2] https://codeberg.org/

      • Havoc4 hours ago
        Other way round. Forgejo is a fork of gitea
        • teekert4 hours ago
          That's what I said, but indeed in a very bad way :)
          • esseph14 minutes ago
            No, it's not what you said.

            Gitea is a fork of Gogs.

            Forgejo is a fork of Gitea.

            Codeberg folks forked Gitea to create forgejo.

      • arccy4 hours ago
        Technically gitee is also a git hosting provider: https://gitee.com/ (scroll to bottom right corner for language switcher).
      • techknowlogick3 hours ago
        FWIW Gitea is still community driven as before, there are yearly elections for the community maintainers for TOC leadership.

        disclaimer: I'm one of the project leads of Gitea

    • alightsoulan hour ago
      Gitee is Chinese. If you're in the US, it's considered a risk because it's Chinese. But people outside the US will not care.
  • dxbhack2 hours ago
    don’t switch reactively, but use the outages as a trigger to evaluate alternatives and make sure a GitHub outage doesn’t stop critical work.
  • andrewpolidorian hour ago
    for local Canadian based workflows that want sovereignty, I recommend https://about.worktree.ca
    • CIARobotFishan hour ago
      I'll second Worktree. I'm US based and have been using it for over a year. Very, very happy with their service.
  • herpdyderp3 hours ago
    I'm working on self hosting Gitea right now. Hopefully it goes well!
    • techknowlogick3 hours ago
      Best of luck! I'm one of the project leads of Gitea, and if you run into any issues please feel free to hop into our chat:)
  • sssilver3 hours ago
    If 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

    • rwl2 hours ago
      I started using fossil recently and have been quite pleased with this aspect of it. I miss a few things from the git world (mostly magit and its magical ability to stage individual hunks of a diff) and there are a few rough edges, but I totally agree that having a wiki and issue tracking inside the repository makes so much sense. fossil‘s simplicity is a breath of fresh air for anyone who has to use git from a CLI. Well worth a try for anyone on the fence.
      • zhynn2 hours ago
        I love Fossil, I have been using it for all of my projects for the last couple years. Things that I love include:

            1. batteries included single-file functionality (fossil binary + sqlite file and I have everything!)
            2. Hosting them is super easy, I have a lighttpd server configured to do cgi-bin, and i just pop the project.fossil file onto the server and I have a project.
        
        The biggest friction is managing users across repos. Each repo is its own RBAC, the "zhynn" user in one repo is not the same as the "zhynn" user in another repo. It would be cool to be able to sync users across repos, which should be possible with sql, but I think that it could get weird with repo-specific permissions. Currently I just add my user to each new repo, granting that user setup permissions, and removing the admin before I scp the .fossil file up to the webserver.

        In the end though, I intend to use it for all of my personal projects from here out.

        I have a pipe dream of turning a fossil repo into a portable distributed more-async-friendly slack clone, where the "chat", "wiki" and "forum" functionalities are all used as the back-end for a responsive UI that basically does the same thing that slack does, but lives in a single sqlite file + binary. It could run mostly offline in a kind of scuttlebutt/limited connectivity pattern (when online push/pull messages, get latest chats/files/etc, go back offline. As you go through the content, make your responses locally, then go back online, push/pull again, repeat.)

        I have another pipe dream of making a RedBean APE fossil UI. I think it would be cool to have a single file universal executable that is my project repo.

      • sssilver2 hours ago
        The workflow is paradigmically different, and that may throw many people off.

        There's no rebase, on principle. Branch names are permanent attributes of commits. Even abandoned branches remain visible forever. Code review is post-hoc.

        People who are extremely accustomed to Git workflows may find the paradigm alienating.

        • rwl2 hours ago
          Yep, it’s not for everyone, and their docs are pretty clear about that. OTOH those same docs contain a variety of arguments that git isn’t really designed for everyone either and that fossil might be a better fit for projects that have just one or a handful of developers, which AFAIK is the vast majority of projects on Github. My experience is that it is certainly an adjustment but the docs are good at explaining (and justifying) the differences, and the built-in features are very useful, especially for anyone looking to reduce their dependence on a centralized host that’s become unreliable.
    • paularmstrong2 hours ago
      I've used git-bug[1] for issues and it works pretty well. The web-ui is lagging behind and PR support would be everything you'd need to ditch a central-hosted web instance.

      [1] https://github.com/git-bug/git-bug

      • michaelmurean hour ago
        FWIW, I have a new and much better webui that I need to release. I'm also planning to work on PRs and other stuff around the end of the year.
  • lnenad3 hours ago
    I'm running gitea successfully with very little resources.
    • techknowlogick3 hours ago
      That's great to hear! I'm one of the project leads of Gitea, and if you ever run into any issues please feel free to hop into our chatroom:)
      • lnenad7 minutes ago
        You've built a great piece of software, thank you!
  • HeadOfProbing3 hours ago
    What are people using as alternatives for GitHub Actions specifically these days?
    • Bnjoroge20 minutes ago
      Hopefully a good spot to plug my own project, preloop, which is a drop-in replacement of Github actions(both the runners and control plane) that runs locally or self-hosted in isoalted microvms, and supports debug-on-failure. You can also push to the server, run CI and then optionally create a draft PR. Not quite production-ready yet(for the self-hosted part), but the local part works well. We implement the official runner protocol 100% unlike act/gitea/forgejo, so your workflows are more likely to work out of the box with preloop(forgejo has the closest compatibility with Github Actions though so it's a good off-Github option) and we use microvms so no DinD issues. I'm working on getting the official runner vm image up to reduce any environment incompatibilities. Feel free to try it out: https://github.com/preloopdev/preloop
    • bdcravens3 hours ago
      Classic CI vendors like Semaphore, Circle, etc are options.
      • maratc3 hours ago
        I feel like something is missing from your list of "classic CI vendors" but can't exactly jput my jfinger on jit.
        • thewisenerdan hour ago
          are we referring to jenkins here perhaps?
  • bfrog3 hours ago
    radicle.xyz to avoid centralization again
    • iamnothere2 hours ago
      Disappointed to see only one mention of this.

      With Radicle you can continue to work locally with all issues etc intact, even if your “main” host is down. You can also sync through other hosts in the network.

  • BaudouinVH3 hours ago
    Ironically hosted on Github Gogs is a self-hosted forge : https://github.com/gogs/gogs
  • ktm5j4 hours ago
    My 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.
  • rambojohnson3 hours ago
    how 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.

    • dreamcompiler3 hours ago
      All of that is good except if you also have a lot of private repos at GH, you cannot move them to Codeberg.
  • zdgeier3 hours ago
    I’m building a non-git alternative

    https://oak.space

    Would love for anyone to check it out!

    • pwython2 hours ago
      Very interesting, I missed your original post[0], will definitely look into it further. What's new since you've posted?

      [0] https://news.ycombinator.com/item?id=48631726

      • zdgeier39 minutes ago
        We've added some things like CI, Windows support, and starting some work on path-based permissioning for monorepos. These are still in the early stages so not documented that great yet and need to be tested a little bit more. Should have more updates in the next couple weeks.
  • beoutdoors3 hours ago
    My org uses a self-hosted instance of RhodeCode Enterprise. It's not as feature rich as GitHub, but it's worked well for us.
  • CodeAndCuffs3 hours ago
    If an org is heavily invested in GitHub Actions and GitHub App integrations, is self-hosting GitHub enterprise the only practical option?
    • Bnjoroge19 minutes ago
      Hopefully a good spot to plug my own project, preloop, which is a drop-in replacement of Github actions(both the runners and control plane) that runs locally or self-hosted in isoalted microvms, and supports debug-on-failure. You can also push to the server, run CI and then optionally create a draft PR. Not quite production-ready yet(for the self-hosted part), but the local part works well. We implement the official runner protocol 100% unlike act/gitea/forgejo, so your workflows are more likely to work out of the box with preloop(forgejo has the closest compatibility with Github Actions though so it's a good off-Github option) and we use microvms so no DinD issues. I'm working on getting the official runner vm image up to reduce any environment incompatibilities. Feel free to try it out: https://github.com/preloopdev/preloop
    • woodrowbarlow3 hours ago
      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

      • techknowlogick2 hours ago
        I'm one of the project leads of Gitea and we've put a ton of work into Gitea Actions, I'd be interested in any compatibility gaps that you've run into.
        • woodrowbarlowan hour ago
          oh hello, thank you for your work on an excellent product! one small difference i ran into last weekend is that foregjo forwards the FORGEJO_TOKEN in the environment to composite actions so that they don't need to have a required "token" input.
    • jdub3 hours ago
      Buildkite has built a GitHub Actions adapter... a good first step out of the GitHub Actions supply chain attack trap.
  • 4 hours ago
    undefined
  • zuzululu44 minutes ago
    I 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

    • melezhik33 minutes ago
      Try dsci / it’s super simple
  • wejick3 hours ago
    What part of github that's so sticky?

    For me it's action and PR history.

  • ChrisArchitect3 hours ago
    Recently:

    GitHub has alternatives, but no replacement

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

    Why developers are ditching GitHub for Codeberg and self-hosting alternatives

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

  • AndrewKemendo4 hours ago
    I’ve been happy self hosting gitea

    https://about.gitea.com/

    • techknowlogick2 hours ago
      Woo! Thanks for the shoutout. I'm one of the project leads of Gitea, and if you ever run into any issues please feel free to hop into our chat:)
      • AndrewKemendo2 hours ago
        Awesome

        It’s my go to now for all my private projects

  • fortran77an hour ago
    I 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.
  • arsenkk4 hours ago
    cursor are launching a new one soon - https://cursor.com/origin
    • PufPufPuf3 hours ago
      We already have a vibe-coded forge, it's called GitHub
      • esafak3 hours ago
        This one is not managed by Microsoft.

        edit: I'll take their engineering culture over MS.

        • arsenkk2 hours ago
          This one is managed by SpaceX now.
  • bigstrat20032 hours ago
    Whatever 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.
  • vehemenz3 hours ago
    My 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.
    • jtokoph3 hours ago
      My previous org’s GHE went down all the time. It couldn’t handle the CI and automation tooling hitting it as often as an org of our size needed it to. So I can totally see cloud not being able to handle the new AI scale
    • herpdyderp3 hours ago
      I'm assuming you mean Enterprise Server (non-cloud), because my GitHub Enterprise Cloud is down right now.
  • Pxtl3 hours ago
    A 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?

    • esseph2 minutes ago
      [delayed]
    • dboreham3 hours ago
      There was some work to address this issue with federation in Gitea, but I haven't kept up with how well that went. Our practical solution was to just mirror our Gitea repos into GitHub. That way they're discoverable, releases can be downloaded, and so on. Not a perfect solution because users get confused as to why they can't open issues, etc.
      • techknowlogick2 hours ago
        I was one of the members who was a part of the initial grant for federation in Gitea, but sadly due to illness and other similar neither I nor my teammate were able to work on the grant (so no funding ended up being released), however the work we did start was completed, and we have continued to work on foundations since. Since spam/moderation/limitations are so significant we are focused on that portion first, since we don't want to open up another vector for it without having at least the minimum of protections in place. We have also been extremely fortunate to have experienced developers who do work on existing federated software share so much of their time, expertise, and experiences with us to help shape our work.
      • Pxtl3 hours ago
        That would be good for following, but I'd worry about contributions. Single-sign-on would help but if you're going to ask the user to create a new username+password to log a bug you're not going to get bugs from anybody except your most hardcore users.

        Also, unified dashboards/notifications are so useful (even though Github's notification UI is a bit mediocre, imho).

  • AtlasBarfed2 hours ago
    I'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?
  • sneak3 hours ago
    I self host Gitea and have been supremely happy with it.
  • timetraveller262 hours ago
    For CI/CD woodpecker has been working for us really well https://woodpecker-ci.org/
  • slackfan3 hours ago
    We're moving over to self-hosted forgejo. Interface is roughly similar, featureset is roughly similar enough.
  • anticensor4 hours ago
    If you accept a non-Git VCS, Pijul Nest.
  • bdlowery3 hours ago
    use 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-...
  • rvz3 hours ago
    It 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_02 hours ago
    [flagged]
  • 1saadcodes2 hours ago
    [dead]
  • an hour ago
    undefined
  • AnonFBC4 hours ago
    [dead]
  • malindhamsara3 hours ago
    [dead]
  • beanjuiceII3 hours ago
    i use it quite often and it has not really been 'consistently down'