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

  • @[email protected]
    link
    fedilink
    English
    112 years 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!

    • shadowbert
      link
      fedilink
      12
      edit-2
      2 years ago

      I’d definetly recommend GitLab too - but it’s not lightweight.

  • @[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
      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.

    • @[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]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
    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

    • 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
      92 years ago

      Well thats what backups are for, but may be start with a mirror or with unimportant stuff for at least a year ;) Also proprietary service can delete your data, too. This happens especially when you are using the generous free tier and they decide to make more money. See Evernote, Gitlab, Heroku…

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

      You wouldn’t host anything important without doing it properly.

      That should be obvious, man.

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

        Not even remotely close to true. Services are mostly half assed. Doing them correctly is time consuming and expensive.

  • @[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.

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

    Gitlab at least used to be the open source release of GitHub. I ran it in my lab for a while but stopped as I was using github anyway. It was easy to setup and maintain but it used a lot of resources. I ran it on a vm, there is likely a docker build as well.

    • Kata1yst
      link
      fedilink
      22 years ago

      GitLab and GitHub were always developed separately by completely different people and have never shared code.

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

      I recommend against gogs. It’s missing lots of features that I expected and I ended up switching to gitea anyways. Gitea works well for everything I need and forgejo is a fork of gitea that I might switch to in the future.

  • @[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!

  • FeminalPanda
    link
    fedilink
    English
    62 years ago

    What about gitlab? Isn’t that the same as GitHub? If not I’ll need to see how they are different.

      • FeminalPanda
        link
        fedilink
        English
        22 years ago

        Ahh ok, I know the other team deployed it in our openshift environment so wasn’t sure.

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

      Yeah. It needs 3gb ram, now. That’s about 1/10th what a Windows VM needs to boot, seemingly, but still large.

  • @[email protected]
    link
    fedilink
    English
    3
    edit-2
    2 years 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.

  • davad
    link
    fedilink
    English
    172 years ago

    Here’s another plug for gitea. It’s lightweight, but still has a nice feature set.

    I tried hosting GitLab a number of years back, but it was more resource hungry than my host machine could handle 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