OdyseeTeam / odysee-api

API server for Odysee
https://odysee.com
MIT License
228 stars 49 forks source link

Support for LibreJS #312

Closed JYamihud closed 3 years ago

JYamihud commented 3 years ago

Problem

A lot of GNU/Linux YouTubers moved to LBRY or synced with it at least. @Lunduke even deleted his YouTube videos. And now posts on LBRY exclusively. So I was surprised when on FSF.org in their Social Network recommendations they don't list LBRY.

I know that the code of this web site is Free Software. But for most people the easy way to check it is to see whether the site runs under LibreJS. Or at least supports NON-JavaScript mode.

Me personally. I know that the license for the entire site is fine. So I whitelisted LBRY.TV and ODYSEE.COM in my LibreJS. GitHub for example works. But blocks 8 scripts.

On LBRY nothing loads. 1 script is blocked. This one. Which probably loads the rest of the site.

LibreJS works by evaluating the complexity of each JavaScript. And if it's anything more then trivial it checks for a License. And it does it for each script independently. If a script has no license. Or the license is not Free. It blocks that script from running.

By not putting a license into the text of the JavaScripts. We prevent a large amount of people from endorsing the platform. So a thing should be done about it.

How to fix the problem

To fix the problem we need to do next:

Another possible solution:

tzarebczan commented 3 years ago

Thank you for the issue, this is filed under the front end at https://github.com/lbryio/lbry-desktop/issues/5327