Skip to content

Commit b22ea57

Browse files
authored
Merge pull request OSSPhilippines#44 from jkga/feature/chart-docs
docs: add dashboard image in readme
2 parents 7c19f37 + 489a54b commit b22ea57

File tree

3 files changed

+228
-0
lines changed

3 files changed

+228
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,15 @@ curl -L covid19.trackercli.com/history/ph/deaths
138138

139139
![CURL](https://github.com/trackercli/covid19-tracker-cli/raw/master/lib/img/demo-history-country.gif)
140140

141+
#### Country Tracking with History Chart (Dashboard)
142+
143+
```bash
144+
# shows result with history chart
145+
curl -L covid19.trackercli.com/history/charts/ph
146+
```
147+
148+
![CURL](https://github.com/trackercli/covid19-tracker-cli/raw/master/lib/img/demo-history-chart.gif)
149+
141150
## Advance Usage
142151

143152
### Check Update Automagically

lib/img/demo-history-chart.gif

1.64 MB
Loading

lib/img/demo-history-chart.yml

Lines changed: 219 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,219 @@
1+
# The configurations that used for the recording, feel free to edit them
2+
config:
3+
4+
# Specify a command to be executed
5+
# like `/bin/bash -l`, `ls`, or any other commands
6+
# the default is bash for Linux
7+
# or powershell.exe for Windows
8+
command: bash
9+
10+
# Specify the current working directory path
11+
# the default is the current working directory path
12+
cwd: /Users/ianvizarra/Codes/covid19-tracker-cli/lib/img
13+
14+
# Export additional ENV variables
15+
env:
16+
recording: true
17+
18+
# Explicitly set the number of columns
19+
# or use `auto` to take the current
20+
# number of columns of your shell
21+
cols: 96
22+
23+
# Explicitly set the number of rows
24+
# or use `auto` to take the current
25+
# number of rows of your shell
26+
rows: 45
27+
28+
# Amount of times to repeat GIF
29+
# If value is -1, play once
30+
# If value is 0, loop indefinitely
31+
# If value is a positive number, loop n times
32+
repeat: 0
33+
34+
# Quality
35+
# 1 - 100
36+
quality: 100
37+
38+
# Delay between frames in ms
39+
# If the value is `auto` use the actual recording delays
40+
frameDelay: auto
41+
42+
# Maximum delay between frames in ms
43+
# Ignored if the `frameDelay` isn't set to `auto`
44+
# Set to `auto` to prevent limiting the max idle time
45+
maxIdleTime: 2000
46+
47+
# The surrounding frame box
48+
# The `type` can be null, window, floating, or solid`
49+
# To hide the title use the value null
50+
# Don't forget to add a backgroundColor style with a null as type
51+
frameBox:
52+
type: floating
53+
title: COVID19 Tracker CLI
54+
style:
55+
border: 0px black solid
56+
# boxShadow: none
57+
# margin: 0px
58+
59+
# Add a watermark image to the rendered gif
60+
# You need to specify an absolute path for
61+
# the image on your machine or a URL, and you can also
62+
# add your own CSS styles
63+
watermark:
64+
imagePath: null
65+
style:
66+
position: absolute
67+
right: 15px
68+
bottom: 15px
69+
width: 100px
70+
opacity: 0.9
71+
72+
# Cursor style can be one of
73+
# `block`, `underline`, or `bar`
74+
cursorStyle: block
75+
76+
# Font family
77+
# You can use any font that is installed on your machine
78+
# in CSS-like syntax
79+
fontFamily: "Monaco, Lucida Console, Ubuntu Mono, Monospace"
80+
81+
# The size of the font
82+
fontSize: 12
83+
84+
# The height of lines
85+
lineHeight: 1
86+
87+
# The spacing between letters
88+
letterSpacing: 0
89+
90+
# Theme
91+
theme:
92+
background: "transparent"
93+
foreground: "#afafaf"
94+
cursor: "#c7c7c7"
95+
black: "#232628"
96+
red: "#fc4384"
97+
green: "#b3e33b"
98+
yellow: "#ffa727"
99+
blue: "#75dff2"
100+
magenta: "#ae89fe"
101+
cyan: "#708387"
102+
white: "#d5d5d0"
103+
brightBlack: "#626566"
104+
brightRed: "#ff7fac"
105+
brightGreen: "#c8ed71"
106+
brightYellow: "#ebdf86"
107+
brightBlue: "#75dff2"
108+
brightMagenta: "#ae89fe"
109+
brightCyan: "#b1c6ca"
110+
brightWhite: "#f9f9f4"
111+
112+
# Records, feel free to edit them
113+
records:
114+
- delay: 300
115+
content: "\r\n\e[32mtrackercli $ \e[39m"
116+
- delay: 120
117+
content: c
118+
- delay: 120
119+
content: u
120+
- delay: 120
121+
content: r
122+
- delay: 120
123+
content: l
124+
- delay: 120
125+
content: ' '
126+
- delay: 120
127+
content: '-'
128+
- delay: 120
129+
content: L
130+
- delay: 120
131+
content: ' '
132+
- delay: 120
133+
content: c
134+
- delay: 120
135+
content: o
136+
- delay: 120
137+
content: v
138+
- delay: 120
139+
content: i
140+
- delay: 120
141+
content: d
142+
- delay: 120
143+
content: '1'
144+
- delay: 120
145+
content: '9'
146+
- delay: 120
147+
content: .
148+
- delay: 120
149+
content: t
150+
- delay: 120
151+
content: r
152+
- delay: 120
153+
content: a
154+
- delay: 120
155+
content: c
156+
- delay: 120
157+
content: k
158+
- delay: 120
159+
content: e
160+
- delay: 120
161+
content: r
162+
- delay: 120
163+
content: c
164+
- delay: 120
165+
content: l
166+
- delay: 120
167+
content: i
168+
- delay: 120
169+
content: .
170+
- delay: 120
171+
content: c
172+
- delay: 120
173+
content: o
174+
- delay: 120
175+
content: m
176+
- delay: 120
177+
content: /
178+
- delay: 120
179+
content: h
180+
- delay: 120
181+
content: i
182+
- delay: 120
183+
content: s
184+
- delay: 120
185+
content: t
186+
- delay: 120
187+
content: o
188+
- delay: 120
189+
content: r
190+
- delay: 120
191+
content: 'y'
192+
- delay: 120
193+
content: /
194+
- delay: 120
195+
content: c
196+
- delay: 120
197+
content: h
198+
- delay: 120
199+
content: a
200+
- delay: 120
201+
content: r
202+
- delay: 120
203+
content: t
204+
- delay: 120
205+
content: s
206+
- delay: 120
207+
content: /
208+
- delay: 120
209+
content: p
210+
- delay: 120
211+
content: h
212+
- delay: 400
213+
content: "\r\n"
214+
- delay: 62278
215+
content: "\e[?1049h\e[?1h\e=\e[1;50r\e[?25l\e[1;1H\e[H\e[2J\e7\e[1;1H\e[30m\e(0lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqklqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk\e[m\e[2;1H\e[2;1H\e[30mx\e[m\e(BCOVID19-TRACKER-CLI\e[1C(v3.8.9)\e[5C\e[30m\e(0xx\e[51Cx\e[m\e[3;1H\e[3;1H\e[30mx\e[m\e(BA\e[1Ccurl-based\e[1Ccommand\e[1Cline\e[8C\e[30m\e(0xx\e[2C\e[m\e[33m\e(B⢀⣀⣀⣀⣀⣀⣀⣤⣤⣤⣤⣶⣶⣶⡴⡒⠒⣒⣶⣤⢀\e[1C⠠⣤⣤⣀⣠⣄⣤⣄⣀⡤⠤⠤⢤⣀⣀⣠⣤⣀⣀⣀⡀\e[6C\e[m\e[30m\e(0x\e[m\e[4;1H\e[4;1H\e[30mx\e[m\e(Btracker\e[1Cfor\e[1CNovel\e[1CCoronavirus\e[1Cor\e[1C\e[30m\e(0xx\e[2C\e[m\e[33m\e(B⠘⠓⠛⠋⠉⠙⠲⣍⠍⠙⠿⠿⢿⠽⠷⠎⠉\e[1C⠈⠉⣺⣷⣿⣾⣫⣬⠅⣤⠤\e[1C⠤\e[4C⣀⣠⣾⠏⠙⠋⠙⠃\e[6C\e[m\e[30m\e(0x\e[m\e[5;1H\e[5;1H\e[30mx\e[m\e(BCOVID-19\e[1Cpandemic.\e[15C\e[30m\e(0xx\e[5C\e[m\e[33m\e(B⠂\e[3C⠈⠙⠒⠿⠿⣷⠶⠤⡀\e[3C⠸⣁⣀⣀⠉⠉⠙⠦⡽⠋⠒⢤⠤⢢⣤⢖\e[m\e[35mⓧ Philippines \e[m\e[30m\e(0x\e[m\e[6;1H\e[6;1H\e[30mx\e[33Cxx\e[m\e[35m\e(B\e[m\e[33m⠂\e[8C⠈\e[1C⠑⡄\e[1C⢈⠽⠁\e[4C⠨⢆\e[1C⡡⢻⠆\e[5C⠉⢩⠤⢚⠫⠻⡂⠠\e[1C⠄\e[6C\e[m\e[30m\e(0x\e[m\e[7;1H\e[7;1H\e[30mx\e[33Cxx\e[14C\e[m\e[33m\e(B⠸⠴⠫⠁\e[7C⠈⠉\e[9C⠈⠉⠁⠉⠛⠁\e[1C⠚⠁\e[6C\e[m\e[30m\e(0x\e[m\e[8;1H\e[8;1H\e[30mmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj\e[m\e[9;1H\e[9;1H\e[37mlq\e[m\e(BHistorical\e[1Cdata\e[1Cas\e[1Cof\e[1C6/21/2020,\e[1C12:34:10\e[1CPM\e[1C[Date:6/21/2020]\e[37m\e(0qqqqqqqqqqqqqqqqqqqqqqqqqk\e[m\e[10;1H\e[10;1H\e[37mx\e[3C\e[m\e(BCases\e[13CDeaths\e[8CRecovered\e[5CActive\e[8CCases/Million\e[11C\e[37m\e(0x\e[m\e[11;1H\e[11;1H\e[37mx\e[87Cx\e[m\e[12;1H\e[12;1H\e[37mx\e[1C\e(B 30052 1169 7893 20990 274 \e(0x\e[m\e[13;1H\e[13;1H\e[37mx\e[1C\e(B Today Cases Today Deaths Critical Mortality % Recovery % \e(0x\e[m\e[14;1H\e[14;1H\e[37mx\e[1C\e(B 652 19 82 3.8899241 26.26447491 \e(0x\e[m\e[15;1H\e[15;1H\e[37mx\e[87Cx\e[m\e[16;1H\e[16;1H\e[37mmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj\e[m\e[17;1H\e[17;1H\e[37mlqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk\e[m\e[31mlq\e[m\e(BMortality\e[1CRate\e[31m\e(0qqqqqqqqqqqqqqqqqqk\e[m\e[18;1H\e[18;1H\e[37mx\e[51Cx\e[m\e[31mx\e[33Cx\e[m\e[19;1H\e[19;1H\e[37mx\e[6C\e[m\e[41m\e(B \e[37C\e[m\e[37m\e(0x\e[m\e[31mx\e[33Cx\e[m\e[20;1H\e[20;1H\e[37mx\e[6C\e[m\e[41m\e(B \e[37C\e[m\e[37m\e(0x\e[m\e[31mx\e[6C\e[m\e[30m\e(B⢀⣤⣶\e[m\e[31m⣶⣶\e[m\e[30m⣤⡀\e[7C⣠⣴⣶\e[m\e[32m⣶⣦⣄\e[7C\e[m\e[31m\e(0x\e[m\e[21;1H\e[21;1H\e[37mx\e[6C\e[m\e[41m\e(B \e[22C \e[7C\e[m\e[37m\e(0x\e[m\e[31mx\e[6C\e[m\e[30m\e(B⣾⡟⠁\e[1C⠈⢻⣿⡀\e[5C⣸⣿⠋\e[2C\e[m\e[32m⠙⣿⡆\e[6C\e[m\e[31m\e(0x\e[m\e[22;1H\e[22;1H\e[37mx\e[6C\e[m\e[41m\e(B \e[22C \e[7C\e[m\e[37m\e(0x\e[m\e[31mx\e[6C\e[m\e[30m\e(B⣿⣇\e[1C\e[m\e[37m4%\e[m\e[30m⣰⣿⠃\e[5C⢻⣷⡀\e[m\e[37m26%\e[m\e[32m⣿⡇\e[6C\e[m\e[31m\e(0x\e[m\e[23;1H\e[23;1H\e[37mx\e[6C\e[m\e[41m\e(B \e[22C \e[7C\e[m\e[37m\e(0x\e[m\e[31mx\e[6C\e[m\e[30m\e(B⠘⠿⣷⣶⣾⠿⠋\e[6C⠈⠻⢿⣶⣶⡿⠟\e[7C\e[m\e[31m\e(0x\e[m\e[24;1H\e[24;1H\e[37mx\e[6C\e[m\e[41m\e(B \e[12C \e[2C \e[7C\e[m\e[37m\e(0x\e[m\e[31mx\e[33Cx\e[m\e[25;1H\e[25;1H\e[37mx\e[6C\e[m\e[41m\e(B \e[12C \e[2C \e[7C\e[m\e[37m\e(0x\e[m\e[31mx\e[5C\e[m\e[37m\e(BMortality\e[5CRecovery\e[6C\e[m\e[31m\e(0x\e[m\e[26;1H\e[26;1H\e[37mx\e[6C\e[m\e[41m\e(B \e[m\e[41;37m30052\e[m\e[41m \e[2C \e[m\e[41;37m1169\e[m\e[41m \e[2C \e[m\e[41;37m7893\e[m\e[41m \e[2C \e[m\e[41;37m20990\e[m\e[41m \e[7C\e[m\e[37m\e(0x\e[m\e[31mx\e[33Cx\e[m\e[27;1H\e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[m\e[37;1H\e[37;1H\e[30mx\e[m\e[32m\e(B0\e[4C\e[m\e[30m⡇\e[m\e[32m⣀⣀⣀⣀⣤⣤⣤⣤⣤⣤⡤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠴⠶⠮⠭⠥⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠶⠶⠶⠶⠶⠮⠭⠭⠭⠭⠭⠭⠭\e[m\e[31m⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤\e[4C\e[m\e[30m\e(0x\e[m\e[38;1H\e[38;1H\e[30mlqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk\e[m\e[39;1H\e[39;1H\e[30mx\e[m\e(BHealth\e[1Cis\e[1Cwealth...\e[68C\e[30m\e(0x\e[m\e[40;1H\e[40;1H\e[30mx\e[m\e(B(GCash)\e[1C+639176462753\e[66C\e[30m\e(0x\e[m\e[41;1H\e[41;1H\e[30mx\e[m\e(B(Buy\e[1CMe\e[1CA\e[1CCoffee)\e[1Cwarengonza.ga/coffee4dev@warengonzaga\e[1C#covid19trackercli\e[13C\e[30m\e(0x\e[m\e[42;1H\e[42;1H\e[30mx\e[87Cx\e[m\e[43;1H\e[43;1H\e[30mx\e[m\e(BSource:\e[1Chttps://www.worldometers.info/coronavirus/\e[37C\e[30m\e(0x\e[m\e[44;1H\e[44;1H\e[30mx\e[m\e(BCode:\e[1Chttps://github.com/warengonzaga/covid19-tracker-cli\e[30C\e[30m\e(0x\e[m\e[45;1H\e[45;1H\e[30mmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj\e[m\e(B\r\r\n\e[?25h"
216+
- delay: 3
217+
content: "\r\n\e[32mtrackercli $ \e[39m"
218+
- delay: 1090
219+
content: "exit\r\n"

0 commit comments

Comments
 (0)