A command-line tool that switches package managers and OS software sources to fast domestic mirrors across many languages and platforms.
opsre/Thanks-Mirror
A curated list of domestic China mirror sites for package managers, OS images, and common software downloads.
- Stars
- 3,063
- Forks
- 210
- Open issues
- 25
- Last commit
- 12 days ago
What is it?
Thanks Mirror is a reference list of mirror sites hosted in mainland China for package managers such as Go, npm, pip, Maven, Yum, Homebrew and Cargo, along with OS images and widely used software like Docker, Kubernetes, MySQL, Jenkins and Nginx. For each tool it gives the official download source and a set of mirrors from cloud providers and universities, plus configuration snippets for pointing clients at a mirror.
The project is aimed at developers and operators in China who find official repositories slow or hard to reach. It also includes notes for running a private Nexus proxy that uses these mirrors as upstreams. Links are checked automatically once a day to flag dead mirrors.
The list is organized by category, with package mirrors, software mirrors, system mirrors and other mirrors such as Docker Hub and GitHub grouped separately.
Key features
- 01Covers package managers including Go, npm, pip, Maven, Yum, Homebrew and Cargo.
- 02Lists mirrors for OS images such as CentOS, Ubuntu, Debian and Alpine.
- 03Provides software download mirrors for Docker, Kubernetes, MySQL, Redis and more.
- 04Includes copy-paste configuration snippets for each package manager.
- 05Runs a daily automated check to keep mirror links working.
Use cases
- Speeding up dependency installs in China when official registries are slow.
- Choosing a university or cloud mirror for installing an OS or large software package.
- Setting up an internal Nexus proxy that pulls from public mirrors.
Things to know
- Some example addresses such as nexus.eryajf.net are placeholders and will not work as-is; you must point configs at a real mirror.
- Mirror availability depends on third-party operators, although the project checks its links daily.
Topics
FAQ
- What is Thanks-Mirror?
- A curated list of domestic China mirror sites for package managers, OS images, and common software downloads. Thanks Mirror is a reference list of mirror sites hosted in mainland China for package managers such as Go, npm, pip, Maven, Yum, Homebrew and Cargo, along with OS images and widely used software like Docker, Kubernetes, MySQL, Jenkins and Nginx. For each tool it gives the official download source and a set of mirrors from cloud providers and universities, plus configuration snippets for pointing clients at a mirror.
- Is Thanks-Mirror free to use? What license does it have?
- Thanks-Mirror is open source under the MIT license. Check the license terms before using it in commercial products.
- Is Thanks-Mirror still maintained?
- Actively maintained. The last commit to Thanks-Mirror was on Oct 25, 2026.
- What can I use Thanks-Mirror for?
- Speeding up dependency installs in China when official registries are slow. Choosing a university or cloud mirror for installing an OS or large software package. Setting up an internal Nexus proxy that pulls from public mirrors.
- Where can I get Thanks-Mirror?
- The source code and installation instructions are on GitHub: https://github.com/opsre/Thanks-Mirror
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Build optimized Docker and OCI container images for Java applications with Maven or Gradle, without a Docker daemon.
Lightweight, self-hosted Maven repository manager for JVM artifacts, positioned as a lighter alternative to Nexus, Archiva and Artifactory.
Automated dependency update tool that scans repos for outdated packages and opens pull requests to upgrade them.
A Chinese-language guide to cost-effective living: 765 evidence-graded tips on health, first aid, money, legal risks, jobs, housing, family and studying abroad, mainly for mainland China.
A free, open-source, bilingual-style Chinese guide for surviving unemployment: severance, unemployment benefits, medical insurance, housing fund, job search and cash flow.