This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 0900c6d4bb0fd6846c39bbefbbe827aa9d24cca0
tree 95e4a36f7b54c55a0ae41c6c8ee01fe9c1a772fc
parent add11a76d922b1b57e87107225f7627785b50274
tree 95e4a36f7b54c55a0ae41c6c8ee01fe9c1a772fc
parent add11a76d922b1b57e87107225f7627785b50274
reduce /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Wed Feb 11 12:32:47 -0800 2009 | |
| |
README.markdown | Fri Oct 09 05:47:19 -0700 2009 | |
| |
Rakefile | Sun Nov 22 00:40:19 -0800 2009 | |
| |
VERSION | Fri Oct 09 05:37:44 -0700 2009 | |
| |
bin/ | Fri Oct 09 05:37:35 -0700 2009 | |
| |
lib/ | Fri Oct 09 05:37:35 -0700 2009 | |
| |
reduce.gemspec | Sun Nov 22 00:40:31 -0800 2009 | |
| |
spec/ | Fri Oct 09 05:37:35 -0700 2009 | |
| |
vendor/ | Wed Feb 11 12:32:47 -0800 2009 |
README.markdown
Lossless reduction for js, css, jpg, png, gif
Install
install ruby + rubygems
sudo gem install reduce
Usage
reduce -o public/image.gif
reduce public/javascripts/application.js > public/javascripts/application.min.js
Options
-o, --overwrite overwrite file
-v, --version Show Version
-h, --help Show this.
Ruby
reduced_data = Reduce.reduce('files/bla.js')
How does it work?
- uses web-based lossless image reduction service Smush.it / PunyPng through smusher
- uses YUI compressor to minify css/js
Author
Michael Grosser
grosser.michael@gmail.com
Hereby placed under public domain, do what you want, just do not hold me accountable...







