GithubHelp home page GithubHelp logo

linktivity / image-resizer-service Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cagataygurturk/image-resizer-service

0.0 0.0 0.0 1.04 MB

Serverless image resizing service

Home Page: https://serverlessrepo.aws.amazon.com/#/applications/arn:aws:serverlessrepo:us-east-1:526515951862:applications~image-resizer-service

License: MIT License

JavaScript 100.00%

image-resizer-service's Introduction

image-resizer-service

This serverless application deploys a Lambda function and API Gateway to your AWS account that reads images from a S3 bucket (whose name defined at deployment) and serves them through API Gateway.

The API Gateway respects the file organization on S3 bucket. For example, an image stored in s3://example-bucket/example-folder/example.jpg will be served from https://xxxxxx.execute-api.us-east-1.amazonaws.com/production/example-folder/example.jpg

To resize the same image, simply give dimensions as width and height GET parameters.

IMPORTANT: This application requires Imagick to be deployed in the Lambda runtime. The easiest way of accomplishing this is to deploy this serverless application. After deploying it, please note down the ARN of the Lambda layer created since this application will require that ARN as a parameter.

After deploying the application, you are strongly recommended to deploy a CDN distribution in front of API Gateway, so your responses are cached and it will improve performance and reduce costs significantly.

Release Notes

0.1.3

  • Upgrade to Node 10.x runtime (#9)
  • Better handling of accents or special characters (#6)

0.1.2

  • Bugfix (#3)

0.1.1

  • Major refactor, increase test coverage, full ES6 migration.
  • ability to adjust Lambda memmory size.

0.1

Initial version

License

MIT License (MIT)

image-resizer-service's People

Contributors

cagataygurturk avatar dependabot[bot] avatar fr-flo 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.