503 points · by oblio · 3y ago · 211 comments
If you aren't doing FOSS software and aren't "tolerated" you aren't allowed here. This is not an alternative to Github.
What we're really talking about here is a free-as-in-beer SaaS service that primarily caters to open source software repositories. This isn't clear in the title, because "Open Source" in this context can be read both as the back-end itself being open source (which it is), or more correctly -- but much less obviously -- that it's an alternative for open source repositories compared to GitHub.
Codeberg uses Forgejo[1] which in turn is a soft fork of Gitea[2], and anyone can use these two projects to self-host their proprietary codebase -- but the title for this post in no way makes it clear what Codeberg actually is.
One could literally just take the first thing you see on their website and it would be a much better description:
> Codeberg is a collaboration platform and Git hosting for free and open source software, content and projects.
[1]: https://forgejo.org/
Geez, why so extreme? They choose whom they support for free, and they choose FLOSS projects with similar goals/philosophies. If your project has a different philosophy, fine, up to you, but it's not something they want to spend their time to support for free. You are welcome to go somewhere else, including going to or staying at GitHub.
Nobody wants anything "to die". It's about providing alternatives for people who are not entirely happy. If you are, fine, nobody forces you to anything. Just like you can't force the Codeberg people to provide something to you for free which they are not comfortable with.
I don't want to learn a different UI for contributing to FOSS than the one I use for my daily work. I frankly do not care about the ethos of FOSS enough, neither do almost any developers, relative to the field, however overrepresented FOSS awareness is on HackerNews. I contribute back to open source when it's convenient - and not too expensive - to do so; making it _less_ convenient so the host can draw an arbitrary philosophical line in the sand is going to serve no purpose but to decrease contributions.
FOSS maintainers need to understand that the FOSS ethical and philosophical perspective is not universal - it is, in fact, quite rare in the industry. They need to understand that contributions and use are driven by utility and convenience and economics, not morality. Sacrificing anything utility-wise or convenience-wise for philosophy is just shooting themselves in the foot.
It's fortunate that sometimes people refuse to build big tents and instead push for a better world.
> They need to understand that contributions and use are driven by utility and convenience and economics, not morality
You are wrong. GNU's whole existence is for moral reasons, and their tools are pervasive and you "typically" depend on them. It might not be everybody, even most people, but it's still a thing.
> I frankly do not care about the ethos of FOSS enough
You need to understand that some people do, and will promote it.
> I don't want to learn a different UI for contributing to FOSS
And I don't like to have to use proprietary software to contribute to FOSS [1]. How do we do? Do we please you and go for GitHub, or do we work towards this goal?
I personally won't optimize for convenience no matter what. Convenience is killing our planet. We actually need to take our fingers out to make the world work. We can't live forever effortless. This is the pragmatic path, actually. I'm not arguing against convenience, I'm the first to like it, but things have various aspects worth taking in account, convenience only being one of them.
Not that I don't find Forgejo not convenient. Pretty much the opposite. I like its UX.
[1] https://drewdevault.com/2022/03/29/free-software-free-infras...
To be a bit more cynical, Github alternatives are a dime a dozen. It's not clear to me that their market segmentation is hurting them. It seems to me that it's the only thing that's putting them on the map, otherwise they would just be a drop in the ocean.
Codeberg is an instance of the FOSS forge platform Forgejo, which is a fork of Gitea. As FOSS projects, Forgejo and Gitea can be used to host any kind of software, proprietary or open source, without restriction. It is entirely possible for a person to use Forgejo/Gitea to contribute to both work projects and off-work projects, even if the work projects are proprietary.
If your employer chooses to use GitHub instead of Forgejo/Gitea, nobody else is obligated to stick with GitHub to make it more convenient for you to contribute. FOSS projects may choose Codeberg for its other advantages, such as its superior privacy policy and the fact that Codeberg does not automatically resell content from its hosted repositories as a proprietary service (like GitHub does with Copilot).
This is a common misconception. We don't need to do anything. We build things on our terms, and set policies how we see fit. If that increases friction so that people like you decide not to contribute, that's a shame, but that's a trade off we're willing to make.
And regardless of all that, advocating for a single platform for anything (whether proprietary or open source) is just a bad idea. GitHub does have a lot of things going for it, but it's a single point of failure, run by an entity that can decide to change the terms of the service in any way it pleases. We might hope and assume they won't do anything destructive (since most destructive things would be detrimental to themselves as well), but stranger things happen.
At any rate, your complaint is fairly specious: Platforms like Gitea (which Codeberg uses) and GitLab are similar enough to GitHub that the usage flow for third-party contributions is pretty similar and requires virtually no effort to learn. (In fact, Gitea and GitLab have been criticized in the past for copying GitHub too much.) Sure, if you were going to use a Gitea- or GitLab-based provider to host your own stuff, you'd have to learn quite a bit more if you were coming from GitHub. But just making a contribution isn't much of a hurdle to jump: the main hurdle is having to create yet another account, though many Gitea and GitLab instances allow you to sign in using OAuth and your GitHub credentials.
It's fine that you don't feel the desire to make principled stands on things like this, but it's unfair of you to talk down so harshly on those of us who do. I'm sure you have some causes that are important to you that I don't share, but I wouldn't criticize you for those, or for how you decide to spend your spare time.
Strongly disagree. Given how hard decentralized collaboration seems to be in general, I'm amazed at what has been achieved. Imagine the internet and associated buisnesses without open source software.
If the goal is to share code, between just BSD Unix and Linux, open source would be incredibly successful. When you look at languages, development tools, databases and networking, a lot of FOSS has been very successful.
> Github's most known or most useful featureset is, the fact of the matter is it dominates because they don't draw philosophical lines in the sand and exclude people as a result.
The people who authored Codeberg have an agenda and are very direct about it. It is their property, and their right to do what they are doing... just as it is your right to vocalize you don't like it.
> I don't want to learn a different UI for contributing to FOSS than the one I use for my daily work.
Ok. Fair enough. I think I said roughly the same thing about git back when everything was CVS and Subversion.
> They need to understand that contributions and use are driven by utility and convenience and economics, not morality.
I make code all day. Some of the things I make have little monetary value to me or my company but might help others. It's not about morality, its just me doing what I want to do with my time and skills. I've made friends, built companies, and got way more out of FOSS than I've ever contributed to FOSS.
> Sacrificing anything utility-wise or convenience-wise for philosophy is just shooting themselves in the foot.
I think you are missing a very big point. Sharing with others isn't a "philosophy" it is an economic transaction... an exchange of value.
Except for those who don't want their code to be used for training proprietary AI models.
What are you basing this on? I use open-source tools and products everyday for work.
add in a side of guzzling right wing talking points from a fire hose and claiming to be a philosopher-economist and you've got a nice front page post discussion
To many people in this world, startup founders are the underdog. But they seem to forget that, at some point in their growth, they stop being the underdog and instead become the incumbent.
Unfortunately, this mindset often taints the attitudes of people who post here. The term "hacker" used to be primarily associated with counter-culture types, those lower on the corporate totem pole, but more recently it's also come to be associated with people who "hack" capitalism and become financially, economically, and career-track successful.
100% of all repos I have as a company other than some internal documentation are FLOSS.
I am of the strong opinion closed source software should not exist, and you can be a very successful and well paid software engineer spending the majority of your time working on open source software if you care enough to pursue that path.
Maybe you do not make quite as much money when you dial the greed down a bit, but you contribute to building a society with better collaboration and faster progress that will benefit us all.
We should build open source community around open source projects and tools where we can fix issues ourselves instead of hoping a central for profit company will do it for us. IMO the only projects that should stay on Github are ones that believe centralized dictatorships like Microsoft are best equipped to govern software development.
Yes, use-restricted licenses aren’t Free Software. Codeberg is a non-profit that promotes Free Software. Not a joke, just out of mission.
The GPL and AGPL are both on the list that you're replying to.
According to the Codeberg docs:[1]
> For documentation, writing, and other non-code assets, a Creative Commons (CC) licence can be used, but note that only the following CC licences are considered free (sorted from protective to unconditional):
> - CC-BY-SA
> - CC-BY
> - CC0
> Like CC themselves, Codeberg recommends against using a CC licence on code.[2]
CC0 is classified by the FSF under "Free licenses, compatible with the GNU GPL", so Codeberg definitely accepts CC0 projects.[3] Also, licenses such as the Unlicense (which is approved by both the FSF and the OSI) make it easy to dedicate code to the public domain with a legal fallback for jurisdictions that do not recognize the public domain.[4]
Public domain repos exist on Codeberg, for example:
- https://codeberg.org/streams/streams (public domain declaration)
- https://codeberg.org/fediverse/fep (CC0)
- https://codeberg.org/youngchief/feddy (Unlicense)
---
[1] https://docs.codeberg.org/getting-started/licensing/
[2] https://creativecommons.org/faq/#can-i-apply-a-creative-comm...
I'm grateful Codeberg, sourcehut and other alternatives exist.
One nitpick from my experience: Codeberg's static hosting gave me way too much internal server errors (probably because they are underfunded.)
Github can implement code search, credential scanning, malware scanning, or any other number of other things and theoretically, every code repo can get it for free.
When everything is centralized, adding a new feature costs k but gives N benefit. When there are M different options adding a new feature costs k * M for N benefit.
I don't think it's as black and white as centralization is bad, but I do agree that it gives microsoft undue power and that power can be a force for good or evil.
Sounds great! When are they going to do it?
If not, GitHub recently updated their search feature and it's pretty good.
https://github.com/search/advanced
https://docs.github.com/en/search-github/github-code-search/...
Collaborating on multiple platforms would make sense if not everyone used GitHub. It's the kind of thing that can be solved on a needed basis. As far as I know the only thing people hate about GitHub is it was proven copilot was stealing code from repos where it ignored licenses completely for collecting more training data.
Your account being banned probably does fall under incentivised interests, aka circumventing censorship. Your country can literally say ban X or we ban your platform from our country. I'm not sure why you wouldn't do such things under a burner anyway given you're also breaking laws. The expectation should be that you don't make it.
If only all the platforms used the same protocol that allowed you to easily clone code from any of them just by changing the URL. Oh, wait…
UPDATE: Before someone says "google" I'm specifically talking about a context-aware search engine that has knowledge of code-specific attributes like language/stars/etc. like github does, just across multiple repo providers
I agree that it's nice to have a single place to search, but IMO that convenience is vastly overshadowed by the downsides of relying on a single platform.
It turns out most don't care.
Each generation must learn it the hard way.
I don't think that's true.
https://en.wikipedia.org/wiki/Public_utility
https://en.wikipedia.org/wiki/Natural_monopoly
When monopolies can rival/influence/corrupt the power that would otherwise regulate them, that is the point at which monopolies are definitely bad.
I’d like to see even more diversity in Git hosting beyond “let’s all migrate from X to Y”, and for that to happen, Forgejo (the soft fork of Gitea that Codeberg runs) has already begun to implement federation [2], which can make cross-instance collaboration easier.
[1]: http://woodpecker-ci.org/ [2]: https://codeberg.org/forgejo/forgejo/issues/59
- https://github.com/go-gitea/gitea/issues/18240 - https://codeberg.org/forgejo/forgejo/issues/59
[2] https://man.sr.ht/tutorials/getting-started-with-builds.md
https://github.com/Cicada-Software/cicada/blob/main/docs/ci-...
> create a file _anywhere in your repository_ ending in .ci
uh-huh
> Note that you cannot use the pipe operator (|) with the shell command, only one command can be executed at a time
uh-huh
> To make sure that your workflow works, try pushing to your repository
so, no local runner for this, either. fantastic.
So instead of using Starlark, which a non-trivial number of folks already know, there's already editor support for, and is obviously designed to be embedded, they decided that what the world needs is another DSL. Got it.
The reason was a Wikimedia Foundation request.
On its own, not harmful. That being said, it ran afoul of the WMFs trademarks and was actively confusing people with regular Mediawiki, which is likely what prompted the takedown. You can read the ins and outs on Wikipedias own page about mirrors and forks, there's an explanation listed there[1].
Codeberg likely complied because if you're weighting a vaguely conspiratorial-minded (the developer of Wikiless is a "feds in the walls" type if it wasn't obvious from the previous paragraph) proxy tool against possibly being shut down since you decided to stand up for an easy trademark violation, the choice is easy.
[0]: I'd like to note that as far as I can tell, no such tooling exists on Wikipedia, nor does the WMF employ the usual culprit (ad networks) of that kind of nonsense.
[1]: https://en.wikipedia.org/wiki/Wikipedia:Mirrors_and_forks/VW...
Very few providers will shoulder the risk of being dragged to court to stand in front of you when legal is involved. Most don't have the funding to go the legal route to begin with, so they just comply. "We'll go to court for you" isn't a selling point of Codeberg, which makes it silly to expect it.
The whole project has been broken ever since.
The project also doesn't actually make clear if it's actually private and not just MITMing it's own users to track them - as has been pointed out on several[0][1] privacy focused browser extensions that haphazardly included Wikiless.
[0]: https://framagit.org/tom79/nitterizeme/-/issues/61#note_1122...
[1]: https://github.com/SimonBrazell/privacy-redirect/issues/232#...
https://web.archive.org/web/20221125051241/https://orenom.fi...
The repo: https://codeberg.org/orenom/wikiless
It's part of https://www.opendesktop.org which is basically an open-source, free cloud services provider.
HN talk about it: https://news.ycombinator.com/item?id=34012307
Why is their UI (which is Forgejo, fork of Gitea) such a blatant clone of GitHub’s?
I'm guessing for the same reason all cars have the steering wheel and turn signal switch in roughly the same place.
because their project goal is to iterate on the ownership model, not to iterate on the web design.
I use a self-hosted forgejo instance now (as of like, a week ago, let's see if I stick with it haha). I like GitHub the piece of software just fine, but I don't like the idea of my code training copilot. I think the design of GitHub is fine and people already know it, so I like that. If the reason you would want to not use GitHub is the design, gitea or forgejo will probably not be to your liking.
We have talked about UI refreshes over the years, but it would be a huge undertaking while also keeping up with the rapid iteration.
It's not a bad thing per se. GitHub has an okay interface, why not copy the good parts instead of reinventing the wheel for the sake of it?
GitHub is perceptibly slower than Codeberg, just open 2 tab side by side and try them out.
Hope this one fares better than GitLab. At least they seem to have thought about governance from the start.
To truly fix open source we need a platform that makes maintaining (and potentially merging similar projects) a breeze. And make sponsorship simple, and make it work. Otherwise new projects will keep popping up on new platforms, and go stale instantly once the maintainer runs out of the passion fuel.
Disclaimer: I just love what they do, I am not part of the team and don't hold any of their tokens.
Of course, Codeberg is not saying GitHub sells your data, but it seems to imply someone is selling your data if you don't use Codeberg and instead use other services. Is there any backing for this? Who sells your data if you use GitHub that won't sell your data when you use Codeberg?
Even if the code is licensed under an open source license, in most cases it requires users to attribute the original author, while in some cases derivative work must be licensed under the same license too.
GitHub Copilot use the code without honoring these obligations.
In the early days (months after public release not beta), it would literally give you code stolen from someone's repo, sometimes with credentials (security risk) and project specific stuff. That means because you took code verbatim to the naked eye you would be held liable for license violation.
(account creation/major use case/etc).
> Codeberg e.V. is a registered non-profit association based in Berlin, Germany.
https://docs.codeberg.org/getting-started/what-is-codeberg/#...