akshayitzme / cowinAlerter-node

Heroku Ready to Deploy Express.js app to check Slot Availability every 15 secs, sends telegram alerts when there is a Slot Available.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CowinAlerter-Node GitHub package.json version

covid banner

contributions welcome GitHub Workflow Status GitHub top language Lines of code Deploy

Automatically checks for available slots every 15 seconds, sends Alerts via Telegram.

Features

  • Heroku Ready.
  • Checks Slot Availability of 5 days.
  • Supports Finding Slots by Pin Code & District Code.
  • Personalized Alerts.. Alerts based on Users Age Group, Dose, FirstDose..etc
  • Checks Slot Availability in background.

Set Up

Heroku

  • Fork this Repository
  • Add Users in Users.json refer this gist
  • Connect Forked GitHub repo to Heroku.
  • Set Telegram Bot Id in Heroku Config Vars. see guide also see env.example
  • Add NodeJs Buildpack.
  • Deploy App

LocalHost

  • Clone this Repository
  • Add Users in Users.json refer this gist
  • Set Telegram Bot Id in .env file. see env.example
  • Install Dependencies yarn install or npm i
  • Run Server
     node index

Works well in all other Hosting Platforms.

Notes

  • to find district ID, use this API

References

APISetu

Licence

GitHub

About

Heroku Ready to Deploy Express.js app to check Slot Availability every 15 secs, sends telegram alerts when there is a Slot Available.

License:MIT License


Languages

Language:JavaScript 99.9%Language:Procfile 0.1%