Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gabe565/osdh-vaccine-bot

Bot to notify when vaccination appointments are available.
https://github.com/gabe565/osdh-vaccine-bot

covid-19 slack-bot telegram-bot vaccine

Last synced: about 2 months ago
JSON representation

Bot to notify when vaccination appointments are available.

Awesome Lists containing this project

README

        

# 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:

```sh
docker-compose up -d
```

## Configuration

Can be configured via envs or as commnd line flags.

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