All Projects → bhumijgupta → Deno-news-cli

bhumijgupta / Deno-news-cli

Licence: other
A deno based CLI app to show quick news at your terminal

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Deno-news-cli

sherlock-deno
🕵️ Find usernames across 350+ websites & social networks - written in TypeScript and run via Deno
Stars: ✭ 19 (+5.56%)
Mutual labels:  deno, deno-cli
garn-validator
Create validations with ease
Stars: ✭ 42 (+133.33%)
Mutual labels:  deno
i18next-fs-backend
i18next-fs-backend is a backend layer for i18next using in Node.js and for Deno to load translations from the filesystem.
Stars: ✭ 67 (+272.22%)
Mutual labels:  deno
Fae
A functional module for Deno inspired from Ramda.
Stars: ✭ 44 (+144.44%)
Mutual labels:  deno
denoliver
A simple, dependency free static file server for Deno with possibly the worst name ever.
Stars: ✭ 94 (+422.22%)
Mutual labels:  deno
dotland
deno.land website
Stars: ✭ 947 (+5161.11%)
Mutual labels:  deno
astrodon
Make Desktop apps with Deno 🦕
Stars: ✭ 826 (+4488.89%)
Mutual labels:  deno
compress
compress and uncompress for Deno
Stars: ✭ 29 (+61.11%)
Mutual labels:  deno
kafkaSaur
Apache Kafka client for Deno
Stars: ✭ 42 (+133.33%)
Mutual labels:  deno
oembed-parser
Extract oEmbed data from given webpage
Stars: ✭ 65 (+261.11%)
Mutual labels:  deno
Thread
type safe multi-threading made easier
Stars: ✭ 34 (+88.89%)
Mutual labels:  deno
awesome-oak
A list of community projects for oak
Stars: ✭ 63 (+250%)
Mutual labels:  deno
zeno.zsh
zsh fuzzy completion and utility plugin with Deno.
Stars: ✭ 119 (+561.11%)
Mutual labels:  deno
discord-emoji
[Library/Deno] A near exact emoji tables of Discord for string-based insertion of emotes without having to escape Unicode.
Stars: ✭ 37 (+105.56%)
Mutual labels:  deno
shell
A very lightweight framework for building shell/CLI applications. Works in Node.js, Deno, and the browser.
Stars: ✭ 63 (+250%)
Mutual labels:  deno
media types
Deprecated. Use std/media_types instead.
Stars: ✭ 21 (+16.67%)
Mutual labels:  deno
land
Run Deno X module without installation.
Stars: ✭ 39 (+116.67%)
Mutual labels:  deno
azure-functions-deno-worker
Run Deno 🦕 on Azure Functions ⚡️
Stars: ✭ 99 (+450%)
Mutual labels:  deno
svelte
Svelte compiler ported to Deno
Stars: ✭ 71 (+294.44%)
Mutual labels:  deno
deno-bin
Use Deno via npm
Stars: ✭ 52 (+188.89%)
Mutual labels:  deno

News CLI ASCII art

Find your quick news byte at your terminal.

Installation

You can download the executable directly from GitHub.

deno install --allow-net --allow-read --allow-write --allow-env -n news-cli https://raw.githubusercontent.com/bhumijgupta/Deno-news-cli/master/mod.ts

Features

  • Get news headline
  • Get news by category
  • Get news including a keyword
  • Search for news from international sources

Example

Running news-cli -latest -c technology -q Google will give output:

Screenshot

Setup

  1. Create you free account on https://newsapi.org/.
  2. Run the command to setup your api key
    news-cli --config <API_KEY>
    
  3. Run the following command to get more info
       news-cli --help
    

Usage

Run news-cli in your terminal followed by any of the filters

Optional filters:
   -h, --help		 Shows this help message and exits
   -l, --latest		 If the flag is set, then news will be returned only from latest headlines
   -q, --query		 Find news related to a specific keyword
   -c, --category		 Find news in a valid category (only applicable if used with -l, --latest). The valid categories are: business, entertainment, general, health, science, sports, technology
   --config <API_KEY>		 Set API key for news API. The key can be received from https://newsapi.org/

Linting

The project uses Deno's inbuilt formatter. You can manually lint code using

deno fmt

Author

forthebadge

Bhumij Gupta

GitHub followers LinkedIn Twitter URL


if (repo.isAwesome || repo.isHelpful) {
  StarRepo();
}
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].