{"id":20617111,"url":"https://github.com/k-yomo/cloud_function_thumbnails_generator","last_synced_at":"2026-04-21T01:02:07.134Z","repository":{"id":105859015,"uuid":"189042818","full_name":"k-yomo/cloud_function_thumbnails_generator","owner":"k-yomo","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-06T22:33:21.000Z","size":4597,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T19:23:56.304Z","etag":null,"topics":["cloudfunction","thumbnail"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/k-yomo.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-05-28T14:19:27.000Z","updated_at":"2020-03-28T05:56:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"a83efda6-173a-4cb5-97f1-8646703ce9a4","html_url":"https://github.com/k-yomo/cloud_function_thumbnails_generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/k-yomo/cloud_function_thumbnails_generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-yomo%2Fcloud_function_thumbnails_generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-yomo%2Fcloud_function_thumbnails_generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-yomo%2Fcloud_function_thumbnails_generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-yomo%2Fcloud_function_thumbnails_generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k-yomo","download_url":"https://codeload.github.com/k-yomo/cloud_function_thumbnails_generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-yomo%2Fcloud_function_thumbnails_generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32072323,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T21:26:33.338Z","status":"ssl_error","status_checked_at":"2026-04-20T21:26:22.081Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cloudfunction","thumbnail"],"created_at":"2024-11-16T11:22:14.047Z","updated_at":"2026-04-21T01:02:07.075Z","avatar_url":"https://github.com/k-yomo.png","language":"Go","readme":"# Cloud Function Thumbnails Generator\n\n![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)\n[![Go Report Card](https://goreportcard.com/badge/k-yomo/cloud_function_thumbnails_generator)](https://goreportcard.com/report/k-yomo/cloud_function_thumbnails_generator)\n\n- `GenerateThumbnails` function will generate 100x100, 500x500, 1000x1000 thumbnails triggered by uploading image to the target bucket.\n- `DeleteThumbnails` function will delete generated thumbnails when original image gets deleted. \n\n## Deploy\n- `GenerateThumbnails`\n```\ncd functions/generate_thumbnails\ngcloud functions deploy GenerateThumbnails --runtime go111 --trigger-resource BUCKET_NAME --trigger-event google.storage.object.finalize\n```\n- `DeleteThumbnails`\n```\ncd functions/delete_thumbnails\ngcloud functions deploy DeleteThumbnails --runtime go111 --trigger-resource BUCKET_NAME --trigger-event google.storage.object.delete\n```\n\n## Example\n### Uploaded Image\n![Uploaded Image](/example/cat.jpg?raw=true)\n\n### Generated Thumbnails\n- 1000x1000\n\n![1000x1000](/example/1000x1000@cat.jpg?raw=true)\n\n- 500x500\n\n![500x500](/example/500x500@cat.jpg?raw=true)\n- 100x100\n\n![100x100](/example/100x100@cat.jpg?raw=true)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk-yomo%2Fcloud_function_thumbnails_generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk-yomo%2Fcloud_function_thumbnails_generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk-yomo%2Fcloud_function_thumbnails_generator/lists"}