libbgcode icon indicating copy to clipboard operation
libbgcode copied to clipboard

Thanks for the WASM build!

Open garethky opened this issue 1 year ago • 3 comments
trafficstars

It was really easy to add support for parsing bgcode files to my project. Thank you to whomever it was that put the time into adding the wasm/emscripten build.

If I had one suggestion, it would be to not name your global Module. Name it BGcodeModule or something unique. When you get releases sorted out we can write some typescript bindings for it and make an NPM module.

garethky avatar Nov 28 '23 01:11 garethky

Do note that this code is licensed under AGPL (see eg https://github.com/prusa3d/libbgcode/issues/24) requiring that your project also uses AGPL, but I see that you are using GPL3 instead?

voxpelli avatar Feb 05 '24 11:02 voxpelli

Good news: the AGPL v3 and GPL v3 specifically have cross-compatibility clauses for this use case: https://en.wikipedia.org/wiki/Affero_General_Public_License#Compatibility_with_the_GPL

garethky avatar Feb 05 '24 18:02 garethky

Yeah:

  1. Remote Network Interaction; Use with the GNU General Public License.

Notwithstanding any other provision of this License, if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software. This Corresponding Source shall include the Corresponding Source for any work covered by version 3 of the GNU General Public License that is incorporated pursuant to the following paragraph.

Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the work with which it is combined will remain governed by version 3 of the GNU General Public License.

But does mean that the AGPL terms apply to that code at least so you will be having an AGPL project in disguise kind of

voxpelli avatar Feb 05 '24 19:02 voxpelli