radiobrowser-api-rust
radiobrowser-api-rust copied to clipboard
Create simple server-rendered html endpoints/lists/search without Javascript usage
I will make sure radio-browser.info is listed the Free Software Directory if you can make it fully compatible with LibreJS.
@segler-alex This is the only issue that I really care about for 100% right now. Nonfree JS is taken serious in the free software community since a few years back. I suggest that you install LibreJS and read the error messages it displays for radio-browser.info.
You said that you are rewriting this project in Rust, this is a golden opportunity to get rid of nonfree JS.
What do you think what I just said?
what is non free javascript? i did not know what librejs is. so i looked at the homepage. i tried the firefox extension they offer. it would not install on newest firefox. i still don't know :( could you point me in the right direction?
Please try to install LibreJS from addons.mozilla.org.
https://addons.mozilla.org/en-US/firefox/addon/librejs/ says:
For explanation of the issue, see The JavaScript Trap.
LibreJS in inbuilt in GNU IceCat. IceCat is a freedom focused browser based on Firefox ESR. Please read the IceCat Free Software Directory page that I maintain to understand the differences between Firefox ESR and IceCat and why this project is important.
@segler-alex The official web page for LibreJS mentions this:
Releasing Your JavaScript as Free Software
If you administer a website, please read instructions on how to set your JavaScript free so that it respects your users' freedom. This is also documented in this section of the LibreJS manual.
I strongly recommend that you don't use any JS at all to list the radio stations at all to make the site compatible with text base radio browsers, and that you use free JS for the media player that's inbuilt in radio-browser.info.
it is not possible to not use JS. i split the program in to parts:
- the server part: only give a public API who anybody can use
- a client part: html+js that does check the public API
you need at least some kind of program that does check the API, and JS can do that. i do not want to go back to that bad PHP all in one solution, that did not nead JS but also was a mess and hard to manage.
@segler-alex Please have a look at this issue again.
it is not possible to not use JS. i split the program in to parts:
* the server part: only give a public API who anybody can use * a client part: html+js that does check the public API
you need at least some kind of program that does check the API, and JS can do that. i do not want to go back to that bad PHP all in one solution, that did not nead JS but also was a mess and hard to manage.
Then it is possible to do without JS but not convenient with PHP. I thought you were going to rewrite the site in Rust, is it convenient enough to solve this issue?
Thanks for the merge and title change.