Open source projects are bad FOSS if they minify .js and .css files?
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Open source projects are bad FOSS if they minify .js and .css files?
Open source projects are bad FOSS if they minify .js and .css files?
I have a poor knowledge in javascript, and a small knowledge in Cascading Style Sheets. But I have found a project that is open source, but has a main part which is javascript. But this javascript file has a name similar to core.min.js . And the CSS files are also minified.
Is there a way to see the original files with open source projects? Or should I use a solution equal or similar to what is described in this StackOverflow question?
I think you mean obfuscation or some sort of compression (e.g. leave unnecessary whitespaces).
By definition such obfuscated/compressed files aren't source-file (as they are generated programmaticaly from the source) so maybe these projects aren't open source on the first place.
I wanted to adjust and change some detail of the project, but they are generated by the javascript, so, it is just locked, for me. The only way found is doing something like those suggested in that StackOverflow question, before.
I have a poor knowledge in javascript, and a small knowledge in Cascading Style Sheets. But I have found a project that is open source, but has a main part which is javascript. But this javascript file has a name similar to core.min.js . And the CSS files are also minified.
The source code for phpFreeChat is not minified (except for two third-party libraries) - that step occurs in the build process.
It would be easy enough to edit the Makefile to change this into simple concatenation.
The source code for phpFreeChat is not minified (except for two third-party libraries) - that step occurs in the build process.
It would be easy enough to edit the Makefile to change this into simple concatenation.
Then I did not understand where and how the project is works. My starting point is a working setup of it. In the HTML source, I see ../client/jquery.phpfreechat.min.js
So, I searched for this file in the source directory, and it is there. I searched other files with "phpfreechat" in them:
A makefile more complex than what I can understand, in a few aspects
A makefile more complex than what I can understand, in a few aspects. I will look at it more calmly. I need more time to clean and/or make it easier to read and understand, each step.
If any of you make a comment that can be useful as what the project's README.md lacks, in aspects of who develops things for it, will be much welcome. I will use use it, and give the credits, of course.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.