Skip to content

nekodex/scthumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published