Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

ankushjamdagani/cowin-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cowin Vaccine Tracker

Everything is done locally on target machine. Nothing is shared anywhere.

Requires node to be installed already.

Steps to run

  • Open terminal/command prompt.
  • run cp .env.sample .env.
  • OPTIONAL - Enter WA_NOTIFICATION_ID for the user/channel you wanna get notified at.
  • yarn install or npm install
  • yarn start <PINCODE> <AGE> <SEC> or npm start <PINCODE> <AGE> <SEC>
  • For first time user only:
    • Scan the QR Code using whatsapp to login.

Example

  • yarn start 124001 18 60
  • yarn start 124001 45

Defaults

  • PINCODE - 124001
  • AGE - 18
  • SEC - 60

FAQ

Where can I get whatsapp user id

  • To get id from contacts Uncomment waClient.getContacts(console.log); in index.js
  • To get id from current chats Uncomment waClient.getChats(console.log); in index.js

References