Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.
/ rovaccine Public archive

Node.js script that notifies you whenever there's a COVID Vaccine slot available in your area

Notifications You must be signed in to change notification settings

cepem/rovaccine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rovaccine

Simple Node.js cron that checks the Official Romanian Covid Vaccine platform for available slots in your area.

UPDATE: FUN IS OVER!

The romanian government introduced a waiting list feature which makes this script quite uselesss. There's no point in using this anymore.

Disclaimer:

I developed this bot for my personal usage and I will not be responding to issues or code-style comments. If you have any improvements, feel free to open a pull request and I'll be happy to accept your changes.

Usage:

  1. Clone this repo
  2. npm install
  3. Change the PROFILE_DATA object in config.js with your data.
  4. node app.js

The script will make a request every 30 seconds and it'll notify you once it finds an availble slot

How to pick the vaccine ?

In config.js you have an array named VACCINE_TYPES. Depending on your vaccine prefference insert the following values into it:

  • 1 for Pfizer-BioNTech
  • 2 for Moderna
  • 3 for AstraZeneca*

FAQ

Where do I get the data for the PROFILE_DATA object ?

This script is already extremly easy to setup and use therefore I'll let you figure that one on your own.

The initial request returns an HTML instead of a JSON and I get a weird error

Probably your config data is wrong. Make sure your cookie is valid.

How can we contribute ?

  1. Fork this repo
  2. Create a new branch on your fork
  3. Write your changes
  4. Follow this guide to open a pull request

About

Node.js script that notifies you whenever there's a COVID Vaccine slot available in your area

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published