An open API service indexing awesome lists of open source software.

https://github.com/zemmsoares/terminal-headlines

A terminal-based news reader.
https://github.com/zemmsoares/terminal-headlines

ncurses news-aggregator news-reader terminal-based

Last synced: 3 months ago
JSON representation

A terminal-based news reader.

Awesome Lists containing this project

README

          

# terminal-headlines

You can stay on top of the news headlines from your favorite sources with **terminal-headlines**, keep updated on the latest headlines straight from the comfort of your command line.

![screenshot](./doc/screen.png)

## Features

* Designed to be lightweight and fast (*at least that's the idea*)
* Customize your news sources to only see what you care about
* Display a more detailed description of the selected article
* Open articles in browser
* Automatic updates for news every X minutes
* Cross-platform compatibility (Windows, Linux, MacOS)
* Open Source

## Installation
#### Create config

replace **/data/config.json** with your API key from [NewsAPI.org](https://newsapi.org/) and choose the [sources](https://newsapi.org/docs/endpoints/sources).

```
{
"api_key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"sources": "associated-press,reuters"
}
```
###### Note: API is not open source, however as the project is under development and until a solution is found, newsAPI offers a development plan that can be used for development / testing purposes.

#### Compile

```
g++ main.cpp -lcurl -lncurses -o terminal-headlines
```
#### Run

```
./terminal-headlines
```