Skip to content

bagaswh/coronavirus-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Covid-19 Monitor

I know there are already many Covid-19 cases monitoring apps, dashboards, etc. But this runs on your system, giving notifications when new Covid-19 recovered cases, new cases, and/or deaths appear.

Install

npm install -g coronavirus-tracker

Usage

coronavirus-tracker [options]

Options:
  -V, --version                     output the version number
  -i, --interval <interval>         data fetching interval (in seconds) (default: 600)
  -u, --use-custom-sound            use custom sound for notification
  -c, --custom-sound-paths <customSoundPaths>  paths for custom sound (defaults to the sounds provided in the assets folder)
  -d, --data-path <dataPath>        path to store JSON data (defaults to {root}/data/data.json)
  -c, --clear                       clear local database before starting (default: false)
  -h, --help                        display help for command

Press Enter if you want to fetch data immediately without waiting for interval. Next interval will be reset.

Custom notification sound

To use custom notification sound, it needs a little work. Check this blog post for the steps: Node.js: Playing Sounds to Provide Notifications .

Data source

About

Track new Covid-19 cases and deaths on your desktop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published