All Projects → venveo → Serverless Sharp

venveo / Serverless Sharp

Licence: mit
Serverless image optimizer for S3, Lambda, and Cloudfront

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Serverless Sharp

Serverless Next.js
⚡ Deploy your Next.js apps on AWS Lambda@Edge via Serverless Components
Stars: ✭ 2,977 (+2818.63%)
Mutual labels:  api-gateway, serverless, aws-lambda, lambda, cloudfront
Zappa
Serverless Python
Stars: ✭ 11,859 (+11526.47%)
Mutual labels:  api-gateway, serverless, aws-lambda, lambda
Corgi
AWS Lambda / API Gateway native, fast and simple web framework
Stars: ✭ 44 (-56.86%)
Mutual labels:  api-gateway, serverless, aws-lambda, lambda
React Apig Lambda
Render React.js on-demand with CDN caching
Stars: ✭ 93 (-8.82%)
Mutual labels:  api-gateway, aws-lambda, s3-bucket, cloudfront
Serverless Sinatra Sample
Demo code for running Ruby Sinatra on AWS Lambda
Stars: ✭ 195 (+91.18%)
Mutual labels:  api-gateway, serverless, aws-lambda, lambda
Up
Up focuses on deploying "vanilla" HTTP servers so there's nothing new to learn, just develop with your favorite existing frameworks such as Express, Koa, Django, Golang net/http or others.
Stars: ✭ 8,439 (+8173.53%)
Mutual labels:  api-gateway, serverless, aws-lambda, lambda
Workshop Donkeytracker
Workshop to build a serverless tracking application for your mobile device with an AWS backend
Stars: ✭ 27 (-73.53%)
Mutual labels:  api-gateway, serverless, lambda, cloudfront
Zappa
Serverless Python
Stars: ✭ 224 (+119.61%)
Mutual labels:  api-gateway, serverless, aws-lambda, lambda
Vandium Node
AWS Lambda framework for building functions using Node.js for API Gateway, IoT applications, and other AWS events.
Stars: ✭ 377 (+269.61%)
Mutual labels:  api-gateway, serverless, aws-lambda, lambda
Aegis
Serverless Golang deploy tool and framework for AWS Lambda
Stars: ✭ 277 (+171.57%)
Mutual labels:  api-gateway, serverless, aws-lambda, lambda
Mangum
AWS Lambda & API Gateway support for ASGI
Stars: ✭ 475 (+365.69%)
Mutual labels:  api-gateway, serverless, aws-lambda, lambda
Serverless Express
Run Node.js web applications and APIs using existing application frameworks on AWS #serverless technologies such as Lambda, API Gateway, Lambda@Edge, and ALB.
Stars: ✭ 4,265 (+4081.37%)
Mutual labels:  api-gateway, serverless, aws-lambda, lambda
Serverless Es Logs
A Serverless plugin to transport logs to ElasticSearch
Stars: ✭ 51 (-50%)
Mutual labels:  api-gateway, serverless, aws-lambda, lambda
Terraform Nextjs Plugin
A plugin to generate terraform configuration for Nextjs 8 and 9
Stars: ✭ 41 (-59.8%)
Mutual labels:  api-gateway, serverless, lambda
Lamlight
Lamlight is a command line tool to allow easy handling of AWS lambda functions. It allows to put heavy dependencies like numpy and scipy on AWS lambda and updating your lambda function very quickly.
Stars: ✭ 37 (-63.73%)
Mutual labels:  serverless, aws-lambda, lambda
Chalice
Python Serverless Microframework for AWS
Stars: ✭ 8,513 (+8246.08%)
Mutual labels:  serverless, aws-lambda, lambda
Serverless Plugin Stackstorm
Plugin for serverless framework to run ready to use actions from StackStorm Exchange as AWS Lambda.
Stars: ✭ 28 (-72.55%)
Mutual labels:  serverless, aws-lambda, lambda
Lambstatus
[Maintenance mode] Serverless Status Page System
Stars: ✭ 1,323 (+1197.06%)
Mutual labels:  serverless, aws-lambda, lambda
Aws Serverless Java Container
A Java wrapper to run Spring, Jersey, Spark, and other apps inside AWS Lambda.
Stars: ✭ 1,054 (+933.33%)
Mutual labels:  api-gateway, serverless, aws-lambda
Lamb
monitoring tool for better visibility when developing AWS Lambda functions
Stars: ✭ 11 (-89.22%)
Mutual labels:  serverless, aws-lambda, lambda

Serverless Sharp Image Processor

A solution to dynamically optimize and transform images on the fly, utilizing Sharp and AWS Lambda.

Documentation

Brought to you by Venveo

Who is this for?

This software is for people who want to optimize and run basic transformations (crop, scale, convert, etc) on images from an existing S3 bucket without running computationally expensive processes or servers or paying for expensive third-party services.

Serverless Sharp is a drop-in replacement for most essential features of Imgix and costs magnitudes less for most users.

How does it work?

After deploying this solution, you'll find yourself with a number of AWS resources (all priced based on usage rather than monthly cost). The most important of which are:

  • AWS Lambda: Pulls images from your S3 bucket, runs the transforms, and outputs the image from memory
  • API Gateway: Acts as a public gateway for requests to your Lambda function
  • Cloudfront Distribution: Caches the responses from your API Gateway so the Lambda function doesn't re-execute

Once deployed, a Cloudfront CDN distribution is generated that is directed to the generated API Gateway. This distribution ensures the Lambda function does not get run multiple times for the same image request.

Running Locally

This package uses Serverless to allow for local development by simulating API Gateway and Lambda.

  1. npm ci
  2. cp settings.example.yml settings.yml
  3. Configure settings.yml file
  4. Ensure you have AWS CLI configured on your machine with proper access to the S3 bucket you're using in your settings.
  5. Run serverless offline
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].