Skip to content
forked from feedbin/image

Image processing service for Feedbin

License

Notifications You must be signed in to change notification settings

angristan/image

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

Processes images and finds thumbnails for Feedbin

Requirements

  • OpenCV and calib3d module (libopencv-dev and libopencv-calib3d-dev on Debian)
  • Ruby 2.3
  • An AWS S3 bucket
  • Redis shared with the main Feedbin instance

Environment variables

  • AWS_ACCESS_KEY_ID - Your AWS access key ID
  • AWS_SECRET_ACCESS_KEY - You AWS secret access key
  • AWS_S3_BUCKET - The bucket to upload the thumbnails to
  • REDIS_URL - The URL to the Redis instance used by the main Feedbin instance

You can technically also use Minio or another S3 alternative by editing the parameters in lib/s3_pool.rb. The Minio cookbook has an example with the necessary parameters.

Setup

Clone the repo and install dependencies:

git clone https://github.com/feedbin/image.git
cd image
bundle

Start the server with bundle exec foreman start

You may need to adjust the ENTRY_IMAGE_HOST environment variable of the main Feedbin instance if you want to use a reverse proxy to S3 or if you're using an alternative file server. The variable can be used to replace the hostname clients use to get the images, but the path can't be changed.

About

Image processing service for Feedbin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%