Slack Notifier for India Vaccine Appointment. This checks the Co-WIN portal periodically to find vaccination slots available in the provided pin codes and for your age.
It triggers a slack notification to your channel added as a part of environment variable for all the pin codes added to the environment variable
- You need to setup slack incoming webhooks to be able to receive alerts. Follow the following tutorial and use the webhook link in your environment variables
- You need a DigitalOcean account to deploy this on a cloud provider. If not click on the deploy button below and first create your account.
To deploy this project click the button below to deploy the code on DigitalOcean
To run this project, you will need to add the following environment variables to your .env file
PINCODES
SLACK_WEBHOOK
SCHEDULE
An example version can be seen here
Clone the project
git clone https://github.com/rohitjmathew/vaccine-slack-notifier
Go to the project directory
cd vaccine-slack-notifier
- Install PM2
npm install pm2 -g
- Start the server
make pm2-run
- Stop the server
make pm2-stop
-
Ensure Docker is installed
-
Start the server
make docker-run
- Stop the server
make docker-stop
Contributions are always welcome!
See CONTRIBUTING.md for ways to get started.
This readme was created with readme.so :)