Giter Site home page Giter Site logo

harshad91 / vaccine-slack-notifier Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rohitjmathew/vaccine-slack-notifier

0.0 1.0 0.0 18 KB

Slack Notifier for India's Vaccine Appointment

License: MIT License

JavaScript 81.13% Makefile 10.70% Dockerfile 8.17%

vaccine-slack-notifier's Introduction

Vaccine Slack Notifier

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

Prerequisites

  • 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.

Deployment

To deploy this project click the button below to deploy the code on DigitalOcean

Deploy to DO

Environment Variables

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

Run Locally

Clone the project

  git clone https://github.com/rohitjmathew/vaccine-slack-notifier

Go to the project directory

  cd vaccine-slack-notifier

Using PM2

  • Install PM2
  npm install pm2 -g
  • Start the server
  make pm2-run
  • Stop the server
  make pm2-stop

Using Docker

  • Ensure Docker is installed

  • Start the server

  make docker-run
  • Stop the server
  make docker-stop

Screenshots

Sample Screenshot

Contributing

Contributions are always welcome!

See CONTRIBUTING.md for ways to get started.

License

MIT

This readme was created with readme.so :)

vaccine-slack-notifier's People

Contributors

rohitjmathew avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.