As a developer, one of the most important decisions you make when publishing code is which license to use. Personally, I choose the GNU General Public License v3 (GPLv3) for nearly all of my projects.
Here’s why, and what you can do if someone tries to steal your code or claim it as their own.
The GPL is a copyleft license. That means:
This ensures that your work stays free and open source forever. No company can legally close-source it, rebrand it, and sell it back to you.
By contrast, permissive licenses (MIT, BSD, Apache, etc.) allow redistribution without that requirement. Someone can take your code, hide the source, and profit from it without giving anything back.
you can read the full GPLv3 text here: https://www.gnu.org/licenses/gpl-3.0.en.html
also check lukesmith.xyz article on why he uses gpl i have added some points from his article below
Permissive licenses (commonly referred to as “cuck licenses”) like the MIT license allow others to modify your software and release it under an unfree license. Copyleft licenses (like the Gnu General Public License) mandate that all derivative works remain free.
Some developers argue that MIT or BSD licenses are “freer” because they impose fewer restrictions.
But as Luke Smith argued in his well-known essay “Why I Use the GPL and Not Cuck Licenses”, permissive licenses often end up serving corporations rather than communities.
Key takeaways from his perspective:
Context:
Andrew Tanenbaum developed MINIX, a modular operating system kernel. Intel went ahead and used it to build Management Engine, arguably one of the most widespread and invasive pieces of malware in the world, without even as much as telling him. There’s nothing Tanenbaum could do, since the MIT license allows this.
Erik Andersen is one of the developers of Busybox, a minimal implementation of that’s suited for embedded systems. Many companies tried to steal his code and distribute it with their unfree products, but since it’s protected under the GPL, Busybox developers were able to sue them and gain some money in the process.
Interestingly enough, Tanenbaum doesn’t seem to mind what intel did. But there are some examples out there of people regretting releasing their work under a permissive license.
References: https://lemmy.world/comment/10690861
In short: permissive licenses can look generous, but they make it easier for your work to be absorbed into proprietary systems. GPL prevents that.
This isn’t really “software piracy” — it’s plagiarism or license violation.
Fortunately, both GPL and MIT/BSD already protect you:
So as long as you choose a license, you’re covered.
Here’s a step-by-step action checklist if you find a violation:
Send a polite but firm notice. Example:
“Your project [link] uses my code from [link] but does not comply with GPLv3. Please restore attribution and comply with the license within 7 days.”
If ignored, make it public. Post an issue or blog about the violation. Communities often side with the original author.
File a takedown with the hosting platform (GitHub, GitLab, etc.).
If it’s a company profiting from your work:
Subject: License Violation Notice – [Your Project Name]
Hello [Name/Team],
I am the copyright holder of [Project Name], published at [repo link].
Your project [violating project link] uses my code but does not comply with [GPLv3/MIT].
Please restore attribution and comply with the license within 7 days.
If not, I will escalate with a DMCA request and legal action.
Sincerely,
[Your Name]
To: [Hosting Platform DMCA Email]
Subject: DMCA Takedown Request – Unauthorized Use of [Project Name]
I am the copyright holder of [Project Name], originally at [repo link].
The repository [infringing link] contains my code without license compliance.
I request removal of this repository.
This claim is made in good faith and under penalty of perjury.
Name: [Your Full Name]
Email: [Your Email]
Signature: [Your Name]
Date: [Date]
Choosing the GPL is not just about protecting yourself — it’s about protecting users’ freedom.
With GPL, your work remains open, and violators risk real legal consequences.
With MIT/BSD, your name must stay, but your code can still be locked away inside proprietary software.
With no license, you give up all control.
If you value freedom, recognition, and fairness in software, the GPL is your strongest tool.