{"id":15406347,"url":"https://github.com/rokumatsumoto/aws-node-dynamic-image-resizer","last_synced_at":"2026-01-20T04:06:34.327Z","repository":{"id":38970955,"uuid":"204666834","full_name":"rokumatsumoto/aws-node-dynamic-image-resizer","owner":"rokumatsumoto","description":"Bucket event-driven image resizing built with cloud functions","archived":false,"fork":false,"pushed_at":"2023-01-09T22:35:44.000Z","size":2509,"stargazers_count":2,"open_issues_count":27,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T22:22:22.497Z","etag":null,"topics":["aws-lambda","event-driven","image-resizer","resize","resize-images","s3-bucket","serverless"],"latest_commit_sha":null,"homepage":"","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/rokumatsumoto.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-27T09:22:10.000Z","updated_at":"2022-07-01T14:07:38.000Z","dependencies_parsed_at":"2023-02-08T15:16:21.229Z","dependency_job_id":null,"html_url":"https://github.com/rokumatsumoto/aws-node-dynamic-image-resizer","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokumatsumoto%2Faws-node-dynamic-image-resizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokumatsumoto%2Faws-node-dynamic-image-resizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokumatsumoto%2Faws-node-dynamic-image-resizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokumatsumoto%2Faws-node-dynamic-image-resizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rokumatsumoto","download_url":"https://codeload.github.com/rokumatsumoto/aws-node-dynamic-image-resizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247511031,"owners_count":20950584,"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":["aws-lambda","event-driven","image-resizer","resize","resize-images","s3-bucket","serverless"],"created_at":"2024-10-01T16:21:17.468Z","updated_at":"2026-01-20T04:06:29.291Z","avatar_url":"https://github.com/rokumatsumoto.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-node-dynamic-image-resizer\n\nBucket event-driven image resizing built with cloud functions.\n\nIn this example, we set up a image resizing solution with AWS S3 and a Serverless framework function written in Node.js. We use [the `sharp` package](https://www.npmjs.com/package/sharp) for image resizing.\n\n`sharp` includes native dependencies, so in this example we are building and deploying the Serverless function from a Docker container that’s based on Amazon Linux.\n\n## Pre-requisites\n\nIn order to deploy the function, you will need the following:\n\n- Two S3 bucket in your AWS account.\n- Serverless framework installed locally via `yarn global add serverless`.\n- `Node.js` and `yarn` installed locally.\n- Docker and docker-compose installed locally.\n\n## Deploying the Serverless project\n\n1. Clone the repository\n\n   ```sh\n   git clone https://github.com/rokumatsumoto/aws-node-dynamic-image-resizer.git\n   ```\n\n2. Install the dependencies\n\n   ```sh\n   yarn install\n   ```\n\n3. Add your AWS credentials into the `secrets/secrets.env` file. (See [this](doc/development/environment_variables.md) for documentation)\n4. Add your env variables into the `.env` file\n5. Deploy the Serverless project\n\n   ```sh\n   docker-compose up --build\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frokumatsumoto%2Faws-node-dynamic-image-resizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frokumatsumoto%2Faws-node-dynamic-image-resizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frokumatsumoto%2Faws-node-dynamic-image-resizer/lists"}