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

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

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

      • TCB13@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        1 year 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

    • paris@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year 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.

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

  • A. Pins@lemmy.world
    link
    fedilink
    English
    arrow-up
    17
    ·
    1 year ago

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

  • ikidd@lemmy.world
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    1
    ·
    1 year ago

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

  • davad@lemmy.world
    link
    fedilink
    English
    arrow-up
    16
    ·
    1 year 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.

  • nexussapphire@lemm.ee
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 year 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!

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

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

  • SamC@lemmy.nz
    link
    fedilink
    English
    arrow-up
    6
    ·
    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
      19
      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!

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