🇨🇳 Cmirror: 专为中国大陆开发者打造的一键换源工具 (A unified CLI for managing mirrors: Pip, NPM, Docker, Cargo, Apt, Go, Brew).
github.com
Cmirror is a command-line tool specifically designed for developers in mainland China, aiming to simplify the process of managing and switching between various software mirrors. Built using Rust, this cross-platform utility addresses the common issue of slow download speeds and complex configurations in domestic development environments. Cmirror offers a seamless solution by providing concurrent speed tests, comparisons, and automatic configuration for tools such as Pip, NPM, Docker, Cargo, Apt, Go, and Brew. It features a fast experience through HTTP/HTTPS requests to test mirror latency, ensures security with automatic backups before any configuration changes, and recommends the fastest source with the --fastest parameter. Users can easily view the status and source addresses of all supported tools. The tool supports a wide array of software, including Python's pip and conda, Node.js's npm, Docker, Ubuntu/Debian's apt, Rust's cargo, Golang's GOPROXY, and Homebrew. Installation is straightforward, with options to download precompiled binaries or compile from source. Cmirror also includes features for testing mirror latency, switching sources, and restoring previous configurations, making it a valuable asset for developers seeking efficient mirror management.
Information shown may be outdated. Found an error? Report it here
Auto-fetched from GitHub today.