GUI / covid-vaccine-spotter

https://www.vaccinespotter.org
MIT License
510 stars 138 forks source link

I made a CLI with notifications and filtering(!) #155

Open jltml opened 3 years ago

jltml commented 3 years ago

Hi! Apologies in advance if I shouldn't be creating an issue for this (feel free to close it) but I made a command-line interface for checking the website every x seconds, filtering by zip code and vaccine manufacturer, and sending notifications when matches are found. [I'm pretty unfamiliar with Windows, so I have no idea if it'll work there, and I think notifications definitely won't.]

Here's the repo, and it's installable using Homebrew with brew install jltml/tap/vaccine-spotter or as a Ruby gem with gem install vaccine-spotter.

Demo GIF

If anyone actually ends up using it, pull requests are more than welcome!

chitalian commented 3 years ago

This is awesome! I also made an email bot here: https://github.com/chitalian/covid-vax-emailer

If you want to merge the two - feel free 👍

[edit] - I love that you put yours in brew and made it really easy for people. What I found really helpful was adding an alarm sound

jltml commented 3 years ago

Thanks so much! And that's super awesome too — I'll totally take a look at merging them if it seems feasible! I'm pretty new to all this but fingers crossed :)

And great idea; I'll absolutely add an alarm sound option too — a couple weeks ago I was using a Python script someone made for finding CVS appointments that just beeped a bunch when one was found, and it worked wonderfully, especially at 2am… so that's definitely a great idea!

~ Update (@chitalian) ~ I added sounds last night; if you update to v0.2.1 and add the following to ~/.config/vaccine-spotter.toml you should be good to go!

[sound]
  play = true
  repeat = 10 # number of times to repeat sound