trumpline
a news feed cli of trump headlines
Last updated 4 years ago by colindevs .
ISC · Original npm · Tarball · package.json
$ cnpm install trumpline 
SYNC missed versions from official npm registry.

Trumpline

Overview

Ever feel down in the dumps after tirelessly hacking away at a bug that just won't fix?

Well guess what, its time to revitalize your spirit! Time to realize that you aren't the dumbest person on earth.

What's the best way to do that? Read random Donald Trump headlines from CNN, of course...

So next time, before you tear your hair off, have a laugh at someone who only has a wig to tear off:

$ trumpline
$ Trump to NYT on Heidi Cruz retweet: 'Yeah, it was a mistake'
$ http://rss.cnn.com/c/35492/f/676957/s/4eae2dfe/sc/7/l/0L0Scnn0N0C20A160C0A40C0A20Cpolitics0Cdonald0Etrump0Eheidi0Ecruz0Etweet0Cindex0Bhtml0Deref0Frss0Ipolitics/story01.htm
$ trumpline
$ Trump on Trump: How to get revenge
$ http://rss.cnn.com/c/35492/f/676957/s/4ea73f88/sc/7/l/0L0Scnn0N0C20A160C0A40C0A10Cpolitics0Chow0Edonald0Etrump0Esees0Ehimself0Cindex0Bhtml0Deref0Frss0Ipolitics/story01.htm

Have fun!

Build

Real easy. Just uses a package called feed-read to grab recent CNN headlines from their Politics section. Then filters our all articles without "Trump" in the headline. Then it maps only the title and link of each article to a new array, and logs one of them out using a random number.

To do:

  • Color/highlight output (using Chalk?)
  • Pull stories from other new feeds than CNN
  • Automatically start server and launch local website with HTML contents of article from CNN RSS feed?

Current Tags

  • 0.1.2                                ...           latest (4 years ago)

3 Versions

  • 0.1.2                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |