TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Can I charge GitHub for using my code in Copilot?

39 pointsby ingvulalmost 4 years ago
Since Copilot is regurgitating licensed code without attribution, I pondering many options:<p>1. sue GitHub (they will probably win since they can afford the best lawyers in the planet)<p>2. don&#x27;t use GitHub for future projects. Remove all my current repositories (does this guarantee GitHub can&#x27;t use my code without attribution? My code is probably still in their Code Vault)<p>3. use GitHub but use a license that explicitly denies usage of my code by Copilot (GitHub probably would probably just say &quot;you can&#x27;t do that, please just delete your account&quot;)<p>4. use GitHub but ask them to pay me for using my code without attribution<p>Option 1 is a waste of money and time for me (I will never win). Option 2 is fine, but I&#x27;m not sure what could stop GitHub scrapping public repos hosted in, let&#x27;s say, GitLab. Option 3 would be the ideal case for me. Option 4: would be nice, but probably won&#x27;t happen.

14 comments

bluewaltalmost 4 years ago
I don&#x27;t understand all the yelling about this Copilot stuff.<p>1) It&#x27;s not your code that is proposed by copilot, but a mix of thousands and thousands codes, that can not be linked to one specific person. It&#x27;s like you take 1000 portrait photos and make a new one. How can you prove your photo has been used?<p>2) How what&#x27;s done by Github is causing you any damage, directly or indirectly? If you want to sue someone, you&#x27;d better prove any damage to a judge.<p>3) Because of all of this yelling, I&#x27;m pretty sure Github will add a per-repository option to disable code scraping. But I still don&#x27;t understand what you&#x27;ll win.
评论 #27727226 未加载
评论 #27726421 未加载
blhackalmost 4 years ago
Can you charge me if I read your open source code, and then write my own?
评论 #27726013 未加载
评论 #27725918 未加载
Something1234almost 4 years ago
I&#x27;m feeling like we need a new gpl. One that prohibits training machine learning models that regurgitate code directly.
评论 #27725786 未加载
评论 #27725645 未加载
lackeralmost 4 years ago
No, you cannot charge GitHub for using your code in Copilot. It&#x27;s the same as you cannot charge all humans that read your code for reading it. You are free to make your code private, and charge people who want to read it. But you can&#x27;t make your code public and hope to charge money to people who do &quot;fair use&quot; things with it. It doesn&#x27;t matter how your code is licensed.
评论 #27726432 未加载
评论 #27725821 未加载
desperaalmost 4 years ago
<a href="https:&#x2F;&#x2F;twitter.com&#x2F;pragmaticml&#x2F;status&#x2F;1411113232048218119" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;pragmaticml&#x2F;status&#x2F;1411113232048218119</a><p>So yeah, sorry for those who believe that it&#x27;s going to return some &quot;purely algorithmic&quot; code and won&#x27;t just randomly copying code.<p>Also, <a href="https:&#x2F;&#x2F;twitter.com&#x2F;mitsuhiko&#x2F;status&#x2F;1410886329924194309" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;mitsuhiko&#x2F;status&#x2F;1410886329924194309</a><p>Wow, just wow... this has to be regulated FAST.
评论 #27728279 未加载
ingvulalmost 4 years ago
To make this clear: I am a nobody and my code sucks. Now, for a moment, imagine the same question is stated but by developers who are actually great contributors to the open source community but can&#x27;t (or don&#x27;t want to) openly ask these kind of questions regarding Copilot (this is actually why I&#x27;m posting this, one of these great contributors is a close friend of mine).
评论 #27725581 未加载
tyingqalmost 4 years ago
There could be an &quot;Option 5&quot; where you find a way to get Copilot to ingest large amounts of broken, dangerous, etc, code.
评论 #27725659 未加载
评论 #27725736 未加载
评论 #27725678 未加载
yumrajalmost 4 years ago
&gt; 2. don&#x27;t use GitHub for future projects.<p>Where are you going to go? Self host, sure. Else don’t assume that another code repository won’t do the same thing.<p>Also, how do you know that your code was used? I don’t know if GitHub has published a list of the repositories that were used. Or have they?
onionisafruitalmost 4 years ago
&gt; regurgitating licensed code without attribution<p>The article being discussed at <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27723710" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27723710</a> indicates that they may be adding attribution soon.
thdxralmost 4 years ago
If I had to make an argument for Github I&#x27;d suggest that Copilot is just an advanced search feature. It can be seen as simplifying the workflow of using Github&#x27;s search and then copying the results<p>Not sure if this simplification crosses some threshold
IfOnlyYouKnewalmost 4 years ago
It is unlikely for a generic, short segment of source code to fulfil the requirement for copyright that it comprises an actual &quot;work&quot;.
CodeWriter23almost 4 years ago
I think since you consented to allowing GitHub to “analyze” your source, the answer is likely “no”. I’m not a lawyer and you might want to check with someone who is.
eplanitalmost 4 years ago
It&#x27;s not about Copilot, per se -- but it&#x27;s clear that most users probably didn&#x27;t understand when then signed up that they&#x27;re giving Github (now Microsoft, let&#x27;s not forget) the right to use their code, at all.<p>I&#x27;ve never been comfortable with the idea of trusting IP in places like Github, Google, etc. Although I find Copilot amazing, I find the use of user&#x27;s code as distasteful as I do understandable.
评论 #27726032 未加载
ykevinator3almost 4 years ago
What is copilot?