Why Are There Images In My Terminal
Show images to the (iterm2-wielding) CLI user, right from ruby!
Installation
gem install 'why_are_there_images_in_my_terminal'
Or this line to your application's Gemfile:
gem 'why_are_there_images_in_my_terminal'
And then execute:
$ bundle
Usage
Standalone:
$> butwhy test.jpg
require 'why_are_there_images_in_my_terminal`
puts WhyAreThereImagesInMyTerminal.butwhy("test/test.jpg")
Or with an IO object or fancy options:
WhyAreThereImagesInMyTerminal.butwhy(File.open("test/test.jpg", "rb"))
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/MatthiasWinkelmann/Why-Are-There-Images-in-My-Terminal. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the WhyAreThereImagesInMyTerminal project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.