View Demo · Report Bug · Request Feature
The Dashboard is developed using Bokeh and python 3.5+. This dashboard is useful for you if you are looking for something which will help you to book the vaccine slot once slots become available. Other Vaccine Finders will notify you once slots become available but you will still need to login to the portal and book the slot manually. This dashboard will look for slot availability continuously and will send the OTP itself once slots become available.
There are two modes available i.e Auto and Manual mode. In Manual mode, user will need to stay alert to enter the OTP manually.
And in Auto mode, user will need to do some installation and configuration as given , so that script can detect the otp and will book the slot automatically. Auto Mode May not work all the time as this is a experimental feature
If you Like my work, you can Buy me a coffee (or more likely a beer)
Being software developer I always try to automate things which are important to me. I really struggled to book the slot on cowin portal and other vaccine finder scripts did not helped me at all. So I wanted to do build something which will not just look for vaccine availability but also help me in automating the otp sending and slot booking tasks.
Other apps/scripts expects you to feed otp every 15 minutes or something which is really not the cool idea. When you use this application, you don't need to feed otp's continuously rather this app will keep on searching for availability and will send otp only when there is slot available. In Auto mode if you have configured things properly then you don't even need to stay near to your laptop provided your phone is always connected to wifi or mobile data
If you don't want to use Docker then you will need python 3.5+ installed on your system and then clone this repository into cowin-app
folder using git clone https://github.com/suraj-deshmukh/CoWin-Vaccine-Slot-Monitoring-and-Auto-Booking.git cowin-app
and install prequisites using pip install -r cowin-app/requirements.txt
You will need to generate gmail application password to use auto mode. The application password can be generated from here. This application password is different from you login password
Follow only Step 1 from this link
You will need to install SMS Forwarder - Auto forward SMS to PC or Phone from google play store
Once you install above app from google play store. Follow below steps.
Your OTP to register/access CoWIN is
text under Rule for text as shown in below screenshot.cowin
under Filter Name and click on edit button to edit Email Subject
and type [SMSForwarder] new otp %t
and click on ok
. Refer below image for the same.Finally Click on SAVE
button on top-right corner. You can always enable or disable this filter.
docker run --pull always -p 5100:5100 -e PYTHONUNBUFFERED=1 -e TZ=Asia/Kolkata suraj20/cowin-vaccine-monitoring-n-booking-dashboard:latest --args "you_gmail@gmail.com" "app_password_here"
. The argument --pull always
makes sure you are pulling latest image from docker hub. http://localhost:5100/cowin-app
. docker run --pull always -p 5100:5100 -e PYTHONUNBUFFERED=1 suraj20/cowin-vaccine-monitoring-n-booking-dashboard:latest
. The argument --pull always
makes sure you are pulling latest image from docker hub. http://localhost:5100/cowin-app
. bokeh serve --port 5100 cowin-app/ --args "you_gmail@gmail.com" "app_password_here"
http://localhost:5100/cowin-app
. bokeh serve --port 5100 cowin-app/
http://localhost:5100/cowin-app
. I recommend using docker option to run this dashboard. The docker option will make sure you always run latest image with latest features and bug fixes.
411001,411002
etc)associated with selected district only, 10 digit registered mobile number and reference ids(incase of mulitple ids use csv format like 12345678911234,12345678911111
etc. You will get this reference ids from cowin portal.Enter all the details as explained above and the click on Submit Information
button. All fields except OTP and Captcha one will be disabled.
Once you click on Submit Information
button, Start
button will get enabled and then you can start the background process in seperate thread. The background thread will then monitor the given picodes continuously for slots availability as per the given filters. Once slots becomes available in any of the center in given pincodes, script will send otp to registered mobile number and background thread will stop checking for slots. You will get message as OTP sent successfully pn Reg Mob No. Please enter the OTP within 3 minutes. The center details for which slots are availbale will get populated under Center Name
as shown below
You will hear beep sound for 3 seconds once script sends otp to reg mob number. This works irrespective of selected mode. You can change the duration of beep sound using Beep Duration
Numberic input and you can even use Play Beep
button to simulate beep duration scenario.
If you have selected Manual mode then enter the OTP received on registered mobile number and click on Submit OTP
. If otp is correct then you will get message on dashboard as below