{"id":17359588,"url":"https://github.com/selmi-karim/img-cli","last_synced_at":"2025-07-12T08:08:29.495Z","repository":{"id":38174336,"uuid":"137551789","full_name":"selmi-karim/img-cli","owner":"selmi-karim","description":"An interactive Command-Line Interface Build in NodeJS for downloading a single or multiple images to disk from URL","archived":false,"fork":false,"pushed_at":"2023-01-06T07:26:45.000Z","size":9672,"stargazers_count":15,"open_issues_count":21,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-13T08:48:54.336Z","etag":null,"topics":["buffer","crawler","crawling","downloader","image-downloader","image-downloading","nodejs","phantomjs","webpage"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/selmi-karim.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-06-16T04:07:28.000Z","updated_at":"2023-09-08T17:41:47.000Z","dependencies_parsed_at":"2023-02-05T15:16:39.660Z","dependency_job_id":null,"html_url":"https://github.com/selmi-karim/img-cli","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/selmi-karim/img-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selmi-karim%2Fimg-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selmi-karim%2Fimg-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selmi-karim%2Fimg-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selmi-karim%2Fimg-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/selmi-karim","download_url":"https://codeload.github.com/selmi-karim/img-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selmi-karim%2Fimg-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264958623,"owners_count":23689035,"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":["buffer","crawler","crawling","downloader","image-downloader","image-downloading","nodejs","phantomjs","webpage"],"created_at":"2024-10-15T19:10:13.576Z","updated_at":"2025-07-12T08:08:29.468Z","avatar_url":"https://github.com/selmi-karim.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![release](https://github.com/selmi-karim/img-cli/workflows/release/badge.svg)\n\n# Images Downloader\n\nAn interactive Command-Line Interface Build in NodeJS for downloading a single or multiple images to disk from URL. \n\n\n## Prerequisites\n\nTo build and run this cli locally you will need a few things:\n- Install [Node.js](https://nodejs.org/en/)\n- Install [NPM](https://www.npmjs.com/)\n\n\n# Install\n\n-  From npm\n```\n\nyarn add global img-cli\n\n```\n\n-  From GPR\n```\n\nnpm install @selmi-karim/img-cli -g\n```\n\n# Command Topics\n### img all\n\n```\nUSAGE\n  $ img all \n\nRequired\n  URL: website target\n\nOPTIONS\n  -d, --directory          choose a specific directory name and/or path \n  -t, --type               Choose a image type (png, jpg, gif..)\n  \nEXAMPLES\n  $ img all http://karimation.com\n  \n  $ img all http://karimation.com -d myDir -t png\n\n```\n\n### img solo\n\n```\nUSAGE\n  $ img solo \n\nRequired\n  URL:                     image URL target\n\nOPTIONS\n  -d, --directory          choose a specific directory name and/or path \n  \nEXAMPLES\n  $ img solo https://avatars1.githubusercontent.com/u/21101482\n  \n  $ img solo https://avatars1.githubusercontent.com/u/21101482 -d myImg\n  \n```\n\n## NPM scripts\n\n - `npm run release`: release new version\n - `npm run lint`: Lints code\n - `npm run lint:fix`: Lints auto-fix code\n - `npm run commit`: Commit using conventional commit style ([husky](https://github.com/typicode/husky) will tell you to use it if you haven't :wink:)\n\n## Git Hooks\n\nThere is already set a `precommit` hook for formatting your code with Prettier :nail_care:\n\nBy default, there are two disabled git hooks. They're set up when you run the `npm run semantic-release-prepare` script. They make sure:\n - You follow a [conventional commit message](https://github.com/conventional-changelog/conventional-changelog)\n\nThis makes more sense in combination with [automatic releases](#automatic-releases)\n\n\n## Built With\n\n* [Github Actions](https://github.com/actions) - CI \u0026 CD\n* [npm](https://www.npmjs.com) - Dependency Management\n* [nodejs](https://nodejs.org/en/)\n\n\n\n## Versioning and Release\n\n### Semantic Versioning\n\nWe follow the [**Semantic Versioning**](https://semver.org/#summary]) scheme.\n\u003e set of rules and requirements that dictate how version numbers are assigned and incremented. These rules are based on but not necessarily limited to pre-existing widespread common practices in use in both closed and open-source software... Under this scheme, version numbers and the way they change convey meaning about the underlying code and what has been modified from one version to the next.\n\nReading the semantic versioning docs more than once will get you a solid understanding on how we version and tag our software releases. \n\n### Semantic Release\n\nWe use **[semantic-release](https://github.com/semantic-release/semantic-release)** to manage and automate complex release workflows.\n\u003e**semantic-release** automates the whole package release workflow including: determining the next version number, generating the release notes and publishing the package.\nThis removes the immediate connection between human emotions and version numbers, strictly following the [Semantic Versioning](http://semver.org/) specification.\n\nAs a SWE you will not be versioning nor releasing manually software, as everything is automated. But a solid insight on how we do things will make your vision and sense of understanding match your teammate's.\n\n\n\n# Questions?\n\nFeel free to contact \u003ca href=\"http://www.karimation.com\"\u003eme\u003c/a\u003e or create an issue.\n\n# Author\n\nkerim selmi \u003ca href=\"http://www.karimation.com\"\u003ekarimation\u003c/a\u003e\n\n# License\n\n\u003ca href=\"LICENSE\"\u003eMIT License\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselmi-karim%2Fimg-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselmi-karim%2Fimg-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselmi-karim%2Fimg-cli/lists"}