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

  • mholiv@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    3
    ·
    1 year 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.

    • pe1uca@lemmy.pe1uca.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year 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.

    • nightm4re@feddit.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      1 year 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.

        • nightm4re@feddit.de
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year 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.

    • khoi@slrpnk.netOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

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

  • pixxelkick@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    1 year 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@poptalk.scrubbles.tech
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year 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.

    • Die4Ever@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year 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.

  • SamC@lemmy.nz
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    If you don’t need the web gui stuff (and you shouldn’t for personal use) you can set up a git server using gitolite. Very easy to manage

    • russjr08@outpost.zeuslink.net
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      1 year ago

      And if you really want even more barebones, you can just do git init --bare into a directory on your VPS, and then git clone user@your.ip.here:path/to/the/directory and use git as you would normally!

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year 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]