All Projects → wareneutron → Covid19 Tracker Cli

wareneutron / Covid19 Tracker Cli

Licence: gpl-3.0
A curl-based command line tracker for Novel Coronavirus or COVID-19 pandemic. It Supports terminal for linux and macos, command prompt for windows, and termux for android with real-time updates.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Covid19 Tracker Cli

Sqlite Global Tool
SQLite .NET Core CLI tool that allows the user to manually enter and execute SQL statements with or without showing query result.
Stars: ✭ 37 (-84.84%)
Mutual labels:  command-line-tool, cmd, cli, terminal
Initior
A command line application that let's you initialize your new projects the right way, replaces npm and yarn's init 🎆
Stars: ✭ 17 (-93.03%)
Mutual labels:  command-line-tool, cmd, cli, terminal
Ed
A modern UNIX ed (line editor) clone written in Go
Stars: ✭ 44 (-81.97%)
Mutual labels:  command-line-tool, cli, terminal
Pyinquirer
A Python module for common interactive command line user interfaces
Stars: ✭ 1,151 (+371.72%)
Mutual labels:  command-line-tool, cmd, cli
Tooling
Advancing Node.js as a framework for writing great tools
Stars: ✭ 98 (-59.84%)
Mutual labels:  command-line-tool, cli, terminal
Cheat.sh
the only cheat sheet you need
Stars: ✭ 27,798 (+11292.62%)
Mutual labels:  cli, terminal, curl
Curlie
The power of curl, the ease of use of httpie.
Stars: ✭ 877 (+259.43%)
Mutual labels:  cli, terminal, curl
Terminal layout
The project help you to quickly build layouts in terminal,cross-platform(一个跨平台的命令行ui布局工具)
Stars: ✭ 98 (-59.84%)
Mutual labels:  command-line-tool, cmd, cli
Rate.sx
💰 curl cryptocurrencies exchange rates
Stars: ✭ 563 (+130.74%)
Mutual labels:  cli, terminal, curl
Grex
A command-line tool and library for generating regular expressions from user-provided test cases
Stars: ✭ 4,847 (+1886.48%)
Mutual labels:  command-line-tool, cli, terminal
Typin
Declarative framework for interactive CLI applications
Stars: ✭ 126 (-48.36%)
Mutual labels:  command-line-tool, cli, terminal
Commander
Test your command line interfaces on windows, linux and osx and nodes viá ssh and docker
Stars: ✭ 183 (-25%)
Mutual labels:  cmd, cli, terminal
Streamhut
Stream your terminal to web without installing anything 🌐
Stars: ✭ 676 (+177.05%)
Mutual labels:  cli, terminal, real-time
Goaccess
GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
Stars: ✭ 14,096 (+5677.05%)
Mutual labels:  cli, terminal, real-time
Sultan
Sultan: Command and Rule over your Shell
Stars: ✭ 625 (+156.15%)
Mutual labels:  command-line-tool, cli, terminal
Sampler
Tool for shell commands execution, visualization and alerting. Configured with a simple YAML file.
Stars: ✭ 9,203 (+3671.72%)
Mutual labels:  command-line-tool, cmd, terminal
Host
Expose your LocalHost with this tool
Stars: ✭ 268 (+9.84%)
Mutual labels:  terminal, termux, curl
Tsukae
🧑‍💻📊 Show off your most used shell commands
Stars: ✭ 345 (+41.39%)
Mutual labels:  command-line-tool, cli, terminal
Gql
Very simple CLI for many GraphQL schemas in the cloud. Provides autocompletion for GraphQL queries
Stars: ✭ 101 (-58.61%)
Mutual labels:  cli, terminal, curl
Termuxarch
Experience the pleasure of the Linux command prompt in Android, Chromebook, Fire OS and Windows on smartphone, smartTV, tablet and wearable https://termuxarch.github.io/TermuxArch/
Stars: ✭ 183 (-25%)
Mutual labels:  cli, terminal, termux

COVID-19 Tracker CLI Mentioned in Awesome Coronavirus

Developed by Waren Gonzaga Github Release Github Star Github Fork License Powered By

Github Banner

COVID-19 Tracker CLI is an open-source NodeJS application for command line interface to track COVID-19 cases around the world. An optimized NodeJS application and a simple tracker with real-time updates from reliable data source. It Supports terminal for linux and macos, command prompt for windows, and termux for android. Visit Wiki

Public Domain Names

# stable build
covid19.trackercli.com
covid19cli.now.sh

# dev build
dev.covid19.trackercli.com
covid19clidev.now.sh

# uh-oh we reserve domains bro, now report us again! Try harder!

Do you want a custom and private URL for your personal use? Join here: https://warengonza.ga/TtYvZ34

Sponsored By

Github Banner

Featured By

Wanna feature this project? Let me know!

COVID-19 Tracker CLI

How it Works

It uses an API and collect the relevant information for your reference.

Data Source: https://www.worldometers.info/coronavirus

Features

This simple application offers you the following features...

  • Real-Time udpates.
  • Optimized application.
  • Fast response time (~< 100ms).
  • Simple layout and easy to understand.
  • By country query.
    • e.g. (/country).
  • By country with History Chart
    • e.g. (/history/<country>/ or append with <cases or deaths>)
  • Windows CMD support.
    • e.g. (/cmd or /cmd/country).
  • Plain or Basic version.
    • e.g. (/plain or /plain/country) or (/basic, /basic/country).
  • Random health saying on footer.
  • Local command line version.
    • e.g. (covid <country>)

More features coming soon...

Basic Usage

Global Tracking

