Please don’t upload my code on GitHub


This is a call to open source developers to not upload the work of others on 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 others, 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.

The question is where does it know how to code? Well, it 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.

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.

However, when Copilot suggests pieces of copylefted code, it doesn’t include any notice of the original author, nor the license. This can lead to some copylefted code being included in proprietary or simply not copylefted projects. And this is a violation of both the license terms and the intellectual proprety of the authors of the original code.

We are tired of this legal abuse and we want to stop right now! Microsoft has been attacking copyleft licensing over the years. In short, 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. It means that they have the right to share the code of others on GitHub, as long as they respect the terms of license. This is totally legal. But then, Copilot will be able to analyze the code and violates the license terms, which isn’t.

This is why we ask you, as other developers of the open source community, to not upload our code on GitHub.

No, it isn’t. If the project is under an 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 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, an ethical choice.

How to ask others to not share my code on GitHub?

If you want, you can add our badge to your website or to your repository’s README:

Please don’t upload to GitHub


[![Please don't upload to GitHub](](


<a href=""><img src="" alt="Please don't upload to GitHub"></a>