Add licensing details to JavaScripts according to GNU LibreJS #719
Replies: 2 comments 4 replies
-
You're correct in that the tracker is MIT licensed to avoid any virality issues on external pages.The rest of the product is licensed under AGPL. Adding a comment will increase the size of the script (we are counting every single byte). Is there any other way to provide a license hint to LibreJS? |
Beta Was this translation helpful? Give feedback.
-
@ukutaht what do you think about something like this for the admin interface of Plausible? https://invidious.snopyta.org/licenses |
Beta Was this translation helpful? Give feedback.
-
Thank you for an awesome tool for website analytics!
About GNU LibreJS
This basically requires the JS files to have a type of comments which specify the license, original source (if the file is minified), link etc. As far as I understood all the JS files we have are under AGPL license (and tracking one is in MIT), so it will be great to mark those files with the metadata.
Setting Your JavaScript Free
Especially the tracking script can be easy one to start with. I'm don't know JavaScript much, but if required I can spend time and see what can be done to get this done (at least for the tracking script).
For the
/settings
pageFor the tracking script
Beta Was this translation helpful? Give feedback.
All reactions