This is a rust replacement for the Reflector python app for arch linux to retrieve and filter the latest Pacman mirror list.
This Project is currently under development. Contributions Welcome. The following features are currently available:
bash
refractor --list-countries # lists pacman mirror count country wise
refractor --fastest <count> # evaluates & prints downloaded speed for pacman mirror DBs
bash
refractor --fastest n --save /etc/pacman.d/mirrorlist # saves the fastest n mirrors to file
refractor --sort {age,rate,score,country,delay} # add more sorting options
bash
cargo install refractor
Thank you for investing your time to contribute this project. This project is still in the development stage. Feel free to fork the repo & raise a PR against this repo. Be sure to raise an issue before you create a PR to avoid development conflicts or duplication of efforts.