This is pretty barebones and pretty simplistic at this stage. It also has a bunch of dependencies.
- Mac OS
- NodeJS: http://nodejs.org/
- image_optim: https://github.com/toy/image_optim
If you have git installed, you can clone this repo:
git clone https://github.com/electric/optomize.git
Then you can install optomize globally by cd
ing into the repo directory and running:
npm install -g
Once installed, you can watch a folder by doing:
optomize watch /path/to/images/folder
Any image that is writable which is added to that folder should then be opto-mized automatically.
This code is distributed with the MIT license. Pretty sure that means you can do whatever you want.
Read more here: https://raw.github.com/electric/optomize/master/LICENSE