|CPAN (stable release)||GIT (dev release)|
I love xkcd; everybody does. What I don’t like is how you have to move the mouse cursor over the picture to see the hover text, which often is necessary for fully understanding the comic. Since I don’t use a mouse, for several reasons, I had to curl and grep; not very userfriendly, eh.
xkcd is a command-line interface to xkcd.com.
View, download and enjoy comics straight from the comfortable shell. The mouse-over text is displayed when the image-viewing application exits for maximum amusement. Called with zero arguments, the latest xkcd comic is displayed. The -c flag takes an (preferably valid) integer that corresponds to that particular xkcd comic number. The - a flag only displays the mouse-over text, while the - d flag downloads the comic to location.
A typical run might look like this:
For the ‘stable’ version:
or, for the development version:
The Perl module WWW::Mechanize needs to be installed.
To view the xkcd comics in X, feh or display (from the ImageMagick suite) is also required.