gothumb

command module
v0.0.0-...-467df9c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2018 License: MIT Imports: 20 Imported by: 0

README

GoThumb

Build Status

A very fast golang port of thumbor.

Features

  • Image Resizing via URL
  • HMAC url signing
  • Caching of resized images in S3
  • Parallel S3 cache downloads
  • Parallel S3 cache uploads
  • Smart crop support
  • Parallel source file fetching
  • Other storage engines
  • Tests
  • Unsafe mode

HOW-TO

DEPLOY (Opendoor specific)

Since this is an open source repo, deploy setup is stored in the private opendoor-labs/opendoor-gothumb repo. Once master has finished building you can deploy staging with kubectl apply -f k8s/gothumb-staging.yaml. Update (and push) the production config (k8s/gothumb.yaml) and then deploy it with kubectl apply -f k8s/gothumb.yaml

TEST
LOCAL:

Run

$ cd .
$ go run main.go -unsafe=true

Call localhost:8888/unsafe/0x500/https://listing-photos-production.s3.amazonaws.com/uploads/work_order_item-237397/1675177-g8UBAKwT8dw.jpg from your browser.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL