https://github.com/lurst/shit
Show Image In Terminal
https://github.com/lurst/shit
Last synced: 4 months ago
JSON representation
Show Image In Terminal
- Host: GitHub
- URL: https://github.com/lurst/shit
- Owner: LuRsT
- Created: 2016-02-21T16:05:01.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-07T19:25:22.000Z (almost 10 years ago)
- Last Synced: 2025-03-23T21:35:54.499Z (10 months ago)
- Language: Perl
- Homepage:
- Size: 3.91 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shit (Show Image In Terminal)
Display images in your terminal no matter the terminal (at least 256 colors).
## Story
Once upon a time I was looking for something that would allow me to see an
image in the terminal, specifically via ssh, and the only tool I found was
a small perl script with a wierd name [here](http://askubuntu.com/a/290602).
The code wasn't on github, so I had a chat with the author who kindly let me
publish it.
Note: This was some time ago and the original link to his code is dead :(.
Original Code: http://antipathy.nonserviam.net/utilities/shit
[Video Demo](https://www.youtube.com/watch?v=sESMYVeJhKA) (Not made by me!)
## How to install:
At the moment this script was only tested on Ubuntu and Arch Linux.
Copy the script to your `bin` directory (that should be in your `$PATH` and
install the following required perl modules.
### Arch linux
sudo pacman -S perl-local-lib
### Ubuntu
sudo apt-get install libimage-magick-perl
sudo apt-get install liblocal-lib-perl
and finally:
perl -MCPAN -Mlocal::lib -e 'CPAN::install(Term::Size)'