If not Github, where would you host your projects?

https://lemmy.world/post/45047387

If not Github, where would you host your projects? - Lemmy.World

Title… I’m kinda disgusted with Microsoft and Github has been declining into an AI-Centric hellhole, to the point my recommendations are almost exclusively AI related… And let’s not forget, the new Copilot Training enabled by default (which honestly, how do you get rid of this thing, VSCode also feels intrusive with AI-First bullshittery) I’ve been wondering about moving to Gitlab but… “Finally, AI for the entire software lifecycle.” is literally plastered in the landing page. So… that feels like a no-go. Codeberg is very decent, it’s based on Forgejo so ActivityPub is also a thing (but is cross-instance contributions possible?) but it’s exclusive for Source-Available and Free Projects, which, by all means, totally fine! Half of my “active” projects are for free, and are open source (does that make them FOSS even though I’m basically the only dev?) And last but not least, Forgejo and Gitlab themselves are self-hostable, but…how expensive (price and storage) would it be to self host a Git Forge?? And maybe I’m being narrow-sighted… For FOSS projects in Github, sadly I’ll have no choice but to contribute there, if that’s the only place where the project resides, same for Gitlab, and Codeberg* (unless cross-instance contrib is a thing) For now, I’m thinking of moving FOSS/OSS projects to Codeberg, but for personal projects? What are some good options?

If you pick a FOSS license then your project is FOSS. The number of developers doesn’t matter.

I moved all my (meager bullshit) personal projects to Codeberg awhile ago. My stuff was already open source, but I did explicitly add some license files I neglected to add before just to make it clear. So far so good.

Before you close your Github repos make sure to update them with one last commit explaining that the repo has moved to somewhere else (and potentially why). Once you lock the repo you can’t make changes.

I would host them on my own server the way I did before Github. Open SSH access or use a VPN and connect using that.

I’ve hosted a GitLab instance for like 5 years with a $10 VPS from Contabo and all I have to remember is to sudo apt update && sudo apt upgrade. Though, I have experienced problems when forgetting to update for months at a time.

If GitHub didn’t exist, I’d use Codeberg, then the free hosted version of GitLab.

Codeberg has been doing awesome things, and they maintain an open source self-hostable forge called Forgejo.

I’m in the process of moving all of my repos over from GitHub to forge.sciactive.com, my own Forgejo instance.

SciActive Forge: ❤️ Open Source

Open source software projects by SciActive Inc

SciActive Forge: ❤️ Open Source
What about non-foss collaboration? (Ie Game Dev)
I mean you can have private repos.
Codeberg has limited private repos though which i assume is what they were referring to.
Frequently Asked Questions | Codeberg Documentation

Not if you self-host.

Sourcehut allows private repos. Alternatively id look into a self hosted forgejo instance you control.

And many people overlook it but git has its own webui.

Git - GitWeb

It’s super easy to host your own. You could probably spin up a server on a VPS for like $5 a month.

You can set up a git server with minimal fuss, just a bit of ssh-ing. Unless you need a gui for some reason.

If the Devs can use terminal and git natively then you just need an Ubuntu server and space for the files. Git is just ssh u derbthe hood. There’s a page on the git site showing how to set it up. I was very pleased how easy it was.

Did not realize these were the same thing and the have my own forgejo install.
I’ve just recently discovered your sciactive.com and I have to say I’m a fan!
Thank you. :)
Most people seem to go for either codeberg or gitlab as alternatives
Codeberg has been working fine.

git init --bare repository.git if you want to just have a private git somewhere on a server you own.

I’ve also used Beanstalk for years, both for SVN and Git, and have been pretty happy (back when Github private repos were paid only). I have no connection with them; I just used them because back in the day it was cheaper for private repositories than subscribing to Github.

Beanstalk — A complete workflow to write, review & deploy code

Beanstalk is the complete code hosting workflow teams or individuals use to write, review and deploy their code.

I’ve self-hosted Gogs which is a predecessor of Forgejo and it used very few resources. A tiny VPS is plenty. Fossil (fossil-scm.org) is even smaller, but it’s a DVCS that’s not directly compatible with Git.

For personal projects you don’t really need a “forge”. I just use self-hosted git directly, with no web UI. Just “git pull” and so on. That’s what the Linux kernel devs do, so it’s obviously workable even for huge projects. There’s actually a web interface (gitweb) that comes with git, but it’s mostly to let other users browse your repo.

If you’re doing something of public interest, savannah.gnu.org and savannah.nongnu.org might be worth looking into. They are curated, so you have to submit your project and they decide if they want host it. There’s lots of stuff there, it’s just not for random personal projects.

I don’t feel a need to use github. Github users can pull from non-github repos. If I’m not on github I don’t get to use their workflow but that’s ok. That’s a deficiency in github obviously, and it’s not my job to fix github.

Note - you can completely disable all the AI features in Gitlab. In fact, they’re disabled by default unless you explicitly enable them by configuring model integrations. I think its one of the better self hosted options because it had a clear maintenance and path to profitability.

I run my own GitLab on a NUC with no issues.

Disclaimer: I have contributed open source code to GitLab before.

I’m a man man, so I’m self hosting gitea. What’s nice is I can have private repositories for free!

For personal projects I’ve just got a VPS where me and a couple of partners in crime push over ssh. It’s very informal and merges are requested in our group chat.

At my previous place of employment we selfhosted gitlab. I much prefer that over corporate github. I want my own fork, not a shared repo.

git.gay

Or my own personal server.

Self hosting some git repos worked fine before github for plenty of cases
Codeberg works for me. I used to use a couple of indie instances of gitea for various smaller project, but both have either gone down or been at risk, so I mostly use Codeberg which is more organized and failsafe.
I have been very happy with Codeberg, but I have been keeping an eye on https://tangled.org/
tangled · tightly-knit social coding

The next-generation social coding platform.

Tangled
For personal projects I use Forgejo on my device that hosts various other servers
Everyone here has fancy answers and I just back my stuff up to bare repos on an external hard drive. Now I’m starting to question that…