3 unstable releases

Uses new Rust 2021

new 0.1.2 Jan 23, 2023
0.0.2 Jan 22, 2023
0.0.1-a.1 Nov 13, 2022

#123 in Unix APIs

48 downloads per month

MIT license

569 lines


pacman mirrorlist manager

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:

  refractor --fastest <count> # evaluates mirrors & returns the fastest n AVAILBLE mirrors
  refractor --latest <count> # evaluates mirrors & prints the latest n AVAILBLE mirrors
  refractor --protocol=http,https,rsync # evaluates only mirrors of protocol http/https/rsync
  refractor --country=US,IN,GB # evaluatues only mirrors from input countries
  refractor --save /etc/pacman.d/mirrorlist # evaluates mirrors according to other flags & saves it to given location


  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.


~461K SLoC