Skip to content

Latest commit

 

History

History
48 lines (40 loc) · 1.26 KB

README.md

File metadata and controls

48 lines (40 loc) · 1.26 KB

fictionArt

A command line tool written in ruby that displays ascii art of famous animated fictional characters.

Requirements

=> Homebrew (for macOS)
=> ruby version >= 1.8.6 (pre-installed on macOS, can be easily installed on linux)  
=> ImageMagick library (will be installed in next section)  

Installation

Linux

Run the following commands after (without the '$' sign) ruby has been installed succesfully

$ echo "export GEM_HOME=$HOME/.gem" >> ~/.bashrc
$ echo "export GEM_PATH=$HOME/.gem" >> ~/.bashrc
$ echo "export PATH=$PATH:~/.gem/bin" >> ~/.bashrc
$ source ~/.bashrc
$ sudo apt-get install imagemagick libmagickwand-dev
$ gem install fictionArt

MacOS

Run the following commands (without the '$' sign) after ruby has been installed succesfully

$ echo "export GEM_HOME=$HOME/.gem" >> ~/.bash_profile
$ echo "export GEM_PATH=$HOME/.gem" >> ~/.bash_profile
$ echo "export PATH=$PATH:~/.gem/bin" >> ~/.bash_profile
$ source ~/.bash_profile
$ brew install imagemagick@6 && brew link imagemagick@6 --force
$ gem install fictionArt

Usage

Example

$ fictionArt ironman

Output
image

Help

$ fictionArt -h