Thinify! is a free to use packaging, minifying and compression utility for your static javascript and css projects. It helps you reduce the number of http requests made to your server and reduce the file size of your js/css scripts by combining multiple files into one, then minifying them. Why would you want to do that? This is why.
First, register for an account (it's free) and log in. Then simply:
It's that easy!
How is the javascript compressed?
JS compression is performed using the excellent JSMin.rb ruby library, which in itself is a port of Douglas Crockford's JSMin.c utility.
How is CSS minified?
A few simple regex's (blatantly stolen from Scott Becker's most awesome Asset Packager plugin for Rails) strip tabs, whitespace, and newlines to put each declaration inline.
My Files don't compress properly or generate errors
Your scripts must be free of syntax errors, and each line completed by those pesky semi-colons. Likewise with css. If in doubt, run your individual files through a css validator or JSLint for your javascript files.
Who can see my files?
Only you can see your files. In theory, I could too I guess, but really? I have better things to do!
This tool is so awesome, how can I help you buy a Ferrari?
Why, thank you! You can donate via:
I take no credit for the code that this site uses. People far smarter than I wrote the clever bits that are behind it - people such as: