And why?
I used to self host Gitea, just private repos for university assignments and other personal projects that I was going to open source one day (I have a real problem with finishing things). Then a big storm hit where I live and the internet was out for 2 weeks (I could still use my phone if I stood in the right spot), over that time I was able to work locally but for when I was out and about I couldn’t collaborate on anything because I couldn’t access it so I begrudgingly moved to GitHub.
At least with GitHub I get very reliable and fast hosting even if everything I write is being fed to AI. Their search is also amazing.
I do plan, however on getting Forjego set up for private stuff again, because some stuff cannot be made public. When the day comes that I finish something and open source it, I’ll probably put it on Codeberg. Hopefully my project will be good enough that people are driven to join Codeberg to get involved.
As for my GitHub account, I won’t be able to ditch that so I may continue to fix random bugs and typos I come across. I wouldn’t want to impose my beliefs on someone else’s project
Codeberg. Fully Libre
Gitlab at work, because, well, it’s there and it works just fine.
Forgejo at home, because it’s far less resource hungry.
In the end Git is a) a command line tool for b) distributed working, so it really doesn’t matter much which central web service you put in place, you can always get your local copy via
git clone REPO
.I just self host gitolite. I wrote a script for archiving tagged versions to zip files as well as an optional parameter to pipe code into a markdown file and convert that to HTML for code i wish to show people. Everything else I do through the cli and have no use for a fancy UI.
GitLab because for CI/CD is it far, far much user friendly and comfortable to use with GitLab CI compared to GitHub Actions and flows.
In addition I can integrate templates for CI/CD pipelines already defined with the To Be Continuous project (which is open source).
Forgejo, a Gitea fork used by Codeberg. I chose it because it’s got the right balance of features to weight for my small use case, it has FOSS spirit, and it’s got a lovely package maintainer for FreeBSD that makes deployment and maintenance easy peasy (thanks Stefan <3).
I’ve been meaning to switch over from Gitea to Forgejo for ever. I’ll get it done tomorrow ;)
Definitely best to get that done ASAP. Forgejo being a drop-in replacement for Gitea won’t be guaranteed ever since the hard fork:
To continue living by that statement, a decision was made in early 2024 to become a hard fork. By doing so, Forgejo is no longer bound to Gitea, and can forge its own path going forward, allowing maintainers and contributors to reduce tech debt at a much higher pace, and implement changes - whether they’re new features or bug fixes - that would otherwise have a high risk of conflicting with changes made in Gitea.
Why switch from Gitea to Forgejo, if I may ask?
- the cool kids use Sourcehut
- I use Codeberg
I used GitLab for personal projects, and I use GitHub for contributing to other project
GitLab is partially open source, GitLab can be self-hosted while GitHub does not
Codeberg for public repositories, cgit (if that even counts) on my own server for private ones
I use sourcehut.
Codeberg. I host my web portfolio live there and even did a small contribution to kbin when it was alive. It’s great though now I’d want to look at forgejo.
When you say you host it live on Codeberg, do you mean something akin to GitHub pages? I didn’t know that existed
Thanks, I never knew this existed. Time to migrate my sites too.
I’m asking this because I’m self learning and new. Is there a place I can host my code? I’ve been build a pretty robust app in visual code Windows Forms C#. I don’t want to advertise or anything. I just want to have the code hosted as a backup
Github, Gitlab, Codeberg, Gitea
GitHub
Thanks. I’ll fuck around today with it. Can I make it private? And should I be concerned about people taking my ideas and or code?
If you use a service like GitHub you can make it private but be aware that the Info is still readable by the service provider. Not in a sense that they are gonna steal your idea (unless you invented a way to make good) but something like secrets passwords etc in your code.
I’d go for Codeberg, it’s free as in free speech and beer and is an open source project based on gitea. They are working at a federation protocol to make coop doable but without the need for a centralized provider v
I considered using pijul but everything in Nix/Guix is oriented around git as are the plugins for my text editor and CLI, and there aren’t good self-hosted web frontends that I can use to put pijul projects on my linkedin profile or whatever. I want to switch to it but the ecosystem surrounding it needs to actually exist first.
This is actually why I prefer using pijul. I don’t want to commit my secrets to a git repo and nix will refuse to build because I’m pulling in files that aren’t tracked. Simple solution is to not make the flake directory a git repo and it won’t complain. That’s my solution at least. I also prefer using git (and therefore pijul) via cli rather than as a text editor integration so my experience differs.
I use git primarily via cli also, the text editor integration (with helix) highlights information such as what lines haven’t been committed and makes it easier to access other files in the repo, the fish integration tells me if there’s files that haven’t been committed or commits that haven’t been pushed without having to run git status
I do use helix but haven’t taken advantage of the git integration. Maybe I’m unaware of its power. For fish, I defined my own fish_prompt function with an indicator if there are uncommitted changes. It’s just running
git status
under the hood. I have a TODO in that function to run apijul diff
in the directory ifgit status
returns nothing…
I use Github for 4 reasons:
- Everybody else is on Github. Github is to repo hosting what Youtube is to video hosting. It’s sad but that’s how it is in this world of unchecked, extreme big tech monopolization. So I put my stuff up there because it’s just simpler to be found.
- I use Github as a dumb git repo. I don’t use any of the extra social media garbage Microsoft tacked onto it. So I get free hosting and Microsoft pretty much gets no data on me - i.e. I’m a net loss to them.
- You can use dumb repos as PPA and RPM sources, if you need to distribute Debian or Redhat packages. Microsoft never intented for repos to be used this way, but if I can abuse Microsoft services, I will six ways to Sunday.
- Github lets you drop videos in your README.md. But here’s a trick: you can use the links to the video files anywhere. In other words, you can use Github to host videos that you can post on other forums - including here on Lemmy, or on Reddit if you’re still patronizing that cesspit for some reason. I find this a nice way to abuse Microsoft’s resources also, and I’m all for abusing Microsoft’s resources.
TL;DR: I use Github not only because it’s the most prevalent git hosting service out there, but because I can abuse it and make Microsoft pay for the abuse without getting anything of value from me in return.
I’m actually continuously running github actions that I don’t need running, just because I can, and because it uses up their resources.
That’s something I really like about Ublue: they use Github actions, so if you build a custom image, you’re using Github’s processing power for it. So, go do that. Make hundreds. Bleed Microsoft dry.
wasting energy to somehow stick it to the man?
Exhibit 56845 why humanity is fucking doomed.
I actually forgot the /s. And I guess I wasn’t clear enough. This is less than a drop in the pool for them. An image build that takes them around 15 mins including setting up the VM for the build, takes me around the same time on a machine with a 6-core Ryzen 5 at 2.375GHz, with 8GB RAM. So because they’re running it on their high end hardware and it still takes that long, they aren’t allocating that many resources to the VM, meaning that it costs them basically nothing.
TLDR: If any of this was a cost that had any significance to their bottom line, it would have been restricted and/or monetised.
GitLab, because it’s FOSS.