You are not logged in.
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.
Offline
That's awesome. Good job . Is always good see xkcd frequently
Offline
Thank you.
I've been thinking about creating some sort of daemon that could notify the user when a new xkcd comic is available, perhaps execute some arbitary command or just download it...
mmh... what do you think?
Offline
Wow, that's what I needed: A short distraction without having to open a browser.
Offline
I've been thinking about creating some sort of daemon that could notify the user when a new xkcd comic is available, perhaps execute some arbitary command or just download it...
mmh... what do you think?
Excellent idea. Go for it
Offline
Nice!
Not sure if a daemon is necessary though, xkcd has long updated on Mondays, Wednesdays and Fridays
edit: it would be nice if you could pass an option to get a random comic.
xkcd -r
for example. If it helps the URL for a random comic is http://dynamic.xkcd.com/random/comic/
Last edited by SS4 (2011-01-23 18:44:46)
Rauchen verboten
Offline
edit: it would be nice if you could pass an option to get a random comic.
Thank you, and done.
Offline
SS4 wrote:edit: it would be nice if you could pass an option to get a random comic.
Thank you, and done.
Thank you
Rauchen verboten
Offline
Of course, if you want a CLI interface to XKCD, there's always this: http://uni.xkcd.com/
Last edited by tavianator (2011-01-23 19:45:29)
Offline
I've added a --download-all option; use common sense, we don't want Randal sketching comics on how archlinux users DDOS him, right
Offline