Sign inSign up

gabe565/osdh-vaccine-bot

By gabe565

Updated over 5 years ago

Image
0

867

gabe565/osdh-vaccine-bot repository overview

osdh-vaccine-bot

Sends notifications when vaccination bookings become available

Usage

There is a docker-compose file available to make it easier to run. Just fill in the values and run:

docker-compose up -d

Configuration

Can be configured via envs or as commnd line flags.

Environment VariableRuntime FlagDescription
OSDH_ID--osdh-id <id>ID issued from OSDH. Will be at the end of the URL that was emailed to you.
BIRTH_YEAR--birth-year <year>Four-digit birth year.
BIRTH_MONTH--birth-month <month>Numeric birth month.
BIRTH_DAY--birth-day <day>Numeric birth day.
CRON--cron <cron>Run on a cron. Supports the cron syntax defined here.
FILTER--filter <filter>Filter appointment text (ex: "1st", "2nd", etc).
TELEGRAM_BOT_TOKEN--telegram-bot-token <token>Telegram bot token.
TELEGRAM_CHAT_ID--telegarm-chat-id <id>Telegram chat ID.
SLACK_TOKEN--slack-token <token>Slack bot token.
SLACK_CHANNEL--slack-channel <id>Slack channel to post notifications to.
N/A--no-headlessRun in a regular browser session instead of a headless browser.

Tag summary

Content type

Image

Digest

Size

176.4 MB

Last updated

over 5 years ago

docker pull gabe565/osdh-vaccine-bot