Skip to content
This repository was archived by the owner on Jul 7, 2021. It is now read-only.

Latest commit

 

History

History
24 lines (16 loc) · 1.42 KB

File metadata and controls

24 lines (16 loc) · 1.42 KB

Offerings-Checker

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.

Setup

This project requires only minimal configuration and tweaking to build and use.

  1. 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

  2. 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.

  3. (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.

  4. (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.

  5. That's it. I too wish it was easier to set up ¯\_(ツ)_/¯