Skip to content
/ rorrim Public

Fetch, filter, sort, and output an up-to-date mirrorlist for Arch Linux.

License

Notifications You must be signed in to change notification settings

kbujari/rorrim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ci license

rorrim

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.

Usage

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

Details

  • Writes to stdout unless file is provided
  • Out of sync mirrors are discarded before any other filters are applied

Contributing

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.

TODO

  • 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

License

This software is licensed under the MIT License.

About

Fetch, filter, sort, and output an up-to-date mirrorlist for Arch Linux.

Topics

Resources

License

Stars

Watchers

Forks

Languages