Shoepolish is a Ruby software that employs a set of open-source tools to enhance file content for reducing space and bandwidth.
Shoepolish works by recursively scanning the selected directory for subdirectories. It then analyzes each subdirectory for common web and image files, modifying them with the appropriate tool. The program does this in a multi-threaded manner so that no one file holds up another's turn. However, the screen can appear confusing while the script is running.
It's important to note that the utilities included in Shoepolish are also used to obfuscate code. Poorly-written or ASP.NET code could require hand-adjustment after an aggressive scan is done. Be sure to backup your files before running the tool, and any CSS or Javascript files should be duplicated in an off folder for your own editing purposes.
The current toolset in Shoepolish includes CSSTidy for CSS optimization, HTML Tidy for converting HTML to XHTML, jpegtran for lossless JPEG reduction, OptiPNG for lossless PNG reduction and GIF to PNG conversion, YUI Compressor for Javascript optimization (which uses the Java/Mozilla-based Rhino library), and advzip for recompressing ZIP files with 7-Zip's DEFLATE method.
To use Shoepolish, you'll need Ruby for the program and Java for the YUICompressor utility.
In the latest release, the project has been renamed from "webcrush" to "shoepolish" at the request of Webcrush Racing.
Version 1.0: N/A