{"id":17695629,"url":"https://github.com/russss/iv","last_synced_at":"2025-05-13T04:33:48.441Z","repository":{"id":62571941,"uuid":"195530238","full_name":"russss/iv","owner":"russss","description":"Terminal Image Viewer for iTerm2","archived":false,"fork":false,"pushed_at":"2019-07-06T13:49:02.000Z","size":2148,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T06:38:13.609Z","etag":null,"topics":["cli","image","iterm2","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/russss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-06T11:08:17.000Z","updated_at":"2020-10-14T09:23:22.000Z","dependencies_parsed_at":"2022-11-03T18:26:20.282Z","dependency_job_id":null,"html_url":"https://github.com/russss/iv","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/russss%2Fiv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/russss%2Fiv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/russss%2Fiv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/russss%2Fiv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/russss","download_url":"https://codeload.github.com/russss/iv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253877265,"owners_count":21977632,"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","image","iterm2","python"],"created_at":"2024-10-24T14:06:21.315Z","updated_at":"2025-05-13T04:33:48.414Z","avatar_url":"https://github.com/russss.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iv: Terminal Image Viewer for iTerm2\n[![PyPI version](https://badge.fury.io/py/iv.svg)](https://badge.fury.io/py/iv)\n\n`iv` is a utility for viewing images in the terminal using iTerm2's [image display capability](https://www.iterm2.com/documentation-images.html). It's useful for dealing with images on a remote server, for example with large image processing tasks.\n\nWhen displaying single images, `iv` will resize them to speed up\ntransfer over an SSH connection:\n\n![iv displaying a single image](https://github.com/russss/iv/raw/master/images/single.png)\n\nWhen displaying multiple images, `iv` will produce a \"contact sheet\"\nof images with filenames. These images are decoded and resized in\nparallel:\n\n![iv displaying multiple images](https://github.com/russss/iv/raw/master/images/multi.png)\n\n## Installation\n\n`iv` can be installed using pip:\n\n\t$ pip3 install iv\n\nIf `iv` can't find any suitable TrueType fonts on your system it'll use\nan ugly default bitmap font. To get some nicer fonts on Linux, install\nthe Open Sans or msttcorefonts collections (`fonts-open-sans` or\n`ttf-mscorefonts-installer` packages on Debian-like distributions).\n\n## Usage\n```\nUsage: iv [OPTIONS] FILENAME...\n\n  Display images within an iTerm2 terminal.\n\n  iv will resize images to reduce the time taken to display them over SSH\n  connections, and it will combine multiple images into a single image, with\n  filenames.\n\n  Usage:\n\n    iv ./file.jpg # Display a single file, resizing as appropriate.\n    iv *.jpg      # Display a number of files combined into a single image, with filenames.\n\n  The IV_SIZE environment variable can be used to set the output image size\n  instead of the -s/--size option.\n\nOptions:\n  --version           Show the version and exit.\n  -s, --size INTEGER  Maximum output image width in pixels.\n  --help              Show this message and exit.\n```\n## Limitations\n\niTerm2 may refuse to display extremely large images, and replace them with a\nretro \"broken image\" icon. You can always right-click and \"Open image\"\nto view the image with an external viewer. `iv` will ask for confirmation if\nthe image it's about to display is taller than 500 console lines.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frussss%2Fiv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frussss%2Fiv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frussss%2Fiv/lists"}