5

Github GitHub - kartikey54/VaccineAvailabilityNotifier

 3 years ago
source link: https://github.com/kartikey54/VaccineAvailabilityNotifier
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

VaccineNotifier

VaccineNotifier checks the cowin portal periodically to find vaccination slots available in your pin code and for your age. If found, it will send you emails every minute until the slots are available.

Steps to run the script:

Step 1) Enable application access on your gmail with steps given here: https://support.google.com/accounts/answer/185833?p=InvalidSecondFactor&visit_id=637554658548216477-2576856839&rd=1

Step 2) Enter the details in the file .env, present in the same folder

Step 3) On your terminal run: npm i && pm2 start vaccineNotifier.js

To close the app run: pm2 stop vaccineNotifier.js && pm2 delete vaccineNotifier.js

Here's a sample of the resultant emails:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK