client icon indicating copy to clipboard operation
client copied to clipboard

Can Fosscord be made LibreJS compilant?

Open ghost opened this issue 4 years ago • 7 comments

GNU LibreJS is a Mozilla Firefox addon which filters out non-free and non-trivial JavaScript from any website. As Fosscord is already Free Software, licensed under the AGPL, can it be possible to make it LibreJS compliant? The GNU project has also published some guides on how to free your Javascript here and here. Thank you.

ghost avatar Aug 05 '21 05:08 ghost

There is no need for that cause we will write all our code ourself and publish it to GitHub under the gpl license. The code you're currently mentioning is only found the the testclient which is not the final product.

xnacly avatar Aug 05 '21 09:08 xnacly

He is talking about the licenses of the modules we are using.

samuelscheit avatar Aug 05 '21 09:08 samuelscheit

Yes, but just specifying a known license won't do any harm I guess.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Thursday, August 5th, 2021 at 2:46 PM, xnacly @.***> wrote:

There is no need for that cause we will write all our code ourself and publish it to GitHub under the gpl license.

The code you're currently mentioning is only found the the testclient which is not the final product.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub, or unsubscribe.

Triage notifications on the go with GitHub Mobile for iOS or Android.

LordRishav avatar Aug 05 '21 09:08 LordRishav

Even if all the code is public, I think it's important to let the users know that it is and where they can find it. For example how would a user find the corresponding source code to this script?: https://app.fosscord.com/cdn-cgi/challenge-platform/h/b/orchestrate/jsch/v1

I assume it is in this repository somewhere, but I cannot seem to find it. If someone visited that website without first finding this repository, they would see nothing to suggest that the application the website sends them is free software. I don't think LibreJS-compliance is strictly necessary, as long as it's easy for a human to find the corresponding source code (and know that it's corresponding) without first executing the script itself.

JacobKotrla avatar Dec 15 '21 20:12 JacobKotrla

@LordRishav due to how its built, this isn't reasonable. We have no control over what other node packages do with their licensing. LibreJS is a curse to any serious attempt at web development, as using any framework at all will make it automatically not be LibreJS compliant. This only works if you're writing everything from scratch which would be a huge undertaking, way bigger then what we do now.

TheArcaneBrony avatar Dec 15 '21 20:12 TheArcaneBrony

I assume it is in this repository somewhere, but I cannot seem to find it. If someone visited that website without first finding this repository, they would see nothing to suggest that the application the website sends them is free software. I don't think LibreJS-compliance is strictly necessary, as long as it's easy for a human to find the corresponding source code (and know that it's corresponding) without first executing the script itself.

Yeah if LibreJS isn't feasible, this way is good as well. Have the link of the source code hosted on Github inside a source file. Having an extension automatically check whether a file is free or not is convenient still, but I can understand why it is not possible.

LordRishav avatar Dec 17 '21 06:12 LordRishav

Well, the issue lies in dependencies. As soon as you import anything its automatically not librejs compliant, which will result in your code not executing since a script it loads isnt compliant. Though, yes, we can add github links to our code.

TheArcaneBrony avatar Dec 17 '21 08:12 TheArcaneBrony