开发者

Do I have to open source my project if I use a piece of code licensed under GPL as a part of my project? [closed]

开发者 https://www.devze.com 2022-12-23 02:04 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

This question does 开发者_C百科not appear to be about programming within the scope defined in the help center.

Closed 7 years ago.

Improve this question

If there is a javascript library that is licensed under a Copyleft license like the GPL, what must I do to use it? Would I have to make my whole website open source just because I used that javascript library?


It seems that this is still a matter of debate. The stance taken by the Free Software Foundation, which holds all of the GPL copyrights and enforces them, is that any code that links with GPL code, whether statically or dynamically, must also be under the GPL. So in this case, yes you would have to open source your project - but only if you were to distribute it at all. Nothing is forcing you to distribute your code.

So I would agree that you're ok with using it. Personally, I wouldn't use any GPL code in a website that sells anything as part of a for-profit company, even though it's probably legal too (it's likely considered the "output" of the code). The realm of free software licenses in regards to web code is still not completely clear, so I try to follow the spirit of the rules when I can.


I'm not a lawyer so take my advice with the grains kilotonne of salt it deserves. From the GPL:

To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.

...

You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force.

So I would take this to mean, no, only the used library has to stay under the GPL as per the license. The license stipulates it must be displayed and unchanged, that is all.

0

精彩评论

暂无评论...
验证码 换一张
取 消