https://github.com/enindu/mirrorlist
Simple pacman mirror list generator
https://github.com/enindu/mirrorlist
arch-linux cli go go-cli golang mirrorlist pacman
Last synced: 7 months ago
JSON representation
Simple pacman mirror list generator
- Host: GitHub
- URL: https://github.com/enindu/mirrorlist
- Owner: enindu
- License: gpl-3.0
- Created: 2019-01-21T07:27:08.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-14T11:03:35.000Z (almost 2 years ago)
- Last Synced: 2025-03-06T10:32:10.588Z (12 months ago)
- Topics: arch-linux, cli, go, go-cli, golang, mirrorlist, pacman
- Language: Go
- Homepage:
- Size: 55.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# Mirrorlist
Mirrorlist is a simple [pacman](https://wiki.archlinux.org/index.php/Pacman) mirror list generator.
## Install
You can install Mirrorlist using `go install` command.
```shell
go install github.com/enindu/mirrorlist
```
## Usage
There are 8 flags for `mirrorlist` command.
- `-mirror-list-timeout`: Request timeout to send and receive response from mirror list URL.
- `-mirror-timeout`: Request timeout to send and receive response from mirror URL.
- `-http-only`: Use only HTTP mirrors to generate mirror list. This can not use with -https-only flag.
- `-https-only`: Use only HTTPS mirrors to generate mirror list. This can not use with -http-only flag.
- `-count`: Count of mirrors to generate.
- `-pings`: Pings per a mirror. Higher pings means precise results, but high execution time.
- `-output`: Store mirrors in a file. This truncate any existing file.
- `-verbose`: Display warning messages in command line.
You can see more information using `go doc` command.
```shell
go doc mirrorlist
```