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

    • @nightm4re@feddit.de
      link
      fedilink
      English
      12
      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.

        • @nightm4re@feddit.de
          link
          fedilink
          English
          11 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.

    • khoiOP
      link
      fedilink
      English
      62 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
    162 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.

    • khoiOP
      link
      fedilink
      English
      12 years ago

      Forgejo vs Gitea 🧐? Considering…

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

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

  • A. Pins
    link
    fedilink
    English
    122 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

  • @nexussapphire@lemm.ee
    link
    fedilink
    English
    72 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
      8
      edit-2
      2 years ago

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

  • @antihumanitarian@lemmy.world
    link
    fedilink
    English
    62 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
      12 years ago

      Heard lots of good things about Forgejo!

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

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

    • s3rvant
      link
      fedilink
      22 years ago

      I’ve spun up Gitea in my homelab as well as at work and don’t recall being difficult so perhaps they fixed whatever was causing your issue