Skip to content

hey2022/tls-xb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tls-xb

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

Features

  • Access weighted and unweighted GPA, even when hidden.
  • View detailed subject scores for all subjects.
  • View scores from previous semesters.
  • Color coded scores depending on performance.
  • Tabled output.

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.