Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahmadawais/corona-cli
π¦ Track the Coronavirus disease (COVID-19) in the command line. Worldwide for all countries, for one country, and the US States. Fast response time (< 100ms). https://x.com/MrAhmadAwais
https://github.com/ahmadawais/corona-cli
corona coronavirus coronavirus-analysis coronavirus-info coronavirus-real-time coronavirus-tracking covid-19 visualization
Last synced: 30 days ago
JSON representation
π¦ Track the Coronavirus disease (COVID-19) in the command line. Worldwide for all countries, for one country, and the US States. Fast response time (< 100ms). https://x.com/MrAhmadAwais
- Host: GitHub
- URL: https://github.com/ahmadawais/corona-cli
- Owner: ahmadawais
- License: mit
- Created: 2020-03-19T10:57:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-01T08:30:14.000Z (over 2 years ago)
- Last Synced: 2024-10-01T19:41:37.705Z (about 1 month ago)
- Topics: corona, coronavirus, coronavirus-analysis, coronavirus-info, coronavirus-real-time, coronavirus-tracking, covid-19, visualization
- Language: JavaScript
- Homepage: https://NodeCLI.com
- Size: 7.13 MB
- Stars: 1,846
- Watchers: 39
- Forks: 191
- Open Issues: 39
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- Funding: .github/funding.yml
- License: license
- Code of conduct: code-of-conduct.md
Awesome Lists containing this project
- awesome-list - corona-cli - 19) in the command line. Worldwide for all countries, for one country, and the US States. Fast response time (&lt; 100ms). To chat: https://twitter.com/MrAhmadAwais/ | ahmadawais | 1767 | (JavaScript)
README
Track the Coronavirus disease (COVID-19) or the Novel Coronavirus Strain.
[![DOWNLOADS](https://img.shields.io/npm/dt/corona-cli?label=DOWNLOADS%20%20%E2%9D%AF&colorA=007C92&colorB=007C92&style=flat)](https://www.npmjs.com/package/corona-cli) [![Learn Node.js CLI Automation](https://img.shields.io/badge/-NodeCLI.com%20%E2%86%92-gray.svg?colorB=007C92&style=flat)](https://nodecli.com/?utm_source=GitHubFOSS) [![Follow @MrAhmadAwais on Twitter](https://img.shields.io/badge/FOLLOW%20@MRAHMADAWAIS%20%E2%86%92-gray.svg?colorA=007C92&colorB=007C92&style=flat)](https://twitter.com/mrahmadawais/)
# corona-cli
- π Get worldwide Coronavirus disease (COVID-19) reporting
- π€― Active daily reporting of your country's COVID-19 statistics
- πΊπΈ Get US States data for Coronavirus disease reports across the US
- ποΈ Data: Country, Cases, Deaths, Recovered, Active, Critical, Per Million
- π Charts: Plot statistics in the form of line charts both regular and logarithmic
- π Sort: `cases`, `cases-today`, `deaths`, `deaths-today`, `recovered`, `active`, `critical`, `per-million`
[![Watch Awais talk about corona-cli](./.github/talk.jpg)](https://www.youtube.com/watch?v=8pMxyyApG8g)
[![π](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/install.png)](./../../)
## Install
```sh
# Install globally (recommended).
npm install -g corona-cli# Or run directly with npx (installs CLI on every run).
npx corona-cli
```[![π](./.github/install.gif)](./../../)
[![βοΈ](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/usage.png)](./../../)
## Usage
### All Countries
```sh
# Display data for all countries.
corona# Display data for all countries in single color.
corona --xcolor# Alias: Display data for all countries in single color.
corona -x
```[![π](./.github/corona.gif)](./../../)
### Single Country
```sh
# Display data for given country.
corona# Display data for given country i.e. China.
corona china# Display data for given country i.e. USA.
corona usa
```[![π](./.github/country.gif)](./../../)
### US States Data
```sh
# Display data for all the US states.
corona states# Display states data sorted by active cases.
corona states --sort active# Display states data sorted by Cases today.
corona states -s cases-today
```[![π](./.github/states.gif)](./../../)
### Sort Data
```sh
# Sort data by type
corona --sort country
corona --s cases# All sorting parameters.
corona -s country
corona -s cases
corona -s cases-today
corona -s deaths
corona -s deaths-today
corona -s recovered
corona -s active
corona -s critical
corona -s per-million# Reverse sort data
corona --sort active --reverse
corona -s active -r
```[![π](./.github/sort.gif)](./../../)
### Bar Charts
```sh
# Print bar charts for max 10 countries.
corona --bar
corona -b# Print bar charts for top 5 countries w.r.t deaths.
corona --bar --sort deaths --limit 5
corona -b -s deaths -l 5# Print bar charts countries w.r.t recovered cases.
corona --bar --sort recovered
corona -b -s recovered
```[![π](./.github/bars.gif)](./../../)
### Line Charts: Regular & Logarithmic
```sh
# Print a country line chart.
corona usa --chart
corona usa --c# Print a country line chart with logarithmic data.
corona china --chart --log
corona china -c -g
```[![π](./.github/charts.gif)](./../../)
### Limit the output
````sh
# Print a limited number of entries to the output.
corona --limit 10
corona -l 10# Print a bare bones table with no info.
corona --minimal
corona -m
````#### CLI Help
```sh
# Display the help data.
corona help
corona --help
```
[![π](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/log.png)](changelog.md)
## Changelog
[β― Read the changelog here β](changelog.md)
**KEY**: `π¦ NEW`, `π IMPROVE`, `π FIX`, `π DOC`, `π RELEASE`, and `β TEST`
> _I use [Emoji-log](https://github.com/ahmadawais/Emoji-Log), you should try it and simplify your git commits._
[![π](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/license.png)](./../../)
## License & Conduct
- MIT Β© [Ahmad Awais](https://twitter.com/MrAhmadAwais/)
- [Code of Conduct](code-of-conduct.md)### Sources
Novel Coronavirus (2019-nCoV) situation reports
- World Health Organization (WHO)
2019 Novel Coronavirus (2019-nCoV) in the U.S.
-. U.S. Centers for Disease Control and Prevention (CDC)
Outbreak Notification - National Health Commission
(NHC) of the Peopleβs Republic of China
Novel coronavirus (2019-nCoV) -
Australian Government Department of Health
Novel coronavirus 2019-nCoV: early estimation of epidemiological parameters and epidemic prediction
- Jonathan M. Read et al, Jan. 23,2020.
Early Transmissibility Assessment of a Novel Coronavirus in Wuhan, China
- Maimuna Majumder and Kenneth D. Mandl, Harvard University - Computational Health Informatics Program - Posted:
24 Jan 2020 Last revised: 27 Jan 2020
Report 3: Transmissibility of 2019-nCoV
- 25 January 2020 - Imperial College Londonβ
Case fatality risk of influenza A(H1N1pdm09): a systematic review
- Epidemiology. Nov. 24, 2013
A novel coronavirus outbreak of global health concern
- Chen Want et al. The Lancet. January 24, 2020
Symptoms of Novel Coronavirus (2019-nCoV)
- CDC
China's National Health Commission news conference on coronavirus
- Al Jazeera. January 26, 2020
Wuhan lockdown 'unprecedented', shows commitment to contain virus: WHO representative in China
- Reuters. January 23, 2020
Statement on the meeting of the International Health Regulations (2005) Emergency Committee regarding the
outbreak of novel coronavirus (2019-nCoV)
- WHO, January 23, 2020
International Health Regulations Emergency Committee on novel coronavirus in China
- WHO, January 30, 2020
Human-to-human transmission of Wuhan virus outside of China, confirmed in Germany, Japan and Vietnam
- The Online Citizen, Jan. 29, 2020
Who: "Live from Geneva on the new #coronavirus outbreak"
CDC Confirms Person-to-Person Spread of New Coronavirus in the United States
- CDC Press Release, Jan. 30, 2020
CMO confirms cases of coronavirus in England
- CMO, UK, Jan. 31, 2020
Coronavirus in France: what you need to know
- The Local France, Jan. 31, 2020
First two persons infected with coronavirus identified in Russia -
Tass, Jan. 31, 2020
Updated understanding of the outbreak of 2019 novel coronavirus (2019nCoV) in Wuhan, China
- Journal of Medical Virology, Jan. 29, 2020
Estimating the effective reproduction number of the 2019-nCoV in China
- Zhidong Cao et al., Jan. 29, 2020
Preliminary estimation of the basic reproduction number of novel coronavirus (2019-nCoV) in China, from 2019
to 2020: A data-driven analysis in the early phase of the outbreak
- Jan. 30, 2020
Coronavirus: Window of opportunity to act, World Health Organization says
- BBC, Feb,\. 4, 2020
Clinical Characteristics of 138 Hospitalized Patients With 2019 Novel CoronavirusβInfected Pneumonia in
Wuhan, China
- Wang et. al, JAMA, Feb. 7, 2020
NovelCOVID API based on top of WorldMeter
[![π](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/connect.png)](./../../)
## Connect
Β (follow) To stay up to date on free & open-source software
Β (follow) To get #OneDevMinute daily hot tips & trolls
Β (subscribe) To tech talks & #OneDevMinute videos
Β (read) In-depth & long form technical articles
Β (connect) On the LinkedIn profile y'all
[![π](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/sponsor.png)](./../../)
## Sponsor
Me ([Ahmad Awais](https://twitter.com/mrahmadawais/)) and my incredible wife ([Maedah Batool](https://twitter.com/MaedahBatool/)) are two engineers who fell in love with open source and then with each other. You can read more [about me here](https://ahmadawais.com/about). If you or your company use any of my projects or like what Iβm doing then consider backing me. I'm in this for the long run. An open-source developer advocate.
- π **$9.99/month (recommended)** β― [Two cups of CaffΓ¨ latte (coffee) every month β](https://pay.paddle.com/checkout/540217)
- π **$99.99 (one-time sponsor)** β― [Support an hour of open-source code β](https://pay.paddle.com/checkout/515568)
- π° **$49.99 (one-time sponsor)** β― [Support an hour of maintenance β](https://pay.paddle.com/checkout/527253)
- βοΈ **$9.99 (one-time sponsor)** β― [Lunch/coffee β](https://pay.paddle.com/checkout/527254)
Or you can back me by checking out my super fun video course. After building hundreds of developer automation tools used by millions of developers, I am sharing exactly how you can do it yourself with minimum effective effort. Learn to build Node.js & JavaScript based CLI (Command Line Interface) apps. Automate the grunt work, do more in less time, impress your manager, and help the community.
β I'm sharing it all in this online video course. Node CLI Automation
without wasting a 1,000 hours β
[![Node CLI](https://img.shields.io/badge/-NodeCLI.com%20%E2%86%92-gray.svg?colorB=488640&style=flat)](https://nodecli.com/?utm_source=FOSS)
[![Ahmad on Twitter](https://img.shields.io/twitter/follow/mrahmadawais.svg?style=social&label=Follow%20@MrAhmadAwais)](https://twitter.com/mrahmadawais/)
[![Ahmad on Twitter](https://raw.githubusercontent.com/ahmadawais/stuff/master/sponsor/sponsor.jpg)](https://github.com/AhmadAwais/sponsor)