Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 640 Bytes

README.md

File metadata and controls

36 lines (29 loc) · 640 Bytes

Barbora

Automatic checker telegram bot for barbora timetables. Checks every minute for available timeslots.

Installation

Just copy and paste this command, open config/config_secret.exs and fill with your secret

cat << EOF > config/config_secret.exs
import Config

config :nadia,
  token: "telegram_token"
EOF
mix deps.get

Run

mix run --no-halt

Bot commands in telegram

/start # startup a bot
/auth login password # starts a user scraper
/stop # stops user scraper

Docker run

docker build -t barbora:latest .
docker run -e TELEGRAM_TOKEN=telegram_token barbora