Very simple remote thumbnail generator with a very simple cache system
Switch branches/tags
Nothing to show
Clone or download
Latest commit a1a424a Aug 15, 2013
Type Name Latest commit message Commit time
Failed to load latest commit information.
cache First commit Mar 3, 2012
.buildpacks Added IM buildpack Aug 15, 2013
.gitignore Added .gitignore Mar 20, 2012
Procfile Added Procfile Aug 15, 2013 Changed path in README Aug 15, 2013
croche.png Removed duplicate code + updated readme Aug 2, 2012
index.js Env port Aug 15, 2013
package.json First commit Mar 3, 2012


croche is a very simple remote thumbnail generator with a very simple cache system.


We assume you have the following tools already installed:


First of all, you need to install imagemagick on your server:

brew install imagemagick

After, that, just clone the project wherever you want:

git clone

Go to the newly created folder and download all the dependencies:

npm install

After that, you're ready to go! Just start the server:

node .


Go to that URL: http://localhost:3333/

It accepts the following parameters:

  • url: URL of the image (URL-encoded)
  • width: desired width of the result (optional, default 320)
  • height: desired height of the result (optional, default 240)

Example: http://localhost:3333/resize?