# Should an addon be licensed under GPL or proprietary license?

**URL:** <https://forums.ankiweb.net/t/should-an-addon-be-licensed-under-gpl-or-proprietary-license/21575>\
**Category:** Add-ons\
**Created:** [July 19, 2022, 2:22am UTC](https://forums.ankiweb.net/t/should-an-addon-be-licensed-under-gpl-or-proprietary-license/21575 "2022-07-19T02:22:48Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![anly](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@anly](https://forums.ankiweb.net/u/anly)\
**Post date:** [July 19, 2022, 2:22am UTC](https://forums.ankiweb.net/t/should-an-addon-be-licensed-under-gpl-or-proprietary-license/21575/1 "2022-07-19T02:22:48Z")

</div>

According to GNU GPL, any modifications to a software licensed under GPL should also be licensed as GPL by virtue of the license “viral” nature.

**Question** : Is an addon a modification of Anki or is it an independent work that can have proprietary license?

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [July 19, 2022, 7:19am UTC](https://forums.ankiweb.net/t/should-an-addon-be-licensed-under-gpl-or-proprietary-license/21575/2 "2022-07-19T07:19:10Z")

</div>

According to the [Terms and Conditions](https://ankiweb.net/account/terms) page:

> As add-ons extend the computer version, they must be licensed under the AGPL3 or a compatible license. If you do not explicitly state a license, it will be assumed to be AGPL3.

---

<div class="post-metadata">

**Author:** ![anly](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@anly](https://forums.ankiweb.net/u/anly)\
**Post date:** [July 19, 2022, 10:12am UTC](https://forums.ankiweb.net/t/should-an-addon-be-licensed-under-gpl-or-proprietary-license/21575/3 "2022-07-19T10:12:50Z")

</div>

Ok. Any opinion with what’s going on with Anki and AMBOSS? How does it affect the licensing of the latter as Anki is under AGPL3?

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [July 19, 2022, 1:06pm UTC](https://forums.ankiweb.net/t/should-an-addon-be-licensed-under-gpl-or-proprietary-license/21575/4 "2022-07-19T13:06:10Z")

</div>

I don’t have a definite answer as I’m not knowledgeable about licensing, but I think AMBOSS is in the clear as its source is available?

---

<div class="post-metadata">

**Author:** ![ODeer](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/odeer/32/10217_2.png) [@ODeer](https://forums.ankiweb.net/u/ODeer)\
**Post date:** [July 19, 2022, 3:26pm UTC](https://forums.ankiweb.net/t/should-an-addon-be-licensed-under-gpl-or-proprietary-license/21575/5 "2022-07-19T15:26:23Z")

</div>

Maybe this touches on the same topic that was raised on the reddit earlier, about the new AnkiHub plugin.

In that case I assume they’re in the clear because the add-on itself should be freely available but you require a subscription to use the collaborative deck features.

---

<div class="post-metadata">

**Author:** ![O3nnM7LP5GzFMBS](https://avatars.discourse-cdn.com/v4/letter/o/c5a1d2/32.png) [@O3nnM7LP5GzFMBS](https://forums.ankiweb.net/u/O3nnM7LP5GzFMBS)\
**Post date:** [July 20, 2022, 3:37am UTC](https://forums.ankiweb.net/t/should-an-addon-be-licensed-under-gpl-or-proprietary-license/21575/6 "2022-07-20T03:37:34Z")

</div>

But doesn’t AGPLv3 explicitly cover servers?

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [July 21, 2022, 3:32am UTC](https://forums.ankiweb.net/t/should-an-addon-be-licensed-under-gpl-or-proprietary-license/21575/7 "2022-07-21T03:32:22Z")

</div>

AFAIK, AGPL was intended to prevent people from modifying open source code, hosting it on a server, and failing to provide the modifications to others. That’s not what’s happening here - assuming the add-ons are being released under a compatible license, I do not believe they are breaking the license by making network connections to proprietary services.

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [September 23, 2022, 10:24pm UTC](https://forums.ankiweb.net/t/should-an-addon-be-licensed-under-gpl-or-proprietary-license/21575/8 "2022-09-23T22:24:40Z")

</div>

> [@abdo](#):
>
> but I think AMBOSS is in the clear as its source is available?

BTW, I’m working on some minor modifications to the AMBOSS add-on and found out that the JS files are minified/obfuscated. I think this is [against the AGPL](https://softwareengineering.stackexchange.com/questions/62885/must-source-code-released-under-gpl-be-human-readable) if the original un-obfuscated files are not made available (I don’t think they currently are)?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/8/8e08b6b31de4567ad503f36cb2459c5d3bc9e132.png)

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [September 26, 2022, 2:32am UTC](https://forums.ankiweb.net/t/should-an-addon-be-licensed-under-gpl-or-proprietary-license/21575/9 "2022-09-26T02:32:49Z")

</div>

IANAL, but my understanding is that they should be providing the original source.

---

<div class="post-metadata">

**Author:** ![dylanmcooper](https://avatars.discourse-cdn.com/v4/letter/d/85f322/32.png) [@dylanmcooper](https://forums.ankiweb.net/u/dylanmcooper)\
**Post date:** [March 28, 2023, 10:01pm UTC](https://forums.ankiweb.net/t/should-an-addon-be-licensed-under-gpl-or-proprietary-license/21575/10 "2023-03-28T22:01:40Z")

</div>

Sorry to revive an old thread, but did you ever figure out how to make modifications to the addons code?

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [March 28, 2023, 10:51pm UTC](https://forums.ankiweb.net/t/should-an-addon-be-licensed-under-gpl-or-proprietary-license/21575/11 "2023-03-28T22:51:17Z")

</div>

I only made minor modifications like disabling the tooltips inside content matching certain CSS selectors. At the time, I was mainly interested in figuring out how the add-on highlights words that span across multiple elements (like partially bolded words). It turns out it uses [mark.js](https://markjs.io/).  
If you plan to make major modifications, maybe try your luck with some JavaScript deobfuscator/unuglifier first.

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [March 28, 2023, 11:19pm UTC](https://forums.ankiweb.net/t/should-an-addon-be-licensed-under-gpl-or-proprietary-license/21575/12 "2023-03-28T23:19:41Z")

</div>

I actually emailed AMBOSS about publishing the full sources but got no reply. Maybe @glutanimate can help.
