Please don’t upload my code to GitHub
This is a call to free/libre and open source software developers to not upload the work of others to GitHub.
What’s the problem with GitHub?
Well, there are a lot of problems with GitHub. Here, we will mainly focus on a feature called Copilot, but if you’re interested to learn more about the other issues, please visit this page.
What is Copilot?
According to GitHub,
GitHub Copilot is an AI pair programmer that helps you write code faster and with less work. It draws context from comments and code to suggest individual lines and whole functions instantly.
— https://github.com/features/copilot
However, we know that LLMs (so-called AI) need to be trained on enormous datasets in order to work. In that case, Copilot learns by scanning GitHub repositories:
GitHub Copilot is trained on billions of lines of public code. The suggestions it makes to you are adapted to your code, but the processing behind it is ultimately informed by code written by others.
— https://github.blog/2021-06-30-github-copilot-research-recitation/
The problem is that this so-called public code is not always under public domain dedication. Sometimes, the code is licensed under a copyleft license (such as GPL), which requires any modification of the source code to be redistributed under the same license as the original. Sometimes, the code is licensed under a permissive license (such as ISC), which, at the very least, requires the inclusion of authorship information and license text.
However, when Copilot suggests pieces of code, it doesn’t include any notice of the original author, nor does it mention anything about the license. This can lead to some copylefted code being included in projects that do not have the legal right to use it (such as proprietary projects or projects that are not copyleft licensed). This is a violation of both the license terms and the intellectual property of the authors of the original code.
We are tired of this legal abuse and want it to stop immediately! Microsoft has been attacking copyleft licensing for years, and we want that to end. We would like to protect our work.
So, just don’t put your code on GitHub, what’s the big deal?
The issue is bigger than it seems. Even if a project is not hosted on GitHub, other people have the legal right (depending on the license) to redistribute the source code. That means they have the right to share the code of others on GitHub, as long as they respect the terms of the license. This is totally legal. But then, Copilot will be able to analyze the code and possibly violate the license terms, which isn’t legal.
This is why we ask you, as other developers of the free/libre and open source community, not to upload our code to GitHub.
Is this a legal document?
No, it isn’t. If the project is under an free/libre and open source license, it means that everyone can share a copy – even on GitHub – of the licensed material under certain conditions. A license restricting this right wouldn’t be free/libre and open source anymore. However, since GitHub may not respect the terms of licensed code that is hosted on their servers, not uploading the code of others there is, in fact, a deeply ethical choice.
How do I ask others not to share my code on GitHub?
If you want, you can add our badges to your website or to your repository’s README:
Asciidoc:
[#badge,link=https://nogithub.codeberg.page]
image::https://nogithub.codeberg.page/badge.svg[Please don't upload to GitHub,120,100]
[#badge,link=https://nogithub.codeberg.page]
image::https://nogithub.codeberg.page/badge-sq.svg[Please don't upload to GitHub,120,100]
Markdown:
[](https://nogithub.codeberg.page)
[](https://nogithub.codeberg.page)
HTML:
<a href="https://nogithub.codeberg.page"
><img
src="https://nogithub.codeberg.page/badge.svg"
alt="Please don't upload to GitHub"
/></a>
<a href="https://nogithub.codeberg.page"
><img
src="https://nogithub.codeberg.page/badge-sq.svg"
alt="Please don't upload to GitHub"
/></a>