https://github.com/brianbruggeman/vax
A vaccination signup tool
https://github.com/brianbruggeman/vax
covid-19 crawler signup vaccination
Last synced: 2 months ago
JSON representation
A vaccination signup tool
- Host: GitHub
- URL: https://github.com/brianbruggeman/vax
- Owner: brianbruggeman
- License: mit
- Created: 2021-02-11T05:58:49.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-24T00:47:31.000Z (over 5 years ago)
- Last Synced: 2025-03-05T23:12:49.585Z (over 1 year ago)
- Topics: covid-19, crawler, signup, vaccination
- Language: Rust
- Homepage:
- Size: 925 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
# Vax
[](https://github.com/brianbruggeman/vax/actions)
A COVD-19 Signup tool for use with H.E.B's Backend API.
## Quickstart
To run:
```bash
$ cargo run --release
```
Alternative, you can install to your system with:
```bash
$ cargo install --path .
```
And then run:
```
$ vax
```
## Options
The script has multiple command-line options:
```
vax 0.5.0-dev
A Covid-19 Vaccination Signup Tool
USAGE:
vax [FLAGS] [OPTIONS]
FLAGS:
--auto Auto select time and date
--fast Disables extra logic to fake out recaptcha
-h, --help Prints help information
--headless Run in headless mode
--hide-signup Only display sign-up link; do not open browser
--map Open map
-V, --version Prints version information
-v, --verbose Verbose mode (-v, -vv, -vvv, etc.)
OPTIONS:
-a, --address
Physical address of individual needing a vaccine [env: ADDRESS=1201 Rutherford Dr,
Leander, TX, 78641] [default: ]
--latitude Latitude of the physical address for individual needing a vaccine [env:
LATITUDE=30.561073489730106] [default: 0.0]
--longitude Longitude of the physical address for individual needing a vaccine [env:
LONGITUDE=-97.82630352841902] [default: 0.0]
--profile Set the Firefox profile
-t, --threshold Threshold in miles for how far to travel to get vaccine [env: THRESHOLD=20]
[default: 20]
-T, --timeout How often to ping H.E.B's API in milliseconds [env: TIMEOUT=3000] [default: 350]
```
This script can be controlled with environment variables or a dotenv file
specified by `DOTENV_FILE` or defaulting to `.env`:
```
# these are also all command-line options
ADDRESS="your address"
# LATITUDE="your home coordinate latitude if you have it"
# LONGITUDE="your home coordinate longitude if you have it"
THRESHOLD="25"
TIMEOUT="1000"
```
# Automation
This program can automate some of the signup process. To enable, you
must have both [geckodriver](https://github.com/mozilla/geckodriver/releases) and
[firefox](https://www.mozilla.org/en-US/firefox/new/) v86.0 installed, and
`geckodriver` must be available on the PATH.
Additionally, you may want to use a VPN because Google's recapcha will
detect too many vaccination signups. If you do end up getting flagged
by Google's backend, then this tool will no longer work and you may
not be able to signup on HEB's website using your IP address.
Once the above has been satisified, then run:
```bash
$ vax --auto
```