{"id":13426515,"url":"https://github.com/sindresorhus/term-img-cli","last_synced_at":"2025-04-12T10:52:27.067Z","repository":{"id":55417205,"uuid":"53509071","full_name":"sindresorhus/term-img-cli","owner":"sindresorhus","description":"Display images in iTerm","archived":false,"fork":false,"pushed_at":"2024-07-26T12:50:42.000Z","size":490,"stargazers_count":82,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-05T11:34:23.232Z","etag":null,"topics":["cli-app","image","iterm2","nodejs","npm-package","terminal-image"],"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/sindresorhus.png","metadata":{"funding":{"github":"sindresorhus","open_collective":"sindresorhus","buy_me_a_coffee":"sindresorhus","custom":"https://sindresorhus.com/donate"},"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":"2016-03-09T15:32:48.000Z","updated_at":"2024-12-10T22:37:08.000Z","dependencies_parsed_at":"2024-11-14T07:40:36.029Z","dependency_job_id":null,"html_url":"https://github.com/sindresorhus/term-img-cli","commit_stats":{"total_commits":19,"total_committers":3,"mean_commits":6.333333333333333,"dds":"0.10526315789473684","last_synced_commit":"e24e3ebc2f550b5fd86d028ae6dac331d7360a3a"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fterm-img-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fterm-img-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fterm-img-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fterm-img-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/term-img-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248557844,"owners_count":21124165,"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-app","image","iterm2","nodejs","npm-package","terminal-image"],"created_at":"2024-07-31T00:01:36.732Z","updated_at":"2025-04-12T10:52:27.041Z","avatar_url":"https://github.com/sindresorhus.png","language":"JavaScript","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://buymeacoffee.com/sindresorhus","https://sindresorhus.com/donate"],"categories":["JavaScript"],"sub_categories":[],"readme":"# term-img-cli\n\n\u003e Display images in iTerm\n\n![](screenshot.jpg)\n\n*Currently only supported on [iTerm \u003e=3](https://www.iterm2.com/downloads.html).*\n\n## Install\n\n```sh\nnpm install --global term-img-cli\n```\n\n## Usage\n\n```\n$ term-img --help\n\n  Usage\n    $ term-img \u003cimage\u003e\n    $ cat \u003cimage\u003e | term-img\n\n  Options\n    --width   Width to render  [N|Npx|N%]\n    --height  Height to render  [N|Npx|N%]\n\n  Examples\n    $ term-img unicorn.jpg --width=200px\n    $ cat unicorn.jpg | term-img --height=50%\n```\n\n## Related\n\n- [term-img](https://github.com/sindresorhus/term-img) - API for this package\n- [terminal-image-cli](https://github.com/sindresorhus/terminal-image-cli) - Like this module but works in any terminal\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fterm-img-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsindresorhus%2Fterm-img-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fterm-img-cli/lists"}