Skip to content

Service to resize images for image.fnbr.co

Notifications You must be signed in to change notification settings

fnbrco/fnbr-bulk-resize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fnbr-bulk-resize

Service to resize images for image.fnbr.co into smaller sizes. Resize requests are sent through Redis on the channel set in the config.

It will first download the file if not already present locally, then run it through the sharp library to resize and finally upload all of the newly resized images to S3.

S3 Compatibility

By default the config will be expecting credentials for Amazon S3 but it also supports a provider with an S3-compatible API, such as DigitalOcean Spaces or Cloudflare R2.

To use an alternative provider define the endpoint field, see config/config.default.js for an example.

Healthcheck

It is possible to enable a basic healthcheck endpoint, useful for a monitoring system to ping the service to make sure it is still online. If enabled in the config, a http server will be available at a customisable port and respond with alive to any request.

About

Service to resize images for image.fnbr.co

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published