This commit is contained in:
Dev
2025-09-13 03:03:35 +03:00
parent 67b170415b
commit d3416687c9
6 changed files with 69 additions and 172 deletions

View File

@@ -4,14 +4,14 @@
FastestMirror is a blazingly fast, auto-magical tool that finds and configures the fastest package repository mirrors for your Linux distribution. No more suffering through downloads that move slower than continental drift!
## Features That'll Make You Smile 😊
## Features
- **🔍 Auto-Detection**: Automatically detects your Linux distribution (because we're not psychic, but we're pretty close)
- **Concurrent Testing**: Tests multiple mirrors simultaneously using Go's goroutines (multithreading that actually works)
- **🎨 Beautiful Output**: Colorful terminal interface that doesn't make your eyes bleed
- **📊 Smart Scoring**: Combines speed and latency metrics to find the objectively best mirror
- **🔒 Safe Operations**: Always backs up your config before making changes (we're not monsters)
- **🌍 Wide Support**: Works with major Linux distributions and their families
- **Auto-Detection**: Automatically detects your Linux distribution (because we're not psychic, but we're pretty close)
- **Concurrent Testing**: Tests multiple mirrors simultaneously using Go's goroutines (multithreading that actually works)
- **Beautiful Output**: Colorful terminal interface that doesn't make your eyes bleed
- **Smart Scoring**: Combines speed and latency metrics to find the objectively best mirror
- **Safe Operations**: Always backs up your config before making changes (we're not monsters)
- **Wide Support**: Works with major Linux distributions and their families
## Supported Distributions
@@ -120,13 +120,13 @@ fastestmirror find --help
## Example Output
```
🔍 Detecting your Linux distribution...
📦 Found: Ubuntu 22.04.3 LTS (debian family)
🔧 Loading mirrors for debian family...
Testing 8 mirrors (timeout: 10s)...
Detecting your Linux distribution...
Found: Ubuntu 22.04.3 LTS (debian family)
Loading mirrors for debian family...
Testing 8 mirrors (timeout: 10s)...
Testing mirrors ████████████████████████████████████████████████████ 8/8
🎉 Testing complete! Here are your results:
Testing complete! Here are your results:
Rank Mirror URL Latency Speed Score
─────────────────────────────────────────────────────────────────────────────────
@@ -136,10 +136,10 @@ Rank Mirror URL Latency Speed Sco
#4 http://archive.ubuntu.com/ubuntu/ 234ms 6.2 MB/s 66.3
#5 http://us.archive.ubuntu.com/ubuntu/ 312ms 4.1 MB/s 44.2
🏆 Winner: http://mirror.kakao.com/ubuntu/
This bad boy clocks in at 15.2 MB/s with 45ms latency
Winner: http://mirror.kakao.com/ubuntu/
This bad boy clocks in at 15.2 MB/s with 45ms latency
💡 To apply the fastest mirror, run: fastestmirror apply
To apply the fastest mirror, run: fastestmirror apply
```
## Configuration