Fetch, filter, sort, and output an up-to-date mirrorlist for Arch Linux. Aiming
for feature parity with
reflector
initially, with extra
functionality built-in.
rorrim
doesn't require any arguments but it's recommended to setup filters in
your region for the best performance. For example:
rorrim --country Canada --protocol https --number 5 --sort score --save /etc/pacman.d/mirrorlist
The above will output 5 mirrors in Canada that use https to retrieve data, sort
them by their score and place the
output in /etc/pacman.d/mirrorlist
.
To use multiple countries and/or protocols:
rorrim -c Canada -c Sweden -p https -p rsync
- Writes to stdout unless file is provided
- Out of sync mirrors are discarded before any other filters are applied
Contributions of any kind are more than welcome, feel free to open an issue for a feature you would like to see implemented or a pull request if you had something in mind and I will try to respond as soon as I can.
The only guideline to properly format and lint your code with rustfmt
and
clippy
before commits.
- Implement sorting by HTTP download speed
- Add version tagging and releases to actions
- Caching initial response for faster back to back runs
- Allow user to specify custom filters?
- Work as both library and executable
This software is licensed under the MIT License.