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

  • canvaswings@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    ·
    8 months 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.

  • antihumanitarian@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    8 months 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.

  • pixxelkick@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months 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.

  • mholiv@lemmy.world
    link
    fedilink
    English
    arrow-up
    16
    ·
    8 months 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
      ·
      8 months 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
      4
      ·
      edit-2
      8 months 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.

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

  • TheInsane42@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    8 months ago

    I’ve been using gogs since I had my RPi2. It’s not fancy, it just works. Gitea is a fork of it, as there are others, but I never really put time in a conversion, as gogs just works. I don’t do more then synching repos over ssh and an occasional repo creation via the web interface. It’s a 1 user setup.

    Edit: just spend a bit of spare time to install forgejo to figure out what I need to do to move the repos I have (~200) over. All that was needed was to create all repos manually and then rsync the content from the direcory with the gogs repos to the forgejo repo storage. I went ftom gogs 0.12 to forgejo 1.20.5 in a tad over 2h.

      • Neshura@bookwormstory.social
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        edit-2
        8 months 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.

  • nexussapphire@lemm.ee
    link
    fedilink
    English
    arrow-up
    8
    ·
    8 months ago

    As a dumb user I like gitlab! It’s responsive, clean, legible, and pretty easy to navigate compared to others. Also anything that supports git clone because it’s pretty nice for manually building stuff on arch.

    I don’t know what your project is or if it’s going to be public but that’s my vote if it is!

  • SamC@lemmy.nz
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 months 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

      • SamC@lemmy.nz
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months ago

        Most of the Web GUIs are designed for interaction/collaboration between multiple people, and are massive overkill for one person. Tools like gitk/git gui are more than enough to see what’s going on graphically.

        If you want to install all the other stuff, that’s completely up to you, but a lot of people don’t seem to realise that the Web GUI stuff and command line are completely separate things, and you don’t have to install both of them.

    • russjr08@outpost.zeuslink.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months 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!