Skip to content

divear/EduCalc

Repository files navigation

EduPage Grade Average Calculator

This script calculates your grade average on EduPage, factoring in a new grade. Since EduPage doesn't have this feature, this tool scrapes the site to do it.

EduCalc screenshot

Usage

Option 1: From Source

  1. Clone the repository and create a .env file in the root directory with your EduPage credentials:

    USERNAME=your_username
    PASSWORD=your_password
  2. Run the script:

    • For the GUI:

      cd src-tauri
      cargo tauri dev
    • For the TUI:

      cd src-tauri
      cargo tauri dev -- --term

Option 2: From a Binary

  1. Run the binary:

    • For the GUI:

      ./edupage-average-calculator
    • For the TUI:

      ./edupage-average-calculator --term

How It Works

The script scrapes EduPage and calculates your grade average based on your current grades and the new one.

Known Issues

  • EduPage can be unreliable, and scraping in the TUI version might fail at times.