Skip to content

Telegram bot that sends a notification to the user about available vaccine slots on the Co-WIN portal for coronavirus vaccination in the specified area.

Notifications You must be signed in to change notification settings

nilesh-kawar/Vaccine-Finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vaccine Finder

Hello Everyone 👋, I have developed a telegram bot that sends a notification to the user about slots available on the CoWIN portal for coronavirus vaccination.
The bot updates the person via notification once the slot is made available on the CoWIN portal. The message has information on which center has the available slots, the number of slots available, and the date of availability.

Check it out!


Script Setup

You can also run the local script with your own configurations.

Clone this Repository

https://github.com/nilesh-kawar/Vaccine-Finder.git

Navigate to the cloned directory & install the dependencies

npm install

Update environment variables

Open the file .env and replace the dummy values with a legitimate Telegram Bot Key, Telegram Chat ID, PORT, District ID and MongoDB URL.

API_TOKEN= #You can get your telegram token from bot father on telegram.
CHAT_ID= #Create a new group on telegram and add a chat id of that group here
PORT= #Assign a port 
DISTRICT_ID= #Find your District Id: https://apisetu.gov.in/api/cowin#/Metadata%20APIs/states
MONGODB_URL= mongodb://localhost:27017/{Database Name}

Run the script

node index.js

How to use Vaccine Finder

https://www.youtube.com/watch?v=jInQx9Uh5Jc&t=43s

Screeshots:

Thank you 🙏🏻

About

Telegram bot that sends a notification to the user about available vaccine slots on the Co-WIN portal for coronavirus vaccination in the specified area.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published