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

    • @paris@lemmy.blahaj.zone
      link
      fedilink
      English
      12 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.

  • A. Pins
    link
    fedilink
    English
    162 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
      42 years ago

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

      • @TCB13@lemmy.world
        link
        fedilink
        English
        4
        edit-2
        2 years ago

        @khoi@slrpnk.net 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

  • davad
    link
    fedilink
    English
    132 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.

  • @ikidd@lemmy.world
    link
    fedilink
    English
    132 years ago

    Gitea also has webhooks so you can use it with Portainer to update Docker Compose container stacks from repo.

  • @Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    8
    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)

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

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

    • @corsicanguppy@lemmy.ca
      link
      fedilink
      English
      22 years ago

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

  • @SamC@lemmy.nz
    link
    fedilink
    English
    62 years 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
      192 years 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!

      • @SamC@lemmy.nz
        link
        fedilink
        English
        12 years 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.

  • @markr@lemmy.world
    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
      12 years ago

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

  • @TheInsane42@lemmy.world
    link
    fedilink
    English
    32 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.