Git Product home page Git Product logo

gothumb's Introduction

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.

gothumb's People

Contributors

bgentry avatar trevorcreech avatar zain avatar connorjacobsen avatar nolman avatar reidroman avatar hassox avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.