A picture crawling motd thing that displays a random image in the terminal when run.
npm install motd
|3||downloads in the last week|
|6||downloads in the last month|
|Version||0.0.1-b last updated a few seconds ago|
|Keywords||motd, random, image|
|Dependencies||picture-tube, cheerio, request|
I was linked http://maxogden.com/scraping-with-node.html the other day and it looked nice, I wanted to play with it.
This is basically the tutorial put together in a module, I plan on expanding it a bit to do the following things:
- Fetch a list of URLs to crawl from a main server.
- Cache images it fetches locally and display a random image from those instead of going online every time
- Possibly scale down the bigger images so you just get something fun in the terminal.
- Perhaps add an option to not always display an image.
How to use
random-image and you will see a random 256-color image in your terminal.