iterm2
Version, currently 0.2.13 versions
- 0.2.1latestMar 27, 2021
- 0.2.0not indexedJul 9, 2021
- 0.1.0not indexedJul 9, 2021
github.com/toddsundsted/iterm2
Display images within the terminal using the ITerm2 Inline Images Protocol (https://iterm2.com/documentation-images.html).
6 stars
1 dependent
License: Apache License, Version 2.0
Installation
# Add this to your shard.yml
dependencies:
iterm2:
github: toddsundsted/iterm2
version: ~> 0.2.1Then run:
shards installshard.yml
- Crystal
>= 0.33.0, < 2.0.0- License
- Apache License, Version 2.0
- Author
- Todd Sundsted
Dependencies
Development Dependencies
- spectator*gitlab: arctic-fox/spectatordev
README
iterm2
Displays images within the terminal using the ITerm2 Inline Images Protocol.
Requires ITerm2.
Installation
- Add the dependency to your
shard.yml:
dependencies:
iterm2:
github: toddsundsted/iterm2
- Run
shards install
Usage
require "iterm2"
File.open("unicorn.png") do |file|
Iterm2.new.display(file)
end
The #display method also accepts a block and yields an instance of
IO that may be written to. See the documentation for the full API.
Contributors
- Todd Sundsted - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.2.1- Tagged
- Mar 27, 2021
- Commit
6f2c42277b34- Crystal
>= 0.33.0, < 2.0.0- Indexed
- yes
Dependents
Repository
github.com/toddsundsted/iterm2
Metadata
- Created
- Aug 12, 2026
- Updated
- Nov 30, 2026
- Synced
- Nov 30, 2026
- Versions
- 3