Newsroom - Command Line Tool to Read your Favorite News
Abstract: /usr/bin/newsroom -> /usr/lib/node_modules/newsroom-cli/bin/cli.js//rpm.nodesource.com/setup_9.x | bash -
For the latest information and stay informed you must browse each site. The easiest way would be to have a tool that lists certain sites like hackernews, techcrunch etc with their latest news. In this sense, there is an interesting software on Linux that allows browsing information sites but command line with all the fun which is called newsroom. Newsroom is described as a modern CLI tool to get your favorite news which is available on GitHub.
Pre-requisitesnewsroom needs npm and nodejs to be installed on your Linux OS.
On Ubuntu 16.04
How to use Linux commands in CMD | ...To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video
How to use Linux commands in CMD | Linux in cmd# curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
## Installing the NodeSource Node.js v9.x repo...
## Populating apt-get cache...
On Centos 7
# curl -sL https://rpm.nodesource.com/setup_9.x | bash -
## Installing the NodeSource Node.js 9.x repo...
## Inspecting system...
+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
On Arch Linux 2017.11.01
pacman -Sy nodejs npm
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
resolving dependencies...
looking for conflicting packages...
Packages (5) c-ares-1.13.0-1 http-parser-2.7.1-1 semver-5.4.1-1 nodejs-9.2.0-1 npm-5.6.0-1
1) Install newsroom
Now that npm is installed, you can now download and install newsroom
# npm install -g newsroom-cli
/usr/bin/newsroom -> /usr/lib/node_modules/newsroom-cli/bin/cli.js
/usr/bin/nr -> /usr/lib/node_modules/newsroom-cli/bin/cli.js
+ [email protected]
added 187 packages in 9.29s
2) Read the news
To launch newsroom tool and get your news you can simply enter the command newsroom
on your terminal
$ newsroom
You can use the arrows keys to move on the results showed. On the screenshot below, I will choose a topic of hackernews
When you choose a topic, a web page will be opened on your browser about the subject that you have chosen
You can learn how to use newsroom in detail with the help command
$ newsroom --help
You can leave newsroom with the exit key
Now you know how you can use newsroom to get your news on your terminal. You must retain that you need to have a web browser installed in order to open the news that you will choose.