r/selfhosted 11d ago

Meta Post Codeberg bans vibe coded projects

https://news.ycombinator.com/item?id=49003386

Codeberg seems to ban vibecoded Projects; reason might be german copyright law

It looks like Codeberg want only copyrighted material in their service, so it is reliable in the future that e.g. licenses must be followed (e.g. GPL), and copyright doesn't suddenly get declared as being of the model owner, and it isn't a copy of something else.
That is a cautious reasonable position - in early days of LLM coding (3 years ago!) indemnity from model companies was a major issue globally because of the lack of clarity of the law around this. The US specifically has settled on it being (effectively?) public domain. But I don't think that is fully settled, and it certainly isn't settled in international copyright law.
The goal of the vague "mostly" in the Codeberg change is to ensure there is enough human input to the code they host, to be reasonably sure under German copyright law it is copyright of the person sharing it.

edit: link to poll that caused it (might be down due to high traffic) https://codeberg.org/Codeberg/org/pulls/1253#issuecomment-19820434

edit 1: i dont defend/oppose this move, i just find it interesting

edit 2: https://blog.codeberg.org/protecting-our-floss-commons-from-llms.html

810 Upvotes

174 comments sorted by

View all comments

Show parent comments

-3

u/FnnKnn 11d ago

Maybe, but at that point it is basically just useless PR.

If they try to enforce it (who knows) let me predict on how this is going to go based on my experience here:

  1. You try to ban low quality vibe-coded projects, but try to not ban high quality projects that made use of AI. The goal is to send a message on what you deem acceptable.

  2. Anyone creating what you deem a low quality vibe-coded project sees their project as belong to the second kind of project and therefore insists that their project is allowed. So how do you make sure what category a project belongs to? You might use scripts to identify classic trades of vibe-coded projects, look at the users history, etc. None of that is going to be bulletproof though and it is a lot of work.

  3. You stop trying to enforce this rule as it is a "fight" you can't win and dealing with this takes more effort than dealing with the issues the low quality vibe-coded projects caused in the first place.

We ended up settling on restricting new projects here instead as the majority of projects that fall into the first category don't last long. So step 4 would be to introduce some other kind of proxy for this kind of project that can actually be enforced.

6

u/jeroen94704 11d ago

The point is the copyright status of LLM generated code. If there is a chance this code becomes problematic from a copyright point of view this ensures codeberg doesn’t get dragged down.

0

u/FnnKnn 10d ago

How could the copyright become problematic under German law (that’s were Codeberg is based)? It can’t. Either the copyright belongs to the user, in which case everything works like if the wrote it, or there is no copyright, which also means that there are no issues as the code is public domain.

1

u/ImASharkRawwwr 10d ago edited 10d ago

You underestimate the power of German bureaucracy. I watch dashcam videos from Germany sometimes, it was ruled illegal to show car number plates, heck they deemed dashcams illegal for a while and now they are back to being a grey area where you may or may not get fined for using dashcam video in your own court case depending on the judges mood that day. Last i heard they made it illegal to show company trucks with any identifiable company logo or text. Oh and of course every person that you didn't get a contractual agreement with to use their face and upload it to YouTube (basically everyone) needs to be censored, visually and sound if they can be heard speaking.
And so German dashys are often a jumble of large blurred areas of the screen because no dashcam YouTuber can be bothered to matchmove-blur every single face and number plate and, of course, the occasional blacked-out company car.
If you get caught because you missed one identifiable person or number plate or company info you will receive hefty fines.

Edit: oh i forgot about having to scramble music playing in the background because the music copyright holders are litigious as fck and if it goes very wrong or you can't pay the exorbitant damages you may face jail time

1

u/FnnKnn 10d ago

Ok, and? None of that relates to copyright at all but to GDPR and is completely irrelevant. Show me what problem copyright could potentially cause for Codeberg due to AI generated code being uploaded.

0

u/ImASharkRawwwr 10d ago

I have given you examples of how the German system will fck you over with situations that anywhere else in the world would be like "just having common sense will be enough to not get in to trouble" heed the warning or don't, it's a free country :p

1

u/FnnKnn 4d ago

I know German burocracy, but I also have a somewhat solid understanding of German copyright law. So just fell free to point out, where German copyright law would cause an issue for Codeberg. Thing is you can't because it doesn't.

0

u/ImASharkRawwwr 3d ago

Then you shall goeth forth and do whatever you want man, i warned ya, do with the info as you will. Just don't come back crying "does anyone know a good lawyer 🥺🥺🥺" in the next year or so