Inform is a command line interface npm package which gets you the latest news from different sources and categories. I added a small touch where you can also get random quotes and jokes.
Inform is built with NodeJs with the help of 3 different free APIs and npm packages listed below :
npm install -g inform-daily
Clone the repo
git clone https://github.com/rupangkan/inform.git
Change Directory into the repository
cd inform
Install the NPM package globally
npm install -g
For Linux :
sudo npm install -g
Inform is only an interactive command line inteface (for now). It will react to users choices. To run it type :
inform
Select your choices.
- The news section (which is the main part) offers news for different categories, countries and sources :
Source | id |
---|---|
BBC News | bbc-news |
CNN | cnn |
Fox News | fox-news |
Country | 2-letter ISO 3166-1 code |
---|---|
🇮🇳 India | in |
🇺🇸 USA | us |
🇦🇺 Australia | au |
🇷🇺 Russia | ru |
🇫🇷 France | fr |
🇬🇧 United Kingdom | gb |
- business
- entertainment
- general
- health
- science
- sports
- technology
- The Joke and the Quote section provides a random Joke and Quote (for now).
Distributed under the MIT License. See LICENSE
for more information.