This is a course quota tracker for Bilkent University courses. It sends periodical requests to Bilkent STARS to obtain the remaining quota for a given course and notifies the user when the quota is greater than zero.
This project requires only minimal configuration and tweaking to build and use.
-
First, obtain JAR files for JSoup and JavaMail from the following links and add them as libraries to your project. https://jsoup.org
http://www.oracle.com/technetwork/java/javamail/index.html -
Obtain the security certificate from https://stars.bilkent.edu.tr and add it to Java cacerts. See the following link: https://www.grim.se/guide/jre-cert
This is required because the root issuer of Bilkent's certificate is TUBITAK which Java doesn't trust by default. -
(Optional) To use sound notifications obtain a sound file that is preferably of the .wav format (I haven't tested for other formats) and shorter than 30 seconds. Rename this file to "alert.wav" and place it inside your project's resources folder.
-
(Optional) To use mail notifications, open sidemodules/MailBot.java and modify the final strings username and password to those of a GMail e-mail address. The account you will use must have allowed access from less secure apps.
-
That's it. I too wish it was easier to set up ¯\_(ツ)_/¯