{"id":13544462,"url":"https://github.com/minio/thumbnailer","last_synced_at":"2025-04-02T14:31:09.353Z","repository":{"id":15494550,"uuid":"78260261","full_name":"minio/thumbnailer","owner":"minio","description":"A thumbnail generator example using Minio's listenBucketNotification API","archived":true,"fork":false,"pushed_at":"2022-06-02T00:21:29.000Z","size":70,"stargazers_count":104,"open_issues_count":2,"forks_count":16,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-11-03T11:33:47.249Z","etag":null,"topics":["image-manipulation","image-processing","lambda","lambda-functions","minio","s3-bucket"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/minio.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":"2017-01-07T05:20:06.000Z","updated_at":"2024-07-09T09:49:50.000Z","dependencies_parsed_at":"2022-08-30T01:12:13.739Z","dependency_job_id":null,"html_url":"https://github.com/minio/thumbnailer","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/minio%2Fthumbnailer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minio%2Fthumbnailer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minio%2Fthumbnailer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minio%2Fthumbnailer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/minio","download_url":"https://codeload.github.com/minio/thumbnailer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246832205,"owners_count":20841131,"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":["image-manipulation","image-processing","lambda","lambda-functions","minio","s3-bucket"],"created_at":"2024-08-01T11:00:49.371Z","updated_at":"2025-04-02T14:31:04.344Z","avatar_url":"https://github.com/minio.png","language":"JavaScript","readme":"# Thumbnailer\nA thumbnail generator example using Minio's [listenBucketNotification API](http://docs.minio.io/docs/javascript-client-api-reference#listenBucketNotification). This is a simple example of how one can build a AWS Lambda like functionality on a laptop.\n\n## Dependencies\nDependencies are managed by [npm](https://npm.org) use `npm install`.\n\n```sh\nnpm install\n```\n\n## Configure\nPlease edit `config/development.json` with your local parameters, currently the example points to https://play.minio.io:9000\n\n\u003cblockquote\u003eThis example works only with Minio server using an extended API\u003c/blockquote\u003e\n\n## Run\nOnce configured proceed to run.\n\n```sh\nnode thumbnail.js\nListening for events on \"images\"\n```\n\nNow upload an image using `mc`\n```sh\nmc cp ./toposort/graph.jpg play/images/\n./toposort/graph.jpg:  34.29 KB / 34.29 KB ┃▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓┃ 100.00% 386.91 KB/s 0s\n```\n\nYou will see thumbnail being generated after uploading the image using `mc`.\n```sh\nnode thumbnail.js\nListening for events on \"images\"\nUploading new thumbail to \"images-processed\"\nSuccessfully generated \"graph-thumbnail.jpg\" with md5sum \"ca78ee1cc48358b4dbd883a589523e54\"\n```\n\nTo validate if the thumbnail was created at destination bucket use `mc`.\n```sh\nmc ls play/images-processed\n[2017-01-22 23:44:51 PST]   629B graph-thumbnail.jpg\n```\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminio%2Fthumbnailer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminio%2Fthumbnailer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminio%2Fthumbnailer/lists"}