This is a small node application, which notifies your laptop when there is the availability of covid vaccination slots in your preferred area Pin code and date. Cowin is a government website where the Indians are supposed to book slots to get vaccinated.
- Make sure node is install in your machine
- Clone this and run
npm install
- run
node index.js
- Yayy your application is running, and wait for notification.
- You can search by Pin code or in whole district
- You can change the Pin code and date configuration in the file
config.json
{
"RE_CHECK_AFTER_SECONDS": 4, // Re trigger the check, after these many seconds
"PIN_CODE": 271801, // Your are pin code
"DISTRICT_ID": 670, // this is Lucknow district id, if you set 0, this will search by mentioned pin code
"MINIMUM_AGE_LIMIT": 45, // Minimum age limit to search the slot for
"CHECK_FROM_THIS_AND_NEXT_SEVEN_DAYS": "05-05-2021", // Set from which date you want to check for availability
"NOTIFY_WHNE_AVAILABILITY_CAPACITY_IS_GREATER_THAN": 1 // Set filter, how many availability you need.
}
- Open
district-id.json
- Find your district and get the id
- Put the district id in config.