#pacman #archlinux #mirror #cli

app asu

Archlinux set the fastest mirror source cli

6 releases

Uses new Rust 2021

0.1.33 Oct 8, 2022
0.1.31 Oct 8, 2022
0.1.29 Aug 17, 2022
0.1.27 Jul 11, 2022
0.1.6 May 29, 2022

#2156 in Command line utilities

Download history 57/week @ 2022-08-03 62/week @ 2022-08-10 24/week @ 2022-08-17 57/week @ 2022-08-24 1/week @ 2022-08-31 97/week @ 2022-09-07 62/week @ 2022-09-14 1/week @ 2022-09-21 2/week @ 2022-09-28 76/week @ 2022-10-05 7/week @ 2022-10-12 36/week @ 2022-10-19 1/week @ 2022-10-26 46/week @ 2022-11-02 84/week @ 2022-11-16

164 downloads per month

Apache-2.0

4MB
1K SLoC

Archlinux set the fastest mirror source cli

Crates.io Rust license

Examples

asu -h
asu - archlinux set mirror source cli
Usage:        
asu -n FR|| -new FR => fetch archlinux France mirror source and set fatest pacman mirror
asu -u name|| -use name => set selected mirror source
asu -l || -list => list all mirror list
asu -w || -where => shows the .asu.toml file path
asu -c || -country => shows all country abbreviated names 
asu -t || -test => get config from local .asu.toml file and test speed
asu -b || -best => get config from local .asu.toml file and set best pacman mirror

Install

cargo install asu

Run to set

sudo asu
The first run requires a 2 capital letter country abbreviated name
#example
sudo asu -n FR => France mirror source
sudo asu -n AU => Australia mirror source
sudo asu -n US => Us mirror source
sudo asu -n DE => Germany mirror source
sudo asu -n GB => British mirror source
sudo asu -n CN => China mirror source

Dependencies

~6–13MB
~274K SLoC