Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 874 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 874 Bytes

CowinSlotTracker

Vaccine slot tracker which crawls https://www.cowin.gov.in/home to find available slots.

Requirements -

Add a secrets.env with format - Follow this guide to setup your gmail account to send emails programatically - https://realpython.com/python-send-email/#option-1-setting-up-a-gmail-account-for-development

GMAIL_ADDRESS=<Your-email>
GMAIL_APP_PASSWORD=<Your-email-password>

If you turn less secure apps off, you can directly use your GMAIL password in GMAIL_APP_PASSWORD. Otherwise create an app password and use that (https://myaccount.google.com/apppasswords)

Usage -

Build the docker image:
docker build -t vaccine-notifier .

Start vaccine notifier:
docker run --env-file secrets.env vaccine-notifier "Madhya Pradesh" Indore --email-address [email protected]

More info -

docker run vaccine-notifier -h