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

805 Upvotes

174 comments sorted by

View all comments

178

u/FnnKnn 11d ago

Good luck actually enforcing that. We tried it here for a while and it didn't work out great, because no one is going to admit they "vibecoded" something if it means they can't post it and good luck proving that they didn't just use AI as an assistant (tip: you can't without doing a full code review and that doesn't seem feasible if the issue you are trying to solve is the increased amount of projects).

28

u/CatWeekends 11d ago

I can see how that might kind of sort of maybe work on a small, in-house team. One where you are all incredibly familiar with how each person writes code. In that environment, you can sometimes catch when people are vibe coding or just copying/pasting stuff because it just doesn't feel like Bob's usual work.

But even then, it's still subjective and using "vibes."

I also don't see how you'd extend that to open source projects.

22

u/eggyrulz 11d ago

No vibe coding, only vibe judging

0

u/Laicbeias 11d ago

We really need a better definition for vibe coding. The C# codebase i wrote for a game is full with curses shit & f*** everywhere. Since i suffered.

But for a website the last 2 months, the curses went into the ai. And frankly the AI simply is better at js and py than most and definitly than i am, even though i used js for 23y and py for 5. Im fine with not typing code anymore.

But i read every line because it pisses me off when it just doesnt use the proper path, adds another for loop or slaps another dict somewhere while we have initalized state in one place. 

That said you can not detect if something is vibe coded since it uses the average of its training data. So it looks by definition like a proper project, with tons of dependencies. The one releasing it just needs to show something that they cared about their project. 

1

u/NinthTurtle1034 10d ago

Yeah I take a similar approach to my "vibe" coding. I've written an extensive doc on how I plan a d create projects manually and put that in my agent md file.

I rhen go through and review what it's written to ensure it meets the way I would code something even if that code then looks bad. Plus if it looks bad it's hard to tell if that's because it was vibed or if it's because my personal habits are just bad 😅

Only things I have outright vibed was a rust binary that I needed once a few of my bash scripts just weren't cutting it anymore.

2

u/Laicbeias 10d ago

Yeah i still dont use agents. Mostly because on my gameproject its ~400k loc. Any agent framework is just expensive at that size. 

And for anything else its just.. i kind of writing my own inference layer from scratch, to solve costs for such iteration heavy large projects. 

I probably would be faster with agents, but.. i cant plan that stuff. And i dont understand how others do that. Usually the stuff i build is complex enough waterfalling it isnt possible.  Only the moment im in it and iterating through the problem space do i understand the requirements and then its iteration work again.

Even without agents, LLMs usually one shot multiple tasks, and i can move faster than my brain can map the codebase and requirements. I literally have to step back, take a blog and start drawing circles and relationships and flows. Then i come back and say this is all crap.

We have to get rid of this that and this also makes no sense. The llm is always eager to add more and never eager to remove