Github GitHub - PrasadG193/covaccine-notifier: CoWIN Vaccine availability notifi...
source link: https://github.com/PrasadG193/covaccine-notifier
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.
covaccine-notifier
CoWIN Portal Vaccine availability notifier
covaccine-notifier periodically checks and sends email notifications for available slots for the next 7 days on CoWIN portal in a given area and age.
Sample screenshot
Installation
Install the pre-compiled binary
curl -sfL https://raw.githubusercontent.com/PrasadG193/covaccine-notifier/main/install.sh | sh
Docker
docker pull ghcr.io/prasadg193/covaccine-notifier:v0.2.0
Usage
covaccine-notifier can monitor vaccine availability either by pin-code or state and district names
$ ./covaccine-notifier --help CoWIN Vaccine availability notifier India Usage: covaccine-notifier [FLAGS] [flags] Flags: -a, --age int Search appointment for age -d, --district string Search by district name -e, --email string Email address to send notifications -h, --help help for covaccine-notifier -i, --interval int Interval to repeat the search. Default: (60) second -p, --password string Email ID password for auth -c, --pincode string Search by pin code -s, --state string Search by state name
Note: Gmail password won't work for 2FA enabled accounts. Follow this guide to generate app token password and use it with --password
arg
Examples
Terminal
Search by State and District
covaccine-notifier --state Maharashtra --district Akola --age 27 --email <email-id> --password <email-password>
Search by Pin Code
covaccine-notifier --pincode 444002 --age 27 --email <email-id> --password <email-password>
Docker
docker run --rm -ti ghcr.io/prasadg193/covaccine-notifier:v0.2.0 --state Maharashtra --district Akola --age 27 --email <email-id> --password <email-password>
Running on Kubernetes Cluster
If you are not willing to keep your terminal on all the time , you can also create a Pod on K8s cluster
kubectl run covaccine-notifier --image=ghcr.io/prasadg193/covaccine-notifier:v0.2.0 --command -- /covaccine-notifier --state Maharashtra --district Akola --age 27 --email <email-id> --password <email-password>
Contributing
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK