{"id":19701518,"url":"https://github.com/yanndr/img","last_synced_at":"2025-02-27T12:46:53.190Z","repository":{"id":57599095,"uuid":"99277295","full_name":"yanndr/img","owner":"yanndr","description":"Image resize client in go","archived":false,"fork":false,"pushed_at":"2018-03-26T23:40:36.000Z","size":12925,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-10T10:58:24.749Z","etag":null,"topics":["cli","client","go","golang","image","image-processing","resize","resize-images"],"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/yanndr.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-08-03T21:41:29.000Z","updated_at":"2023-02-13T22:31:44.000Z","dependencies_parsed_at":"2022-08-28T18:32:57.133Z","dependency_job_id":null,"html_url":"https://github.com/yanndr/img","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/yanndr%2Fimg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanndr%2Fimg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanndr%2Fimg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanndr%2Fimg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanndr","download_url":"https://codeload.github.com/yanndr/img/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241014944,"owners_count":19894328,"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":["cli","client","go","golang","image","image-processing","resize","resize-images"],"created_at":"2024-11-11T21:09:14.124Z","updated_at":"2025-02-27T12:46:53.170Z","avatar_url":"https://github.com/yanndr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# img\n\n## About\nThis is a Image CLI written in Go. \nMy wife needed a simple tool to resize images quickly, so I decided to write it myself :). This is a learning excercise; the goal is to learn how to build a CLI. So far, the client only has one command: Resize. I may add more features later.\n\nI used [Cobra](https://github.com/spf13/cobra) for the CLI and [resize lib](https://github.com/nfnt/resize) for the image resize functiom.\n\n## Instalation\n```\ngo get -v github.com/yanndr/img\n```\n\n## Usage\nUsage:\n  img [flags]\n  img [command]\n\nAvailable Commands:\n  help        Help about any command\n  \n  resize      Resize the images to a percentage or a value.\n  \n  version     Print the version number of img\n\nFlags:\n  -h, --help   help for img\n\nUse \"img [command] --help\" for more information about a command.\n\n### resize usage\nimg resize [files ...] [flags]\n\nFlags:\n  -f, --format string   Force the format of the output: png or jpg. if empty it will keep the input image format.\n  \n  -h, --help            help for resize\n  \n  -o, --out string      Output directory for the images defautl: out. (default \"out\")\n  \n  -s, --size int        Size in % of the original image. (default 50)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanndr%2Fimg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanndr%2Fimg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanndr%2Fimg/lists"}