{"id":15673685,"url":"https://github.com/lmammino/lambda-image-colors","last_synced_at":"2025-07-11T10:42:47.470Z","repository":{"id":57499713,"uuid":"180231038","full_name":"lmammino/lambda-image-colors","owner":"lmammino","description":"An example AWS Lambda written in GoLang to tag a picture with its prominent colors","archived":false,"fork":false,"pushed_at":"2023-02-24T18:18:27.000Z","size":2026,"stargazers_count":7,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-08T03:14:49.606Z","etag":null,"topics":["aws-lambda","aws-lambda-golang","go","golang","image","image-processing","lambda","s3","tutorial"],"latest_commit_sha":null,"homepage":"","language":"Python","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/lmammino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-08T20:52:13.000Z","updated_at":"2023-03-04T04:25:32.000Z","dependencies_parsed_at":"2024-06-20T06:08:07.045Z","dependency_job_id":null,"html_url":"https://github.com/lmammino/lambda-image-colors","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Flambda-image-colors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Flambda-image-colors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Flambda-image-colors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Flambda-image-colors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmammino","download_url":"https://codeload.github.com/lmammino/lambda-image-colors/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252990004,"owners_count":21836668,"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","aws-lambda-golang","go","golang","image","image-processing","lambda","s3","tutorial"],"created_at":"2024-10-03T15:41:45.732Z","updated_at":"2025-05-08T03:14:56.421Z","avatar_url":"https://github.com/lmammino.png","language":"Python","readme":"# lambda-image-colors\n\nAn example AWS Lambda written in GoLang to tag a picture with its prominent colors\n\n[![buddy pipeline](https://app.buddy.works/lucianomammino/lambda-image-colors/pipelines/pipeline/184112/badge.svg?token=c36f5f6c44fbf89b0e46f07e81533fc6015dd8a58c666de0e8c2c7c9e4bc73c3 \"buddy pipeline\")](https://app.buddy.works/lucianomammino/lambda-image-colors/pipelines/pipeline/184112)\n\n## About\n\nThis repository implements an AWS Lambda using Go that allows you to tag JPEG images in an S3 bucket with their prominent colors from a given palette.\n\n![Lambda trigger schema](/images/lambda-trigger.png)\n\nThe goal of this project is to act as a tutorial to learn how to build, test and deploy AWS Lambdas written in Go.\n\nThis work is kindly sponsored by [Buddy.works](https://buddy.works).\n\n## Getting started\n\n### Requirements\n\nIn order to run this example you need:\n\n- Go (1.12+)\n- Terraform (0.11+)\n- Docker (18.09+)\n- Docker-compose (1.23+)\n- GNU make\n- An AWS account (with AWS cli installed and configured)\n\n### Folders\n\n- Lambda source code can be found in [`cmd/image-colors-lambda`](/cmd/image-colors-lambda)\n- Terraform code for stack definition can be found in [`stack`](/stack)\n- Integration tests (using `docker-compose`) can be found in [`tests`](/tests)\n\n## Test and build\n\nTo test the application you can run:\n\n```bash\nmake test\n```\n\nThis will run:\n\n- Linting checks\n- Unit tests\n- Integration tests\n\n## Deployment\n\nIn order to deploy this solution to your default AWS account you can run:\n\n```bash\nmake deploy\n```\n\n## Read the full tutorial\n\nYet to be published, stay tuned!\n\n## Contributing\n\nEveryone is very welcome to contribute to this project.\nYou can contribute just by submitting bugs or suggesting improvements by\n[opening an issue on GitHub](https://github.com/lmammino/lambda-image-colors/issues).\n\n## License\n\nLicensed under [MIT License](LICENSE). © Luciano Mammino.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmammino%2Flambda-image-colors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmammino%2Flambda-image-colors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmammino%2Flambda-image-colors/lists"}