views:

72

answers:

2

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?

+2  A: 

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.

and

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.

Mimisbrunnr
Thanks for the edit paxdiablo
Mimisbrunnr
+1  A: 

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.

Tesserex