Skip to content

vagra/covid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

covid

using colly obtain covid data from worldometers.info per day, and show a 'daily-cases/daily-deaths' chart using d3

step-1: update files to server

or using some local web server like Python:

python -m http.server 80

step-2: build and first run

go build

this generate a executable file covid.

then run:

./covid

this obtain all data from worldometers.info and save to data folder.

step-3: add sceduled task

let covid auto obtain data once per day.

window: using scheduled tasks linux: using crontab

crontab -e
15 8-10 * * *  /your_server/covid/covid

step-4: visit site

https://your_server.com/covid

About

using colly obtain covid data from worldometers.info per day, and show a 'daily-cases/daily-deaths' chart using d3.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages