YAGG (aka Yet Another Gaps Grader) is a Rust application designed to periodically check and notify you about new grades posted on gaps. The application is packaged as a Docker container, you just have to take 2 minutes to set it up and you're good to go.
When you receive a new grade, the telegram bot will send you a message with the grade, if it was a lab or a course grade, and obviously the course name.
- Docker/Docker Compose
- Telegram bot
- Clone this repository
- Configure the Dockerfile with the time interval you want to check for new grades
RUN echo "*/<YOUR INTERVAL HERE> * * * * cd /usr/src/yagg/target/debug/ && ./yagg >> /var/log/cron.log 2>&1" > /etc/cron.d/yagg-cron
- Configure the environment variables in the
.env
file
# path: /yagg/.env
GAPS_USERNAME='<YOUR GAPS USERNAME>'
GAPS_PASSWORD='<YOUR GAPS PASSWORD>'
BOT_TOKEN=<TELEGRAM BOT TOKEN>
CHAT_ID=<TELEGRAM CHAT ID>
- Run the application
docker-compose up -d --build
This project utilizes a parsing algorithm adapted from AutoGaps. Which is also an application to check for new grades on gaps, but it's written in Python.