cowin-watch

4.0.0 • Public • Published

About

A small utility to get notify for 18+ vaccination slot availability by pincode.

Installation

[sudo] npm install cowin-watch@latest -g

Demo

Demo

Demo

One time setup - Allow Notification Permission (Mac/Linux)

for security reasons, Mac is asking for permission for sending notification, so check by sending test notification as follows.

cowin-watch -t

Notification

Usage

cowin-watch -p 382481

Manually watch for zips [Mac, Linux, Windows]

Open Terminal and type fololwing, leave terminal aside

Start watching

cowin-watch -w 382481,380061 &

Stop watching

Restart system or use following commands.

fg
ctrl+c

[Alternetive] Setup Cron (Linux / Mac) - May NOT work for everyone!

⚠️ Crontab user might now able to send UI notification, so not sure following is working for all or now, few people said this approach is not working

crontab -e
*/5 * * * * cowin-watch -p 382481
*/5 * * * * cowin-watch -p 380061

Package Sidebar

Install

npm i cowin-watch

Weekly Downloads

1

Version

4.0.0

License

MIT

Unpacked Size

5.4 kB

Total Files

4

Last publish

Collaborators

  • jaym2503