Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/gabe565/osdh-vaccine-bot
- Owner: gabe565
- License: mit
- Created: 2021-02-22T06:44:54.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T23:23:44.000Z (about 2 years ago)
- Last Synced: 2023-02-26T14:52:05.057Z (almost 2 years ago)
- Topics: covid-19, slack-bot, telegram-bot, vaccine
- Language: JavaScript
- Homepage:
- Size: 200 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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. |