Skip to content

An app to get desktop notifications for COVID-19 related data

Notifications You must be signed in to change notification settings

harshit-sinha-developer/covid-19-tracker

Repository files navigation

COVID-19 Tracker

A desktop Node.js app to track and get COVID-19 updates on desktop through notifications. Also stores stats through constant snapshots Uses Worldometers in the background.

Prerequisites

  1. Node.js
  2. NPM (Comes bundled with Node.js)
  3. pm2 (Optional)
npm install pm2 -g

Getting Started

  1. Clone this repo
git clone https://github.com/harshit-sinha-developer/covid-19-tracker.git
  1. Run npm install
npm install
  1. Get data as notifications
npm start
  1. Schedule notifications
npm run schedule
  1. Run scheduler in background
pm2 start schedule.js

Configuration

  1. Select list of countries to get notifications for - Uncomment countries in the enabled_countries_regions.js
    Default - USA, Canada, India, World

  2. Select status to display - Uncomment fields in notificationFields property in config.js
    Default - Total Cases, New Cases

  3. Cron scheduling Update the field cronScheduler in config.js Refer - https://support.acquia.com/hc/en-us/articles/360004224494-Cron-time-string-format
    Default - Once every four hours

Versioning

We use SemVer for versioning.

Authors

  • Harshit Sinha - Initial work - Github

License

This project is licensed under the MIT License

Acknowledgments

About

An app to get desktop notifications for COVID-19 related data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published