https://github.com/andrewn/burgerbot
https://github.com/andrewn/burgerbot
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/andrewn/burgerbot
- Owner: andrewn
- Created: 2015-11-15T16:34:58.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-15T16:38:26.000Z (over 10 years ago)
- Last Synced: 2025-03-03T02:24:49.585Z (over 1 year ago)
- Language: JavaScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
burgerbot
===
Watches the Berlin service portal for Anmeldung appointment slots and sends a notification via [Pushover](https://pushover.net) when some are found.
## Install
1. Clone this repo
2. `npm install`
## Config
Set the following environment variables:
| Variable | Purpose | Required? |
|-------------------------|---------------------|-----------|
| PUSH_TOKEN | Pushover app token | Yes |
| PUSH_USERKEY | Pushover user id | Yes |
| SCRAPE_INTERVAL_SEC | How often to check | Yes |
| NOTIFICATION_TIMEOUT_MS | Doesn't resend a notification within this time | No |
| APP_URL | Public URL of this app (to include link in notification) | No |
| URL | URL of service end point to poll | No |
## Running
PUSH_TOKEN=xxx PUSH_USERKEY=yyy SCRAPE_INTERVAL_SEC=60 npm start
## Credits
Based on this [Burgetbot written in Ruby](https://gist.github.com/daxadax/233e7810a53e31b6f0a8).