nekodex / scthumber

Some image thumbnailing daemon thing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scthumber

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.)

Installing Dependencies

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

Configuration

See var thumber in scthumbd.js for now...

Running

npm run scthumbd

About

Some image thumbnailing daemon thing


Languages

Language:JavaScript 97.8%Language:Shell 2.2%