Finds covid vaccine appointments
Initial commit for public consumtion

heads

tip
browse log

clone

read-only
https://hg.sr.ht/~ser/vaccine
read/write
ssh://hg@hg.sr.ht/~ser/vaccine

#vaccine watcher

Build with go build ., or just go run . it.

Set your desired Radius (in miles, int) in config.toml. Set your zip code as a string there, too. Run the program; it'll pull a list of available appointments from an online source, find available ones within a as-the-crow- flies distance from the centroid of your zip code, and print them to stdout. Included is a sample script for using pushbullet.com to push alerts to your phone, but you can pipe the information to whatever service you want to alert you.

Output is very simple, flat JSON, which makes it easy to parse out information and produce your own alerts (e.g., the pushbullet script).

#Uses

This would not work if not for standing on the shoulders of:

  • github.com/dgnorton/zipcode
  • github.com/pelletier/go-toml
  • www.vaccinespotter.org

#Note

This is just for me, because details are ephemeral.

schema-generate vaccinespotter.schema > vaccinespotter.go