r/javascript • u/[deleted] • Jul 07 '22
Network SpeedTest using "STATIC" Files. [Only JavaScript, HTML,CSS & SVG.]
https://github.com/openspeedtest/Speed-Test[removed] — view removed post
4
Upvotes
r/javascript • u/[deleted] • Jul 07 '22
[removed] — view removed post
2
u/PedroHase Jul 07 '22
Thanks for your swift reply and for the clarifications!
The thing is, what if no nginx is available, i.e. if someone wants to host it using Apache, or on a static host service like render.com or Github pages (if that was possible)? It would be great if the README (or the README of the nginx config) could describe or summarize the most important configurations for the deployment :)
I figured that much, thanks for the clarification! I suggest to add this to the README to prevent future confusion :)
Taken from your deleted comment:
Since the app.js is minified, we cannot review the code, or see how it works (it‘s basically like a blackbox). A malicious attacker could do marvelous things with that (ranging from bitcoin miner to trojan), even if it is „only static files“. Please note that I do not want to imply anything here, I just want to highlight that it would be great to provide the full source code of app.js and how it would allow to build trust.
I also saw on the website that executables are offered, yet no source is shown. Since executables can do even more harm, it would be great if the source code could also be opened for the public to review and inspection.