I am looking for recommendations for an open source self-hosted version control system source code hosting service. I found a few, but I can’t decide on which one to pick:

If there’s a better one than the ones I’ve listed here, I’d love to hear about it!

I care primarily about privacy and security, if that makes any difference.

  • MysteriousSophon21@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    24 hours ago

    +1 for Forgejo here. It’s lightweight on resources compared to GitLab but still has all the features you’d need, plus the security/privacy focus aligns with your priorities. I’ve been running it on a small VPS for over a year and it’s been rock soild.

  • thirdBreakfast@lemmy.world
    link
    fedilink
    English
    arrow-up
    41
    ·
    7 days ago

    Forgejo - actively developed open source. It’s what powers Codeberg. Easy to set up and manage with Docker. I moved to it from Gogs and skipped Gitea after reading about the forks.

  • NebulaNymph@programming.dev
    link
    fedilink
    English
    arrow-up
    22
    ·
    7 days ago

    +1 for Forgejo!

    Just set it up with Docker this past week, it was fairly straightforward and has been working well since

  • johntash@eviltoast.org
    link
    fedilink
    English
    arrow-up
    6
    ·
    6 days ago

    I’m currently using forgejo and have no complaints.

    Depending on your requirements, you might also consider just using regular git and ssh on a central server somewhere.

  • fmstrat@lemmy.nowsci.com
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    6 days ago

    You asked for a service, but listed software. The latest FOSS software option is Forgejo, you should use ot instead of others for all the reasons mentioned. However, if you’re looking for a service, Codeberg runs a very popular Forgejo instance as a service.

  • ZeroOne@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    5 days ago

    How about Fossil ??

    Basically it’s an alternative to Git itself, has commands similar to git but with an added bonus of having Github-like features, like:

    • A frickin GUI
    • Bug-tracker
    • Wiki System
    • Ticketting system
    • Forum + Chat
    • Web-Server

    Best part !! It’s just one file & the website I linked is a self-hosted instance

  • shiftymccool@programming.dev
    link
    fedilink
    English
    arrow-up
    5
    ·
    7 days ago

    I use Forgejo mostly for code archiving but anything that requires CI/CD, like personal code projects, i use OneDev. No extra setup for pipeline, batteries included

  • 56!@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    7 days ago

    Those 3 are all fairly similar. Here are some others I can think of:

    • Gitlab: many features, complex, pr workflow.
    • Forgejo / Gogs: simpler, github inspired interface, pr workflow.
    • Radicle: peer to peer, idk much more…
    • Sourcehut: minimal (non-github) interface, very modular, email workflow.
    • Cgit / Gitweb / etc.: just a git interface, no specific workflow.

     

    If you’re not using any of the additional features, cgit should be enough. If you’re planning on collaborating with others, probably Forgejo would be better.

    You can also use individual components of sourcehut, if you want a git web interface with just issue tracking, ci, or wiki, for example.

    • sun@slrpnk.net
      link
      fedilink
      English
      arrow-up
      4
      ·
      7 days ago

      A pro of Sourcehut is that EVERYTHING can be done by email. So, if you use their issue tracker and want other people to be able to submit issues, they can do it without making an account.

      • 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍@midwest.social
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        6 days ago

        Sourcehut also supports Mercurial, so you also have an option to the herd mentality.

        Sourcehut also has zero, or almost zero, JavaScript in the interface, so it doesn’t suck

        Sourcehut is also componentized, so you can mix and match the pieces you want or need:

        • VCS hosting
        • masking list management
        • issue management
        • build server
        • man server

        Sourcehut is by far the best hosted VCS option at the moment. The Mercurial support alone puts it miles ahead of the others, which are all hobbled by tight coupling to git.

  • Kwiuu@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 days ago

    Not what you want probably but Tangled.sh

    tightly-knit
    social coding. tangled is new social-enabled git collaboration platform built on atproto. we envision a place where developers have complete ownership of their code, open source communities can freely self-govern and most importantly, coding can be social and fun again.

  • DragonBard@ttrpg.network
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    7 days ago

    If you are not wed to git, and are willing to try something else, why not give Fossil SCM a try. It’s created and maintained by the creator of SQLite. It’s a single executable that provides everything for modern source code management, including a website, and even has an official docker file that just works.

    Issue tracking, forum support, email, it’s all there, in a single executable that can serve as both the front and back end depending on how you launch it. And it’s a smaller install than git by itself.

  • AbidanYre@lemmy.world
    link
    fedilink
    English
    arrow-up
    29
    ·
    7 days ago

    Gogs is the original. Gitea is a fork because the dev of Gogs wasn’t taking community input (I think that was the reasoning behind it). Forgejo is a fork of gitea because some folks didn’t like gitea forming a for profit corporation (Or something to that effect).

    As far as day to day use they’re all fairly similar, though it’s been a long time since I used Gogs.

    • Norah (pup/it/she)@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      21
      ·
      7 days ago

      It’s not just the for-profit corporation, there’s also governance issues. Basically, the community elected certain positions and then had the rug pulled out from them such that no elections would be held again.

      In the name of the Gitea Community who elected you last year, we welcome the creation of a for-profit company that allows you to make a living out of Gitea.

      […]

      We believed you when you promised to pass along the ownership of the Gitea project to your elected successors. This promise is part of an essential bond between you and the strong Community of volunteers, as well as all those who rely upon our collective efforts.

      With that in mind, you can understand our surprise when we learned on October 25th, 2022 that both the domains and the trademark were transferred to a for-profit company without our knowledge or approval.

      Source.

    • marcos@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 days ago

      IMO, the Gogs dev was correct. If you look at that community input and what Gitea became, I was glad to use the version that rejected it.

      But I don’t know how it compares with Forgejo.

        • marcos@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 days ago

          The added features made it harder to deploy, came with some bugs, and overall traded a simple design for community-oriented features that IMO were a negative value overall.

          • WhyJiffie@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            6 days ago

            made it harder to deploy? Isn’t it still just a single binary, a config file and a directory for data?

            bugs are inevitable for evolving software.

            which community oriented features do you mean? are they in the way, or is it just that you don’t need them?

  • darkan15@lemmy.world
    link
    fedilink
    English
    arrow-up
    15
    ·
    7 days ago

    Used Gitea for a while, and decided to switch to Forgejo before the hard fork split (no more code from Gitea), been using it since, In my opinion both work well, but prefer Forgejo.