logoalt Hacker News

noirscapeyesterday at 2:53 PM10 repliesview on HN

I don't dislike Codeberg inherently, but it's not a "true" GitHub replacement. It can handle a good chunk of GitHub repositories (namely those for well established FOSS projects looking to have everything a proper capital P project has), but if you're just looking for a generic place to put your code projects that aren't necessarily intended for public release and support (ie. random automation scripts, scraps of concepts that never really got off the ground, things not super cleaned up), they're not really for that - private repositories are discouraged according to their FAQ and are very limited (up to 100mb).

They also don't want to host your homepage, so if GitHub Pages is why you used GitHub, they are not a replacement.

Unfortunately I don't think there's really an answer to that conundrum that doesn't involve just spinning up your own git server and accepting all the operational overhead that comes with it. At least Forgejo (software behind Codeberg) is FOSS, so you can do that and it should cover most of what you need (and while you're in the realm of having a server, a Pages-esque replacement is trivial since you're configuring a webserver anyway.) Maybe Gitlab.com, although I am admittedly unfamiliar with how Gitlab's "main" instance has changed over the years wrt features.

Here's their FAQ on the matter, it's worth a read: https://docs.codeberg.org/getting-started/faq/


Replies

portlyyesterday at 8:58 PM

What you said about the pages is just plainly false information. I host my website on CodeBerg pages. https://docs.codeberg.org/codeberg-pages/

real_joschiyesterday at 3:17 PM

> They also don't want to host your homepage, so if GitHub Pages is why you used GitHub, they are not a replacement.

https://docs.codeberg.org/codeberg-pages/

show 1 reply
singpolyma3today at 1:18 AM

"spinning up your own git server" isn't really a thing. Any server with ssh and git installed is a git server.

NewJazzyesterday at 6:10 PM

Unfortunately I don't think there's really an answer to that conundrum that doesn't involve just spinning up your own git server and accepting all the operational overhead that comes with it.

Hmm all that operational overhead... Of an ssh server? If you literally just want a place to push some code, then that really isn't that hard.

show 5 replies
reissbakeryesterday at 8:18 PM

FWIW, Pierre's "Code Storage" project [1] seems like it simplifies a lot of the operational overhead of running git servers, if what you want is "an API for git push". Not affiliated with the company (and I haven't tried it myself, so I can't vouch for how well it works), I just think it's a neat idea.

1: https://code.storage/

show 1 reply
tbayramovyesterday at 6:25 PM

(Shameless plug)

Hey, I’m building Monohub - as a GitHub alternative, and having private repositories is perhaps a key feature - it started as a place for me to host my own random stuff. Monohub [dot] dev is the URL. It’s quite early in development, so it’s quite rough around the edges. It has PR support though.

Hosted in EU, incorporated in EU.

Would be happy if you tried it out — maybe it’s something for you.

Edit: you can have a look at a public repository I have to see what it looks like now: https://monohub.dev/@tbayramov/efcore-audit-timestamps

show 2 replies
AlienRobotyesterday at 6:40 PM

To me that sounds like Github does too many things, not that Codeberg does too few.

show 2 replies
shmerlyesterday at 8:06 PM

GitLab is probably a better option for that.

show 1 reply
Rapzidyesterday at 10:20 PM

> Moving from GitHub to Codeberg, for lazy people

Step 1.) Stay on GitHub

I think the internet has "GitHub Derangement Syndrome" right now. It's an outlet for people's frustration.

The current trend reminds me a lot of the couple years we had where Game Developers were that outlet. They needed to "Wake up" and not "Go woke, go broke". An incredible amount of online discourse around gaming was hijacked by toxic negativity.

I'm sure every individual has their really good logical reasons, but zooming out I think there is definitely a similar social pathology at play.

show 2 replies
sneakyesterday at 7:26 PM

I love Gitea and self-hosting it has been effortless, even through upgrades.