A small time scheduled (cron) web-scraper to notify of upcoming game events taking place in Sammy Ofer Stadium.
Join the notification #channel on Telegram and enjoy:
- ☝️ Single notification for the upcoming event
- 🚦 Matchup, average attendance and roadblock times
- ⛔ Spam free service
- 🌎 Static landing page to be shown on big screen/TV
- 🗓️ Public Google Calendar
Static landing page (link)
git clone https://github.com/autogun/sammy_ofer.git
cd sammy_ofer
docker build . -t sammy_ofer
cat << EOF > .env
TELEGRAM_CHANNEL_ID=<required>
TELEGRAM_TOKEN=<required>
GH_PAT (optional)
EOF
docker run -d --name sammy_ofer \
--publish 5000:5000 \
--restart=on-failure \
--env-file ./.env \
--volume $(PWD)/service_account.json:/usr/src/sammy_ofer/service_account.json \
sammy_ofer:latest
pip install -r requirements.txt
flask run --port=5001
- Cron configuation (some sort of UI?)
- Delete option currently does absolutely nothing
- Use SQLite instead of a dictionary file