| Crates.io | tls-xb |
| lib.rs | tls-xb |
| version | 0.4.1 |
| created_at | 2024-04-21 14:43:46.57211+00 |
| updated_at | 2025-01-09 01:21:40.678949+00 |
| description | tls-xb is a cli tool that fetches scores and GPA from https://tsinglanstudent.schoolis.cn |
| homepage | https://github.com/hey2022/tls-xb |
| repository | https://github.com/hey2022/tls-xb |
| max_upload_size | |
| id | 1215438 |
| size | 173,276 |
tls-xb is a cli tool that fetches scores and GPA from Tsinglan Xiaobao.
-t, --tasks)
tls-xb uses viuer to display the captcha, so a terminal supporting one of the supported graphics protocols is needed. Terminals supporting sixel be can found here.
Recommended terminals:
[!NOTE]
Uses development version of tls-xb.
Add this to your flake.nix
{
inputs = {
tls-xb = {
url = "github:hey2022/tls-xb";
inputs.nixpkgs.follows = "nixpkgs";
};
};
}
To install tls-xb to your NixOS/Home Manager configuration, add the following to your environment.systemPackages or home.packages respectively:
inputs.tls-xb.packages.${pkgs.stdenv.hostPlatform.system}.default
The release page has instructions for running the install script.
The release page contains precompiled binaries for:
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
To update tls-xb simply reinstall a newer version.
git clone https://github.com/hey2022/tls-xb.git
cd tls-xb
# Build
cargo build
# Run
cargo run
# Install
cargo install --path .
tls-xb login to save your login details on your computer.tls-xb to run the program.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.