Giter Club home page Giter Club logo

hev-cli's Introduction

hev-cli

H-E-V: Here Everyone's Vaccinated

Please see the docs for details on the commands.

About

This tool is intended to help those who qualify (SEE RULES) for the COVID-19 vaccine at H-E-B find an appointment.

Please goto the COVID-19 vaccines at H-E-B Pharmacy Scheduler to read up on the qualification rules.

What it does

  1. hev processes the vaccine schedule API on a regular cadence (every 5 seconds by default).
  2. It will check the availability posted for ALL H-E-B locations in the list to determine if there are shots available.
  3. It will then determine if the location is within a radius of miles based on your lat/long (user provided)
  4. If the available shot is within your radius, it will alert you and open a browser directly to the appointment sign up page.

PLEASE NOTE: Slots are taken up FAST. Once the browser opens, it is very possible that the slot has been taken. Keep trying. Stay persistent. You will get one.

Installation

Linux & Mac OS

$ curl https://i.jpillora.com/clok/hev-cli! | sed s/PROG=\"hev-cli\"/PROG=\"hev\"/ | bash

Windows

  1. Goto Releases
  2. Download hev_<version>_windows_amd64.zip
  3. Unzip (extract all)
  4. Run the app in a Terminal

The compiled docker images are maintained on GitHub Container Registry (ghcr.io). We maintain the following tags:

  • edge: Image that is build from the current HEAD of the main line branch.
  • latest: Image that is built from the latest released version
  • x.y.z (versions): Images that are build from the tagged versions within Github.
docker pull ghcr.io/clok/hev-cli
docker run -v "$PWD":/workdir ghcr.io/clok/hev-cli --version

Usage

Run the tool with a 50-mile radius, and a 2-second refresh rate. (The lat/long here is fake)

$ hev watch --miles 50 --delay 2 --lat 12.345 --long -12.345

Help output

NAME:
   hev - scan H-E-B vaccine availability and open a browser when there is one available within a radius of miles

USAGE:
   hev [global options] command [command options] [arguments...]

VERSION:
   v0.3.0

COMMANDS:
   watch, w         start the watcher
   publish          start the publisher
   websocket        start the websocket server
   install-manpage  Generate and install man page
   version, v       Print version info
   help, h          Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)

How do I find my latitude and longitude?

Goto https://map.google.com and enter your address. Right-Click on the Pin marker that shows up. Click the first line, the lat/long. That will copy the value.

image

Important Links

License

MIT @ clok

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

hev-cli's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hev-cli's Issues

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Location: .github/renovate.json
Error type: Invalid JSON (parsing failed)
Message: Syntax error near ],

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
Dockerfile
  • alpine 3.15.4
github-actions
.github/workflows/edge.yml
  • actions/checkout v3
  • actions/setup-go v3
  • docker/login-action v1
  • ubuntu 20.04
.github/workflows/lint.yml
  • actions/checkout v3
  • golangci/golangci-lint-action v3
.github/workflows/release.yml
  • actions/checkout v3
  • actions/setup-go v3
  • docker/login-action v1
  • goreleaser/goreleaser-action v2
  • ubuntu 20.04
.github/workflows/warm.yaml
gomod
go.mod
  • go 1.16
  • github.com/OrlovEvgeny/go-mcache v0.0.0-20200121124330-1a8195b34f3a@1a8195b34f3a
  • github.com/clok/cdocs v1.2.0
  • github.com/clok/kemba v1.1.1
  • github.com/gomodule/redigo v1.8.8
  • github.com/gorilla/websocket v1.5.0
  • github.com/umahmood/haversine v0.0.0-20151105152445-808ab04add26@808ab04add26
  • github.com/urfave/cli/v2 v2.4.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.