hey2022 / tls-xb

tls-xb is a cli tool that fetches scores and GPA from https://tsinglanstudent.schoolis.cn
https://crates.io/crates/tls-xb
GNU General Public License v3.0
9 stars 1 forks source link

tls-xb

tls-xb is a cli tool that fetches scores and GPA from Tsinglan Xiaobao.

Features

Prerequisites

Install

From binaries

The release page contains precompiled binaries for:

From source

tls-xb is written in Rust, so the Rust toolchain will be needed to compile it.

cargo install tls-xb

# Git version
cargo install --git https://github.com/hey2022/tls-xb.git

Update

To update tls-xb simply reinstall a newer version.

Development

git clone https://github.com/hey2022/tls-xb.git
cd tls-xb

# Build
cargo build

# Run
cargo run

# Install
cargo install --path .

Usage

  1. In your terminal, run tls-xb login to save your login details on your computer.
  2. Run tls-xb to run the program.

FAQ

Can this change my GPA?

No tls-xb only fetches data from https://tsinglanstudent.schoolis.cn/api to calculate your GPA, which does not expose an api to change your GPA.

What is GPA Delta?

GPA Delta is the change in GPA when the grade of a subject increases or drops (when not changing to or from F). For example, if English increases from A to A+, GPA Delta would be the resulting change in GPA.