rhdunn
2 hours ago
It depends on what you are after?
1. Do you want something that works and feels like GitHub? -- Forgejo and Gitea are good for this.
2. Do you want a place to host git repositories with minimal hassle? -- GitLab, CodeBerg, and others are available.
3. Do you have your own hosting infrastructure? You could use gitolite and CGit/GitWeb on that hosting platform or local hardware.
4. Do you just want to host repositories? -- Gitolite can be used to help with SSH/auth/repository creation, and CGit or GitWeb for the frontend.
5. Do you need something like GitHub Actions? -- GitLab, Forgejo, and Gitea offer CI, or use external CI infrastructure.
6. Do you need issue tracking and management? -- GitLab, Forgejo, and Gitea provide these. There are alternatives from Jira to Kanban (including Trello) to Markdown (Obsidian and others) and more.
mejutoco
40 minutes ago
> 4. Do you just want to host repositories?
an ssh connection and
git --bare init
on your ssh accessible server works just finerhdunn
34 minutes ago
That's what gitolite does with some helper scripts for creating/setting up the repositories, adding metadata to the configs, etc. That way your `git` user can be set to reject ssh login attempts. The projects are managed by pushing a config to a gitolite admin repository.
samlinnfer
10 minutes ago
Cool thing about gitolite is that you manage it using text files and committing to the gitolite admin git repository.
We were using it until we grew tired of not having a web view to comment and review patches so we switched to gitea.
jonahx
19 minutes ago
Quick intro for this method: https://www.youtube.com/watch?v=iuIdBfjL62s
myaccountonhn
13 minutes ago
It can be as brief as:
ssh server git --bare init myrepo.git
git clone server:myrepo.git
eddieroger
9 minutes ago
You can even support Actions with this method if you're not afraid of a little scripting. https://git-scm.com/book/ms/v2/Customizing-Git-Git-Hooks
Bnjoroge
an hour ago
Hopefully a good spot to plug my own project, preloop, which is a drop-in replacement of Github actions(both the runners and control plane) that runs locally or self-hosted in isoalted microvms, and supports debug-on-failure. You can also push to the server, run CI and then optionally create a draft PR. Not quite production-ready yet(for the self-hosted part), but the local part works well. We implement the official runner protocol 100% unlike act/gitea/forgejo, so your workflows are more likely to work out of the box with preloop(forgejo has the closest compatibility with Github Actions though so it's a good off-Github option) and we use microvms so no DinD issues. I'm working on getting the official runner vm image up to reduce any environment incompatibilities. Feel free to try it out: https://github.com/preloopdev/preloop
ljm
an hour ago
I'm quite partial to SourceHut as well but tbh I don't care about contributors and I like it because it is deliberately low-tech.
Maybe the CI could be a bit better (secrets management will sting you if you don't read the docs first), but that is also pretty no-nonsense and gets the job done.
If you like no-frills and an expectation that you know what you're doing, it's pretty sweet.
Would probably scare off most collaborators though but that, IMO, is part of the appeal. If you want to contribute then it's more likely you're invested and not driving by.
Also I like that it has a concept of projects so you can group repos together (which on GH would normally require creating an organisation account). And a repo can be public but unlisted, so it's open but not drawing attention.
als0
an hour ago
7. Do you want the most contributions?
I hate to admit it, but GitHub has a massive community. I’ve personally seen a project leave it and then contributions dropped significantly.
shimman
14 minutes ago
Having people personally go out of the way for a little bit of friction tells you how valuable, and perhaps, serious these people are. I'd rather have that group of people contributing to my projects than fly by night agents that just shit all over the floor and expect treats for doing so.
colesantiago
an hour ago
You don't really need GitHub's 'community'
It is mostly all AI agents, bots and spam anyway, not to mention most projects are now vibecoded slop on there.
You're better off going to a different forge or hosting one yourself.
Codeberg has a no LLMs policy which is very attractive for many.
0xc133
an hour ago
*Forgejo
rhdunn
an hour ago
Indeed. I've edited my post to fix the typo.
tonymet
an hour ago
and you can stream your commits into any of these to improve deployment and commit availability when github is down.
osxman
an hour ago
Forgejo == Codeberg
rsyring
an hour ago
Not exactly:
> Forgejo is self-hostable free software for software development, built on top of Git. Codeberg is powered by Forgejo, which is in turn a hard-fork of Gitea. Compared to Codeberg, Forgejo is not one service, but free software to help you build your own. Everyone can install their own Forgejo instance to host their own projects. There are also public Forgejo instances as well as Codeberg you can use, but make sure you find a site that is actively maintained and updated, and that you trust the provider.
https://docs.codeberg.org/getting-started/what-is-codeberg/#...
tonymet
an hour ago
isn't forgejo the software and codeberg is hosted forgejo?
Cupprum
an hour ago
Codebergs has a section about that: https://docs.codeberg.org/getting-started/what-is-codeberg/#...
tonymet
41 minutes ago
TLDR
zahrc
28 minutes ago
Literally the first paragraph:
> Forgejo is self-hostable free software for software development, built on top of Git. Codeberg is powered by Forgejo, which is in turn a hard-fork of Gitea. Compared to Codeberg, Forgejo is not one service, but free software to help you build your own. Everyone can install their own Forgejo instance to host their own projects. There are also public Forgejo instances as well as Codeberg you can use, but make sure you find a site that is actively maintained and updated, and that you trust the provider.
tonymet
27 minutes ago
So…what I said.