{"id":34200613,"url":"https://github.com/synyx/imagescaler","last_synced_at":"2026-03-09T22:31:43.166Z","repository":{"id":64303831,"uuid":"188487598","full_name":"synyx/imagescaler","owner":"synyx","description":"a program that listens on rabbitmq message with image updates, loads an URL, scales the images and pushes them to a min.io instance","archived":false,"fork":false,"pushed_at":"2020-04-30T07:49:23.000Z","size":93,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-18T20:49:11.322Z","etag":null,"topics":["cdn","image-processing","minio","object","rabbitmq","scaling","storage"],"latest_commit_sha":null,"homepage":"","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/synyx.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}},"created_at":"2019-05-24T21:07:34.000Z","updated_at":"2025-02-04T07:28:55.000Z","dependencies_parsed_at":"2023-01-15T10:00:58.793Z","dependency_job_id":null,"html_url":"https://github.com/synyx/imagescaler","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/synyx/imagescaler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synyx%2Fimagescaler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synyx%2Fimagescaler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synyx%2Fimagescaler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synyx%2Fimagescaler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/synyx","download_url":"https://codeload.github.com/synyx/imagescaler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synyx%2Fimagescaler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30314627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"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":["cdn","image-processing","minio","object","rabbitmq","scaling","storage"],"created_at":"2025-12-15T18:20:07.238Z","updated_at":"2026-03-09T22:31:43.158Z","avatar_url":"https://github.com/synyx.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Message Driven Image Scaler\nThe imagescaler is a program that uses Go's builtin image processing capabilities to scale down images stored in an object storage (currently min.io) system.\n\n## Motivation\nTraditionally image processing is done from within a given program using native bindings to the overly popular ImageMagick (or similar programs). This has drawbacks:\n\n* Operational complexity: The host or container needs to provide a recent version of the image processing tool. The lifecycle of the tool needs to managed, too.\n\n* Synchronous calls of potentially expensive operations.\n\n* ...\n\n## Flow\n\nThe imagescaler consumes image update message, and reads them from the provided URL. This URL is not required to reside in the configured object storage, BTW. There are 2 different target scales:\n* WEB for usage on web sites\n* THUMBNAIL for icons or thumbnails (also on websites)\n\nThe scaled versions are stored (put) to a configured object storage (currently min.io) and new image update events for the scaled versions and their URLs are published.\n\n## Message Format\nCurrently consuming and emitting messages formatted like this:\n\n```\n{\n\"userUUID\": \"schnubbli\",\n\"imageUUID\": \"yolo\",\n\"url\": \"http://localhost:9000/testbucket/vivian_robin.jpg\",\n\"imageScale\": \"ORIGINAL\"\n}\n```\n\n## Configuration\n\ntbw.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynyx%2Fimagescaler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynyx%2Fimagescaler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynyx%2Fimagescaler/lists"}