A node.js image thumbnailing daemon utilizing Smartcrop.js for content-aware cropping with vips (via sharp) for resizing+processing and mozjpeg for optimization
Originally forked from connect-thumbs but has since gone in a different direction.
(This is one of those ugly proof-of-concepts that ended up in production somehow.)
scthumber is dependent on: smartcrop-js vips mozjpeg
On a Debian/Ubuntu system:
apt-get install build-essential pkg-config libcairo2-dev libjpeg-dev libpng-dev libvips-dev libgif-dev nasm
npm install # or yarn
See var thumber
in scthumbd.js
for now...
npm run scthumbd