Skip to content

Commit 6fa576f

Browse files
author
Waren Gonzaga
committed
Update readme file
1 parent 2486399 commit 6fa576f

File tree

1 file changed

+31
-17
lines changed

1 file changed

+31
-17
lines changed

README.md

Lines changed: 31 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,21 @@
1010

1111
**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. [Visit Wiki](https://github.com/warengonzaga/covid19-tracker-cli/wiki)
1212

13+
## Domain Names
14+
15+
```bash
16+
# stable build
17+
covid19.trackercli.com
18+
covid19.warengonzaga.com
19+
covid19cli.now.sh
20+
21+
# dev build
22+
dev.covid19.trackercli.com
23+
covid19clidev.now.sh
24+
```
25+
26+
> Do you want a custom and private URL for your personal use? Join here: <https://warengonza.ga/TtYvZ34>
27+
1328
## Featured By
1429

1530
Wanna feature this project? Let me know!
@@ -49,20 +64,20 @@ To track COVID-19 cases on CLI globally, all you need to do is to use CURL or WG
4964
#### CURL
5065

5166
```bash
52-
curl https://trackercli.com
67+
curl https://covid19.trackercli.com
5368
```
5469

5570
#### WGET
5671

5772
```bash
58-
wget -i https://trackercli.com && cat index.html
73+
wget -i https://covid19.trackercli.com && cat index.html
5974
```
6075

6176
#### HTTPie
6277

6378
```bash
6479
# visit httpie.org
65-
http http://trackercli.com
80+
http http://covid19.trackercli.com
6681
```
6782

6883
### Country Tracking
@@ -73,31 +88,31 @@ To track COVID-19 cases on CLI by country, all you need to do is to append the U
7388

7489
```bash
7590
# example usage
76-
curl https://trackercli.com/philippines
91+
curl https://covid19.trackercli.com/philippines
7792
```
7893

7994
#### Country ISO 3166-1 Code
8095

8196
```bash
8297
# /ph or /phl is ISO 3166 code of the Philippines
83-
curl https://trackercli.com/ph
98+
curl https://covid19.trackercli.com/ph
8499
```
85100

86101
#### Country with History Chart
87102

88103
```bash
89104
# shows result with history chart
90-
curl https://trackercli.com/history/ph
105+
curl https://covid19.trackercli.com/history/ph
91106
```
92107

93108
```bash
94109
# shows by default a history chart
95-
curl https://trackercli.com/history/ph/cases
110+
curl https://covid19.trackercli.com/history/ph/cases
96111
```
97112

98113
```bash
99114
# shows result with history chart
100-
curl https://trackercli.com/history/ph/deaths
115+
curl https://covid19.trackercli.com/history/ph/deaths
101116
```
102117

103118
## Advance Usage
@@ -106,22 +121,22 @@ curl https://trackercli.com/history/ph/deaths
106121

107122
```bash
108123
# check update every 10 seconds (where -n 10 is the interval)
109-
watch -n 10 curl https://trackercli.com
124+
watch -n 10 curl https://covid19.trackercli.com
110125
```
111126

112127
### Create a Shortcut Command
113128

114129
```bash
115130
# set a desired alias for the command (replace endcov with your desired alias)
116131
# this will give you a global update
117-
# alias <your alias>="curl https://trackercli.com"
132+
# alias <your alias>="curl https://covid19.trackercli.com"
118133

119-
alias endcov="curl https://trackercli.com"
134+
alias endcov="curl https://covid19.trackercli.com"
120135

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

124-
alias endcovPH="curl https://trackercli.com/philippines"
139+
alias endcovPH="curl https://covid19.trackercli.com/philippines"
125140
```
126141

127142
## Official Blog
@@ -163,10 +178,10 @@ npm install
163178
# start the program by default it runs on port 7070
164179
npm run start
165180

166-
# curl to your local this is equivalent to https://trackercli.com
181+
# curl to your local this is equivalent to https://covid19.trackercli.com
167182
curl localhost:7070
168183

169-
# if you want to curl https://trackercli.com/ph then append /ph to the local host
184+
# if you want to curl https://covid19.trackercli.com/ph then append /ph to the local host
170185
curl localhost:7070/ph
171186
```
172187

@@ -196,7 +211,6 @@ If you're facing a problem in using COVID-19 Tracker CLI please let me know by c
196211
## To Do
197212

198213
* Add Static Version
199-
* Update URL in the banner
200214
* Sample Usage (gif)
201215
* Add HTTP Headers (currently F)
202216
* More Code Refactor! (I guess I know what I'm doing now... for sure)
@@ -221,7 +235,7 @@ If you love this project please consider to support the development by means of
221235

222236
## Supporters and Backers
223237

224-
* J. Archer, Gonzalo Montes, Keynell, Scullum, TX_Atheist
238+
* [J. Archer](https://www.buymeacoffee.com/WarenGonzaga/c/151732), [Gonzalo Montes](https://www.buymeacoffee.com/WarenGonzaga/c/155002), [Keynell](https://www.buymeacoffee.com/WarenGonzaga/c/156960), [Scullum](https://www.buymeacoffee.com/WarenGonzaga), [TX_Atheist](https://www.buymeacoffee.com/WarenGonzaga/c/157561), [Jade Cole](https://www.buymeacoffee.com/WarenGonzaga/c/159563)
225239

226240
Wanna see your name here? [Just buy me a coffee](https://www.buymeacoffee.com/warengonzaga)!
227241

0 commit comments

Comments
 (0)