KourvA / netmirror

ArtixLinux Mirror Optimizer | selects fastest mirror in mirrors based on ping ms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

netmirror

ArtixLinux Mirror Optimizer. Selects fastest mirror in mirrors based on ping ms



▍Preview

Mirror list is inside the main script. so if you want to add or remove mirrors, edit netmirror file.
Netmirror will ping all mirrors and print the fastest mirror.
Mirrors are for Artix Linux

$ netmirror
Ping process started on mirrors...
 * mirrors.dotsrc.org                      [130.225.254.116] 159.792 ms █▓▒░
 * mirror.clarkson.edu                     [128.153.145.19 ] 226.728 ms █▓▒░
 * mirror.freedif.org                      [132.147.122.105] 290.100 ms █▓▒░
 * mirror.albony.xyz                       [188.114.99.0   ] 121.820 ms █▓▒░
 * mirrors.cloud.tencent.com               [43.152.29.12   ] 126.056 ms █▓▒░
 * mirrors.42tm.tech                       [103.224.182.249] 286.557 ms █▓▒░
 * mirror.aarnet.edu.au                    [202.158.214.106] 477.169 ms █▓▒░

Fastest mirror: https://mirror.albony.xyz/artix
 * speed: 121.82 ms

▍Setup

Installing netmirror is so simple. just follow following steps...
⒈Clone repository

git clone https://github.com/Kourva/netmirror

⒉Navigate to netmirror directory

cd netmirror/

⒊Make files executable

chmod +x install.py netmirror.py

⒋Install the netmirror

python install.py

▍Uninstall

use installer with --uninstall argument to uninstall the netmirror as follows...

python install.py --uninstall

About

ArtixLinux Mirror Optimizer | selects fastest mirror in mirrors based on ping ms

License:MIT License


Languages

Language:Python 100.0%