I’m looking to self-host a GitHub alt on a cheap Linux VPS for personal use. Any rec?

  • @[email protected]
    link
    fedilink
    English
    182 years ago

    I personally use Gitea. It’s really nice, and it stays out of the way until you need it.

    • khoiOP
      link
      fedilink
      English
      12 years ago

      Forgejo vs Gitea 🧐? Considering…

      • Neshura
        link
        fedilink
        English
        5
        edit-2
        2 years ago

        I’d recommend forgejo, it’s a fork of gitea and unlike gitea actually a piece of free software. Gitea is developed (and the gitea.io site operated) by Gitea Limited. Whether or not that’s a problem is up to you but I’d just like to highlight GitLab’s recent move(s) to repeatedly increase subscription/hosting costs by various means as a potential future of Gitea. Forgejo is mainly developed by Codeberg e.V. which is a non-profit so enshittification is somewhat less likely.

  • @[email protected]B
    link
    fedilink
    English
    10
    edit-2
    2 years ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    Git Popular version control system, primarily for code
    SSD Solid State Drive mass storage
    SSH Secure Shell for remote terminal access
    VPS Virtual Private Server (opposed to shared hosting)

    4 acronyms in this thread; the most compressed thread commented on today has 4 acronyms.

    [Thread #276 for this sub, first seen 12th Nov 2023, 09:40] [FAQ] [Full list] [Contact] [Source code]

  • @[email protected]
    link
    fedilink
    English
    72 years ago

    Gogs and Gitea are very similiar, Gitea is a fork of Gogs with a bit more features as I understand it.

    However when I tried to get Gitea working personally a year and a half ago, it had some rough issues with redirect looping onto itself infinitely, could never get it to work.

    On the other hand Gogs didn’t have this issue, and was much more painless to stand up, so it’s what I use now.

    • Scrubbles
      link
      fedilink
      English
      72 years ago

      Used gogs, it was… fine. Made the jump to Gitea and it’s just amazing. Not that it does anything really different, but you can tell it’s much more polished. Gogs just felt like a CS student’s final project, Gitea is something I could use at work.

      • @[email protected]
        link
        fedilink
        English
        12 years ago

        They genuinely looked identical to me.

        Either way, gogs dies what I need it to, git server for backing up my code and super basic git web Hooks to trigger my build server.

        Couldn’t ask for anything more.

    • @[email protected]
      link
      fedilink
      English
      22 years ago

      I setup Gogs once like 6 years ago or something lol, I remember it being pretty easy and it is nice. Although if Gitea is more actively maintained then it’s probably worth giving that a shot first.

    • s3rvant
      link
      fedilink
      22 years ago

      I’ve spun up Gitea in my homelab as well as at work and don’t recall being difficult so perhaps they fixed whatever was causing your issue

  • @[email protected]
    link
    fedilink
    English
    72 years ago

    Forgejo is my go to, I ran it in a GCP micro instance, which has 768 MB ram and a piddling processor. One of my friends works for a company that had all their devs run a local instance in addition to the main repo, it was that light.

    Gitea is the former go to, but gitea was hijacked and stolen from the community by a for profit company. Forgejo is currently a drop in replacement fork, but with added privacy features, future federation options, and a reputable parent organization.

    • khoiOP
      link
      fedilink
      English
      22 years ago

      Heard lots of good things about Forgejo!

  • @[email protected]
    link
    fedilink
    English
    32 years ago

    How cheap are we talking? OneDev is awesome but is recommended to have 2gb ram - the more repos and larger code bases might eventually need more ram.

    • khoiOP
      link
      fedilink
      English
      12 years ago

      Memory vCPUs Transfer SSD 1 GiB 1 vCPU 1,000 GiB 25 GiB

    • khoiOP
      link
      fedilink
      English
      1
      edit-2
      2 years ago

      The doc is pretty good

  • @[email protected]
    link
    fedilink
    English
    42 years ago

    If you don’t need the web interface and just want a feature rich git server I recommend Soft Serve. It has a really cool ssh TUI as well.

  • A. Pins
    link
    fedilink
    English
    172 years ago

    I use gitea and it’s great, I would recommand having a good backup système if you care about your repos though

    • khoiOP
      link
      fedilink
      English
      92 years ago

      This is actually a good idea! No need to over engineer stuff 😅

      • @[email protected]
        link
        fedilink
        English
        4
        edit-2
        2 years ago

        @[email protected] if you’re okay with that I suggest you check out this https://gitolite.com/gitolite/overview.html.

        In short “Gitolite allows you to setup git hosting on a central server, with fine-grained access control and many more powerful features.”. It doesn’t require some background daemon running, uses the server’s SSH and it is a simple script that deals with access control so you can easily manage your users and repositories. The “cherry on top” is that you control your git “server” using a git repository :P

    • Neshura
      link
      fedilink
      English
      12 years ago

      if their service runs as poorly as their website I’ll give that a pass

  • @[email protected]
    link
    fedilink
    English
    852 years ago

    Strong recommend for Forgejo. It’s a community fork of gitea that’s actively maintained by the community and a great open source nonprofit.

    It’s actually a drop in replacement for gitea if you are using that now.

    Super lightweight. Super snappy, and it supports GitHub Actions style CI/CD.

    • @[email protected]
      link
      fedilink
      English
      16
      edit-2
      2 years ago

      Big +1 for Forgejo, also they are actively working on implementing Federation, i.e. in the future Forgejo servers will be able to exchange information as a federated network, just like good old Lemmy 😊 If you want to try the toolchain (Forgejo+Woodpecker CI), it’s what Codeberg.org (run by the German nonprofit organization of the same name) offers freely.

        • @[email protected]
          link
          fedilink
          English
          12 years ago

          This will allow you to browse & contribute to projects hosted on other instances without having an account there. Imagine using the GitHub search to find a project on Gitlab, then opening an issue there without ever even leaving GitHub. The protocol is called ForgeFed.

    • @[email protected]
      link
      fedilink
      English
      72 years ago

      The actions are amazing, and I was also able to integrate them with tailscale so I can build and deploy everything within my network automatically.
      I run it in a vps with 1cpu and 2gb ram along several other services.