{"id":16379870,"url":"https://github.com/robinbraemer/imaget","last_synced_at":"2025-07-26T10:39:05.921Z","repository":{"id":128823205,"uuid":"325300045","full_name":"robinbraemer/imaget","owner":"robinbraemer","description":"Convenient image downloader tool for the command line making it way simpler to find and download hundreds of images from selected websites as easy and quick as possible.","archived":false,"fork":false,"pushed_at":"2023-12-15T02:50:14.000Z","size":914,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-21T20:03:11.766Z","etag":null,"topics":["cli","command-line-tool","commandline-tool","convenient","downloader","golang","image","image-downloader","tool"],"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/robinbraemer.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":"2020-12-29T13:55:02.000Z","updated_at":"2024-08-28T12:56:28.000Z","dependencies_parsed_at":"2024-06-21T15:27:26.969Z","dependency_job_id":"5784cc69-f71a-4189-ad12-d68ddaaed1d3","html_url":"https://github.com/robinbraemer/imaget","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robinbraemer/imaget","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinbraemer%2Fimaget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinbraemer%2Fimaget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinbraemer%2Fimaget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinbraemer%2Fimaget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robinbraemer","download_url":"https://codeload.github.com/robinbraemer/imaget/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinbraemer%2Fimaget/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267150480,"owners_count":24043473,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cli","command-line-tool","commandline-tool","convenient","downloader","golang","image","image-downloader","tool"],"created_at":"2024-10-11T03:49:50.978Z","updated_at":"2025-07-26T10:39:05.896Z","avatar_url":"https://github.com/robinbraemer.png","language":"Go","readme":"# imaget\n\nImaget is a convenient image tool for finding images on any http(s) website and downloading them with optional flags to\ntweak tool behaviour and images output.\n\nImaget makes sure to only download the necessary bytes. Therefore,\nremembers image URLs and caches the downloads in the\ntemporary directory of your operating system\n(`/tmp/imaget/` for linux) to skip already downloaded images and\nalso auto-resume incomplete downloads when canceled in\nthe past.\n\nThe tool is user-friendly and can also be used in automation since the `-y` (skip user accept screen) or `-t` (timeout\ndownload)\nand other flags are provided for convenience of use.\n\n## Install\n\nNo worries, installation is straight forward!\n\nRequirements:\n\n- ([Git](https://git-scm.com/downloads) \u0026 [Go](https://golang.org/doc/install))\n  **OR** ([Docker](https://docs.docker.com/get-docker/)) installed\n\n**Install with Go:**\n\n```shell\ngit clone https://github.com/robinbraemer/imaget.git\ncd imaget\ngo install cmd/imaget.go\n```\n\n**Test with Docker:**\n\n```shell\ndocker run -it --rm golang:1.15\ngit clone https://github.com/robinbraemer/imaget.git\ncd imaget\ngo install cmd/imaget.go\n```\n\nNow try running `imaget` in your command line!\n\n## Showcase\n\nWhile there are many more use cases for this tool this video shows 3 sample commands and how much faster it is due to\nthe smart cache functionality used when running the last command twice.\n\n1. Download Google's current image above the search box.\n    - `imaget -s -f -u google.com`\n2. Download all images found on amazon.com to new Zip archive.\n    - `imaget -y -f -u amazon.com -d amazon-images.zip`\n3. Download all images found on alibaba.com to hierarchical directories.\n    - `imaget -y -u alibaba.com -d alibaba-images`\n4. Re-run 3. to see how much faster the download is thanks to automatic cache use.\n    - `imaget -y -u alibaba.com -d alibaba-images`\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://player.vimeo.com/video/496021582\"\u003e\n        \u003cimg alt=\"Showcase\" width=\"500\" height=\"400\"\n            src=\"https://raw.githubusercontent.com/robinbraemer/imaget/main/etc/play.gif\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n## Usage\n\nThis is what's outputted when typing `imaget` in your command line.\n\n```shell\nusage: imaget -u URL [-d destination] [-t timeout] [-r regex] [-y] [-s] [-f]\n\nImaget is a convenient image tool for finding images on any http(s) website and\ndownloading them with optional flags to tweak tool behaviour and images output.\n\nFlags\n-----------------\n\n-u (required): is the http(s) URL to find and images from to download.\n\n-d (optional): is the destination to download the images to.\n               It can either be the directory to save all images at or\n               a path to create a .zip archive to save the images in.\n\n-f (optional): saves the downloaded images as a flat hierarchie,\n               instead of creating subdirectories as per the image download URLs.\n               The name of the file is the base64 encoded download URL of the image.\n\n-t (optional): is the timeout to wait before pausing the download\n               and quitting the programm. Zero or below means no timeout.\n               Example: 3m3s\n\n-r (optional): is a regular expression to only download images from matching URLs.\n               Examples: \"(jpg|png)$\", \"^https?://\"\n\n-y (optional): starts the download directly without asking.\n\n-s (optional): will make the console silent and produce no console output.\n               If used the -y flag is used automatically.\n\nExample commands\n-----------------\n\nSilently download Google's current image above the search box to the current directory.\n\u003e imaget -s -f -u google.com\t\n\nDownload all images on amazon.com to new Zip archive in the current directory.\n\u003e imaget -y -f -u amazon.com -d amazon-images.zip\n\nDownload all images on alibaba.com to new directory 'alibaba-images' hierarchically sorted by image URL.\n\u003e imaget -y -u alibaba.com -d alibaba-images\n```\n\n## Extend\n\nThe current features of the tool provide a sufficient foundation to other developers to extend functionality and support\nmore advanced use cases such as...\n\n- Log into Instagram/Pinterest/Facebook/... and download a complete image history\n- Build out an image web crawler to automatically find **baby groots** in the wild ;)\n    - allow many, many crawlers using a database for caching and distributed coordination\n\n_Which button was it again?_ (╯°□°）╯︵ ┻━┻\n![Baby Groot](https://i.pinimg.com/564x/c0/05/2c/c0052c5d1500ba20b64cfb89e188cf9c.jpg)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinbraemer%2Fimaget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobinbraemer%2Fimaget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinbraemer%2Fimaget/lists"}