The byuic project (which stands for build yui compressor and is pronounced like buick) is really just a set of custom wrappers around the Yahoo! YUI Compressor for a number popular programming languages (i.e.) Bash, Perl, Python, PHP, Java, etc.


The byuic downloads are hosted on At the moment Python & Bash are the only wrappers ready, but many more are on the way.

The goal of this project is to create a set of commandline scripts that recursively find, compress, and possibly obfuscate all the JavaScript and CSS files in a given directory structure with the YUI Compressor. Using the byuic wrapper scripts one can easily integrate compression as a standard part of a projects normal production build process. Doing so reduces the overall file size of the project, lowers bandwidth requirements, decreases load times, and increases overall performance. This is a key step in web site design as noted in the Yahoo Developer Network's "Rules for High Performance Web Sites".

The complicated compression and obfuscation logic is already handled by the YUI Compressor. You could of course do without byuic and integrate the native YUI Compressor into your build process by using the jar file and writing your own routines. Byuic is simply a shortcut for those not wanting to write their own wrapper. With just 1 shell command your entire site can be processed!

The Yahoo! YUI Compressor is a separate project released under the BSD License. You can find more information on that project here and/or watch a short introduction about the compressor given by it's author, Julien Lecomte, below:

Julien Lecomte: "Introducing the YUI Compressor" @ Yahoo! Video

byuic Support

Forum is a good place to start a support request, or click here to send us an email.

byuic Screenshots



There is one comment on this page. [Display comment]
Page was generated in 0.0134 seconds