To track COVID-19 cases on CLI globally, all you need to do is to use CURL or WGET command.

CURL

curl -L covid19.trackercli.com

WGET

wget -qO- https://covid19.trackercli.com

HTTPie

# visit httpie.org
http http://covid19.trackercli.com

CURL

Country Tracking

To track COVID-19 cases on CLI by country, all you need to do is to append the URL with the country name or country ISO 3166-1 code.

Country Name

# example usage
curl -L covid19.trackercli.com/philippines

Country ISO 3166-1 Code

# /ph or /phl is ISO 3166 code of the Philippines
curl -L covid19.trackercli.com/ph

CURL

Global Tracking with History Chart

# shows global result with history chart
curl -L covid19.trackercli.com/history
# shows by default a global history chart
curl -L covid19.trackercli.com/history/all

CURL

Country Tracking with History Chart

# shows result with history chart
curl -L covid19.trackercli.com/history/ph
# shows by default a history chart
curl -L covid19.trackercli.com/history/ph/cases
# shows result with history chart
curl -L covid19.trackercli.com/history/ph/deaths

CURL

Country Tracking with History Chart (Dashboard)

# shows result with history chart
curl -L covid19.trackercli.com/history/charts/ph

CURL

Advance Usage

Check Update Automagically

# check update every 10 seconds (where -n 10 is the interval)
watch -n 10 "curl -L covid19.trackercli.com"

# for more advance setup (where -s is to suppress curl's progress bar)
watch -c -n 600 "curl -s -L covid19.trackercli.com/<country>"

Create a Shortcut Command

# set a desired alias for the command (replace endcov with your desired alias)
# this will give you a global update
# alias <your alias>="curl https://covid19.trackercli.com"

alias endcov="curl https://covid19.trackercli.com"

# if you want to track a specific country
# alias <your alias>< coutry alias>="curl https://covid19.trackercli.com/< name, ISO2, ISO3 here>"

alias endcovPH="curl https://covid19.trackercli.com/philippines"

Local Command Line Tracker

# clone the repo
git clone https://github.com/warengonzaga/covid19-tracker-cli.git
# copy paste the command
cd covid19-tracker-cli && npm install && npm link
# run the local command line tracker. ex. covid <country/iso 3166 code>
covid ph

# if you want to see the result in plain view without ansi encoding
covid ph --plain

# run help for more info
covid help

Local Command Line Tracker in Container

# Create build file 
$ vim covid19-tracker-cli.containerfile
FROM docker.io/library/alpine
RUN apk update
RUN apk add git
RUN apk add npm
RUN git clone https://github.com/warengonzaga/covid19-tracker-cli.git
RUN cd covid19-tracker-cli && npm install && npm link

# Build container
$ podman build -t covid19-tracker-cli --file=covid19-tracker-cli.containerfile

# Run container
$ podman run -it --rm=true localhost/covid19-tracker-cli covid PH

Official Blog

Many people asking me how to properly use my tracker. Here's the blog on How to Track Coronavirus on Command Line. If you have comments or suggestions please leave it on the comment section of the blog.

Screenshots

Here's the screeshot of the tracker on CLI...

Screenshot

White Label / Personalize / Custom / Development

White Label / Personalize / Custom Build

We are still working on this part...

Development

Wanna improve the project? Follow our guidelines!

# clone the repo
git clone https://github.com/warengonzaga/covid19-tracker-cli.git
# go to the project folder
cd covid19-tracker-cli
# run npm
npm install
# start the program by default it runs on port 7070
npm run start

# curl to your local this is equivalent to https://covid19.trackercli.com
curl localhost:7070

# if you want to curl https://covid19.trackercli.com/ph then append /ph to the local host
curl localhost:7070/ph
# run this if you want to develop the program without restarting the server manually,
# everytime you save the file it will restart the server automagically
npm run dev

Regional Trackers

Contributing

Contributions are welcome, create a pull request to this repo and I will review your code. Please consider to submit your pull request to the dev branch. Thank you!

Issues

If you're facing a problem in using COVID-19 Tracker CLI please let me know by creating an issue in this github repository. I'm happy to help you! Don't forget to provide some screenshot or error logs of it!

To Do

  • Add Static Version
  • NPM package
  • By State (US)
  • By Region, City (PH)
  • Add HTTP Headers (currently F)
  • More Code Refactor! (I guess I know what I'm doing now... for sure)
  • More... (have suggestions? let me know!)

Community

Get the latest updates about the development!

Community

Wanna see other projects I made? Join today!

Community

Donate or Support

If you love this project please consider to support the development and help me to support the API provider of this command line tracker by means of coffee. Be a sponsor or backer of this project. Just a cup of coffee!

Donate Support

Help Us To Help Others

Some cups of my coffees goes to the foundation via #OneAgainstCovid19 by PayMaya

PayMaya

Supporters and Backers

Wanna see your name here? Just buy us a coffee!

License

COVID-19 Tracker CLI is licensed under GNU General Public License v3 - https://opensource.org/licenses/GPL-3.0

FOSSA Status

Code of Conduct

Read the Code of Conduct

Sources

Related Projects

Other Projects

  • WiFi Passview is an open-source batch script-based program that can recover your WiFi Password easily in seconds.

  • WRN Cleaner is an all in one batch script based native PC maintenance and cleaner for Windows.

Resources

Author

COVID-19 Tracker CLI is Developed and Maintained by Waren Gonzaga, Ian Vizarra, and Ken Gibas Abella


💻 with ❤️ by Waren Gonzaga with YHWH | Tracker CLI Developers

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].