4 ms·
It says it's GPL. So yes you can use it in a commercial project as long as it is also GPL. Also, any license that restricts commercial use is neither Open Sourc
by dec0dedab0de 3y ago
It says it's GPL. So yes you can use it in a commercial project as long as it is also GPL. Also, any license that restricts commercial use is neither Open Source as defined by the OSI, nor is it Free Software as defined by the FSF.
- pcthrowaway 3y agoIANAL, but I think it'd be OK to use it as long as you're not transpiling/minifying/bundling it in with your code[1]. Since it's Typescript, you obviously need to transpile to Javascript and host it somewhere you control for security (your own server is fine, just make sure the GPL license text is embedded). This is your GPL-respecting distribution of the software Then in your webpage's index.html or other markup, include a `<script>` tag that links to it. I believe this is all you need to be compliant with GPL. [1]: https://unbiased-coder.com/can-you-use-gpl-in-closed-source/#Dynamic_vs_Static_Linking https://unbiased-coder.com/can-you-use-gpl-in-closed-source/... edit: much more detail in this answer: https://opensource.stackexchange.com/a/4385/10533 https://opensource.stackexchange.com/a/4385/10533 If there's any doubt, it seems like you'd be safe releasing a GPL-ed service worker which your website calls, as the boundary when calling a service worker is definitely enough for it to be deemed communication between two distinct pieces of software. This might be a bit difficult with a library that removes the background from your webcam though
- dec0dedab0de 3y agoI believe those links are talking about exceptions, and the LGPL. Any exception would have to be granted by the copyright holder, and the LGPL is a different license which is designed for allowing libraries to be linked into non GPL code.