{"id":13807004,"url":"https://github.com/toddsundsted/iterm2","last_synced_at":"2025-04-10T05:16:20.183Z","repository":{"id":66705980,"uuid":"240813508","full_name":"toddsundsted/iterm2","owner":"toddsundsted","description":"Display images within the terminal using the ITerm2 Inline Images Protocol.","archived":false,"fork":false,"pushed_at":"2021-07-09T23:47:07.000Z","size":34,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T05:16:14.584Z","etag":null,"topics":["crystal","iterm2"],"latest_commit_sha":null,"homepage":null,"language":"Crystal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toddsundsted.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}},"created_at":"2020-02-16T01:30:00.000Z","updated_at":"2023-11-20T16:02:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"082fb5a0-a28f-428c-8cfa-2749ba460954","html_url":"https://github.com/toddsundsted/iterm2","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddsundsted%2Fiterm2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddsundsted%2Fiterm2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddsundsted%2Fiterm2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddsundsted%2Fiterm2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toddsundsted","download_url":"https://codeload.github.com/toddsundsted/iterm2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161283,"owners_count":21057556,"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":["crystal","iterm2"],"created_at":"2024-08-04T01:01:19.234Z","updated_at":"2025-04-10T05:16:20.141Z","avatar_url":"https://github.com/toddsundsted.png","language":"Crystal","funding_links":[],"categories":["Misc"],"sub_categories":[],"readme":"# iterm2\n\n[![GitHub Release](https://img.shields.io/github/release/toddsundsted/iterm2.svg)](https://github.com/toddsundsted/iterm2/releases)\n[![Build Status](https://github.com/toddsundsted/iterm2/actions/workflows/ci.yml/badge.svg)](https://github.com/toddsundsted/iterm2/actions)\n[![Documentation](https://img.shields.io/badge/docs-available-brightgreen.svg)](https://toddsundsted.github.io/iterm2/)\n\nDisplays images within the terminal using the ITerm2 [Inline Images\n Protocol](https://iterm2.com/documentation-images.html).\n\nRequires [ITerm2](https://iterm2.com/).\n\n## Installation\n\n1. Add the dependency to your `shard.yml`:\n\n```yaml\ndependencies:\n  iterm2:\n    github: toddsundsted/iterm2\n```\n\n2. Run `shards install`\n\n## Usage\n\n```crystal\nrequire \"iterm2\"\n\nFile.open(\"unicorn.png\") do |file|\n  Iterm2.new.display(file)\nend\n```\n\nThe `#display` method also accepts a block and yields an instance of\n`IO` that may be written to. See the documentation for the full API.\n\n## Contributors\n\n- [Todd Sundsted](https://github.com/toddsundsted) - creator and maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoddsundsted%2Fiterm2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoddsundsted%2Fiterm2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoddsundsted%2Fiterm2/lists"}