GPL3 license and "vibecoded" code. Accepted provided it's all directed by user? Or goes against GPL3, and is limited to MIT only? #190294
Replies: 4 comments 1 reply
-
|
f you modify GPLv3 code using an AI (vibecoding), the new version must remain GPLv3. Because the original license is copyleft, any derivative work regardless of whether it was written by you or an LLM is legally bound to the same terms. You cannot switch it to MIT if the foundation is GPLv3; you must keep the original license, include a notice of your changes, and ensure the source code stays open to everyone. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for posting in the GitHub Community, @DuckersMcQuack! We're happy you're here. You are more likely to get a useful response if you are posting your question in the applicable category, the Discussions category is solely related to conversations around the GitHub product Discussions. This question should be in the |
Beta Was this translation helpful? Give feedback.
-
|
Hi there! 👋 I saw your discussion and wanted to jump in to give you a definitive answer so you can be 100% sure about your licensing moving forward. To give you the short and direct answer: Yes, this structure is absolutely perfect. It is exceptionally well-organized and goes above and beyond what most open-source projects do. By using this exact structure, you are flawlessly fulfilling all the legal obligations of the GPLv3 license, regardless of whether the code in your Here is exactly why the structure you shared is a gold standard for your situation: 1. You are fulfilling GPLv3 Section 5(a)The GPLv3 license strictly requires that if you modify someone else's GPL code, you must carry "prominent notices stating that you modified it." Your inclusion of the 2. You are preserving Upstream LicensesGPLv3 requires you to keep existing copyright and license notices intact. By keeping the 3. Clear Separation of ConcernsBy keeping your original "vibecoded" project strictly in Two Quick "Pro-Tips" to Make it BulletproofSince you want to be as legally safe and correct as possible, here are two tiny additions to keep in mind:
Final Verdict: You are fully cleared to proceed. Drop your vibecoded files into |
Beta Was this translation helpful? Give feedback.
-
|
The existing answers confirm the GPL3 mechanics correctly, but there's one underlying concern your question touches on that's worth addressing directly: who actually owns AI-generated code, and does that affect GPL3 compliance? The short answer: when you're directing an LLM as a tool, you're the author of the output. The major AI coding tools (Copilot, Claude, ChatGPT) all explicitly state in their Terms of Service that the generated output belongs to you, not them. So from a copyright standpoint, vibecoded code directed by you = your code. This matters for GPL3 because copyleft only functions when there's a valid copyright holder. If you own the output, GPL3 applies to it exactly as it would to hand-typed code. Practical summary for your situation:
The one caveat worth knowing: The US Copyright Office has said purely AI-generated content with no human creative input may not be copyrightable at all. But "vibecoding" where you're prompting, reviewing, iterating, and directing the output has human creative input throughout — so this edge case almost certainly doesn't apply to your workflow. Your folder structure is solid. You're good to proceed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Discussion Type
Question
Discussion Content
I need to make 100% sure regarding the licenses, as i'm very slow on understanding things if written a certain way most of the time. So i need to ask:
If a code under GPL3 has been altered with vibecoding, aka you direct the llm (either locally, or git copilot/claude/gpt etc), Can it too fall under GPL3 provided it follows the same structure of providing it's GPL3 license? Or would vibecoded code only be allowed on git if it's MIT and not using anything that isn't MIT if shared?
As i want to make 100% sure i do things correctly and follow all guidelines properly.
I've asked on reddit, asked claude, and now one last time on github forums to take in as many angles as i can. As GPL3 didn't mention llm/vibecoded/copilot, or anything related, thus i have to ask and make 100% sure.
Beta Was this translation helpful? Give feedback.
All reactions