{"id":13576392,"url":"https://github.com/venveo/serverless-sharp","last_synced_at":"2026-02-07T08:33:25.350Z","repository":{"id":35922950,"uuid":"198690918","full_name":"venveo/serverless-sharp","owner":"venveo","description":"Serverless image optimizer for S3, Lambda, and Cloudfront","archived":false,"fork":false,"pushed_at":"2023-04-10T20:55:51.000Z","size":124083,"stargazers_count":170,"open_issues_count":36,"forks_count":34,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-29T10:06:23.976Z","etag":null,"topics":["api-gateway","aws-lambda","cloudfront","images","imgix","lambda","s3-bucket","seo","serverless","sharp","transformations"],"latest_commit_sha":null,"homepage":"https://venveo.github.io/serverless-sharp/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/venveo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-07-24T18:38:47.000Z","updated_at":"2025-01-29T21:53:31.000Z","dependencies_parsed_at":"2024-01-14T14:32:29.678Z","dependency_job_id":"f4238d3d-2e7a-4fcc-a391-0922746a9021","html_url":"https://github.com/venveo/serverless-sharp","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venveo%2Fserverless-sharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venveo%2Fserverless-sharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venveo%2Fserverless-sharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venveo%2Fserverless-sharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/venveo","download_url":"https://codeload.github.com/venveo/serverless-sharp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294453,"owners_count":20915335,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-gateway","aws-lambda","cloudfront","images","imgix","lambda","s3-bucket","seo","serverless","sharp","transformations"],"created_at":"2024-08-01T15:01:09.879Z","updated_at":"2026-02-07T08:33:25.322Z","avatar_url":"https://github.com/venveo.png","language":"JavaScript","readme":"# Serverless Sharp Image Processor\nA solution to dynamically optimize and transform images on the fly, utilizing [Sharp](https://sharp.pixelplumbing.com/en/stable/) and AWS Lambda.\n\n[Documentation](https://venveo.github.io/serverless-sharp/index.html)\n\nBrought to you by [Venveo](https://www.venveo.com)\n\n## Who is this for?\nThis software is for people who want to optimize and run basic transformations (crop, scale, convert, etc) on images from an existing S3\nbucket without running computationally expensive processes or servers or paying for expensive third-party services.\n\nServerless Sharp is a drop-in replacement for most essential features of Imgix and costs magnitudes less for\nmost users.\n\n## How does it work?\nAfter deploying this solution, you'll find yourself with a number of AWS resources (all priced based on usage rather\nthan monthly cost). The most important of which are:\n- **AWS Lambda**: Pulls images from your S3 bucket, runs the transforms, and outputs the image from memory\n- **API Gateway**: Acts as a public gateway for requests to your Lambda function\n- **Cloudfront Distribution**: Caches the responses from your API Gateway so the Lambda function doesn't re-execute\n\nOnce deployed, a Cloudfront CDN distribution is generated that is directed to the generated API Gateway. This distribution\nensures the Lambda function does not get run multiple times for the same image request.\n\n## Running Locally\nThis package uses Serverless to allow for local development by simulating API Gateway and Lambda.\n1. `npm ci`\n2. `cp settings.example.yml settings.yml`\n3. Configure settings.yml file\n4. Ensure you have AWS CLI configured on your machine with proper access to the S3 bucket you're using in your settings.\n5. Run `serverless offline`\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvenveo%2Fserverless-sharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvenveo%2Fserverless-sharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvenveo%2Fserverless-sharp/lists"}