All Projects → omgimanerd → Getnews.tech

omgimanerd / Getnews.tech

Licence: apache-2.0
A web server that fetches data from the News API and formats it for display in the terminal.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Getnews.tech

Xidel
Command line tool to download and extract data from HTML/XML pages or JSON-APIs, using CSS, XPath 3.0, XQuery 3.0, JSONiq or pattern matching. It can also create new or transformed XML/HTML/JSON documents.
Stars: ✭ 335 (+256.38%)
Mutual labels:  cli, command-line, curl
Websocat
Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions
Stars: ✭ 3,477 (+3598.94%)
Mutual labels:  cli, command-line, curl
Cli
A command-line interface for Hetzner Cloud
Stars: ✭ 542 (+476.6%)
Mutual labels:  commandline-interface, cli, command-line
nycurl
A web server that fetches data from the New York Times and formats it for display in the terminal.
Stars: ✭ 27 (-71.28%)
Mutual labels:  news, article, curl
Cheat.sh
the only cheat sheet you need
Stars: ✭ 27,798 (+29472.34%)
Mutual labels:  cli, command-line, curl
Github Files Fetcher
Download a specific folder or file from a GitHub repo through command line
Stars: ✭ 73 (-22.34%)
Mutual labels:  cli, command-line
Nexmo Cli
Nexmo CLI (Command Line Interface)
Stars: ✭ 73 (-22.34%)
Mutual labels:  cli, command-line
Cognitocurl
🦉🤖Easily sign curl calls to API Gateway with Cognito authorization token.
Stars: ✭ 76 (-19.15%)
Mutual labels:  cli, curl
Tsv Utils
eBay's TSV Utilities: Command line tools for large, tabular data files. Filtering, statistics, sampling, joins and more.
Stars: ✭ 1,215 (+1192.55%)
Mutual labels:  cli, command-line
Pyinquirer
A Python module for common interactive command line user interfaces
Stars: ✭ 1,151 (+1124.47%)
Mutual labels:  cli, command-line
Totp Cli
A cli-based pass-backed TOTP app
Stars: ✭ 76 (-19.15%)
Mutual labels:  cli, command-line
Window Size
Reliable way to to get the height and width of the terminal/console in a node.js environment.
Stars: ✭ 79 (-15.96%)
Mutual labels:  cli, command-line
Sandmap
Nmap on steroids. Simple CLI with the ability to run pure Nmap engine, 31 modules with 459 scan profiles.
Stars: ✭ 1,180 (+1155.32%)
Mutual labels:  cli, command-line
The forge
Our groundbreaking, lightning fast PWA CLI tool
Stars: ✭ 70 (-25.53%)
Mutual labels:  cli, command-line
Navi
An interactive cheatsheet tool for the command-line
Stars: ✭ 10,055 (+10596.81%)
Mutual labels:  cli, command-line
Swiftline
Swiftline is a set of tools to help you create command line applications.
Stars: ✭ 1,156 (+1129.79%)
Mutual labels:  cli, command-line
Pilgo
Configuration-based dotfiles manager
Stars: ✭ 78 (-17.02%)
Mutual labels:  cli, command-line
Pypistats
Command-line interface to PyPI Stats API to get download stats for Python packages
Stars: ✭ 86 (-8.51%)
Mutual labels:  cli, command-line
Lua cliargs
A command-line argument parsing module for Lua.
Stars: ✭ 84 (-10.64%)
Mutual labels:  cli, command-line
Forge Node App
🛠📦🎉 Generate Node.js boilerplate with optional libraries & tools
Stars: ✭ 90 (-4.26%)
Mutual labels:  cli, command-line

getnews.tech

Powered by the News API

omgimanerd:~$ curl getnews.tech/trump
┌────────────────────────────────────────────────────────────────────────┐
│ Articles                                                               │
├────────────────────────────────────────────────────────────────────────┤
│ Huawei, Saudi Arabia, India: Your Thursday Briefing                    │
│ Published on Feb 20th, 2019 at 2:41pm EST                              │
│ President Trump boarding Air Force One last week.                      │
│ http://getnews.tech/s/7TYAJvAH                                         │
├────────────────────────────────────────────────────────────────────────┤
│ Trump Organization shelves plans for two new US hotel chains           │
│ Published on Feb 14th, 2019 at 7:07pm EST                              │
│ The Trump Organization will not move forward with ambitious            │
│ expansion plans for two hotel chains across the US, citing a toxic     │
│ political climate for the Trump brand.                                 │
│ http://getnews.tech/s/DGVGiZTO                                         │
├────────────────────────────────────────────────────────────────────────┤
│ Trump Loves a Culture War                                              │
│ Published on Feb 6th, 2019 at 2:36pm EST                               │
│ The president lied about abortion in the State of the Union.           │
│ http://getnews.tech/s/UrIzR005                                         │
├────────────────────────────────────────────────────────────────────────┤
│ Trump Versus the Socialist Menace                                      │
│ Published on Feb 7th, 2019 at 7:05pm EST                               │
│ President Trump giving his State of the Union address on Tuesday.      │
│ http://getnews.tech/s/_1CQRCZd                                         │
├────────────────────────────────────────────────────────────────────────┤
│ Trump-Kim Meeting, Brexit, Pulwama: Your Wednesday Briefing            │
│ Published on Feb 26th, 2019 at 2:16pm EST                              │
│ President Trump arriving in Hanoi, Vietnam.                            │
│ http://getnews.tech/s/g1YFW5W5                                         │
├────────────────────────────────────────────────────────────────────────┤
│             Powered by the News API (https://newsapi.org).             │
│               Follow @omgimanerd on Twitter and GitHub.                │
│                 Open source contributions are welcome!                 │
│               https://github.com/omgimanerd/getnews.tech               │
└────────────────────────────────────────────────────────────────────────┘

This is a web server that formats the news (primarily US based) from various sources on the web for display in the terminal. A link to each article is included if you want to read the full article.

Usage

You can fetch the latest news simply by typing

curl getnews.tech
curl us.getnews.tech/trump
curl fr.getnews.tech/world+cup
curl gr.getnews.tech/category=business

For additional options:

curl getnews.tech/:help

Contributing

Fork this repository and send me a pull request with any suggestions and changes. Use ESLint to format your JavaScript using the provided .eslintrc.js file. I highly recommend using the provided precommit hook to run the unit tests and ESLint.

ln -s ../../pre-commit.sh .git/hooks/pre-commit

You will need to acquire an API Key from the News API. Add them to your .bashrc or other environment variable configuration:

export NEWS_API_KEY=YOUR_KEY_HERE

Install the project dependencies:

npm install

Run the server:

node server.js

License

Apache 2

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].