https://github.com/flexd/node-motd
A picture crawling motd thing that displays a random image in the terminal when run.
https://github.com/flexd/node-motd
Last synced: 12 months ago
JSON representation
A picture crawling motd thing that displays a random image in the terminal when run.
- Host: GitHub
- URL: https://github.com/flexd/node-motd
- Owner: flexd
- Created: 2012-11-30T09:23:03.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2014-12-23T08:56:56.000Z (over 11 years ago)
- Last Synced: 2025-03-04T17:24:32.902Z (over 1 year ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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
==========
Run ```random-image``` and you will see a random 256-color image in your terminal.
Example
=======

Requirements
============
* cheerio
* request
* picture-tube