Note that you need to have Java SE 1.5 or better (Java SE 1.6 recommended) installed in order to use the WebsiteCompressor.
Download the latest release, extract the archive, and copy all JAR files from the archive to your website project.
java -jar websitecompressor-0.4.jar [options] [files]
For example, use the following commands to minify a website generated by Jekyll using the WebsiteCompressor (assuming that you placed the JAR files in a subdirectory named
_lib, which is then ignored by Jekyll):
Afterwards upload the contents of the
_site folder to your webserver as usual.
WebsiteCompressor performs all compression in-place, so do not run WebsiteCompressor on your original source files! Create a copy of your website files first, run WebsiteCompressor on the copy and upload it to your webserver afterwards.
Available on GitHub: http://github.com/bmeurer/websitecompressor
Clone the project with Git by running:
$ git clone git://github.com/bmeurer/websitecompressor.git
If you come across any problems, please create a ticket and we will try to get it fixed as soon as possible.
Once you have made your commits:
Copyright © 2010-2011 Benedikt Meurer. See the LICENSE file for details.