{"id":19890214,"url":"https://github.com/geekerhwh/mirrorspeedtest","last_synced_at":"2026-05-14T19:33:40.502Z","repository":{"id":219860624,"uuid":"750103804","full_name":"GeekerHWH/mirrorSpeedTest","owner":"GeekerHWH","description":"Debian mirrors speed tester \u0026 mirror changer","archived":false,"fork":false,"pushed_at":"2024-03-16T02:13:21.000Z","size":450,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T19:31:07.078Z","etag":null,"topics":["debian","speedtest"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GeekerHWH.png","metadata":{"files":{"readme":"README-ZH.md","changelog":"changeMirror.sh","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-30T01:42:05.000Z","updated_at":"2024-06-17T02:53:51.000Z","dependencies_parsed_at":"2024-03-16T03:24:02.872Z","dependency_job_id":null,"html_url":"https://github.com/GeekerHWH/mirrorSpeedTest","commit_stats":null,"previous_names":["geekerhwh/mirrorstesttool","geekerhwh/mirrorspeedtest"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeekerHWH%2FmirrorSpeedTest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeekerHWH%2FmirrorSpeedTest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeekerHWH%2FmirrorSpeedTest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeekerHWH%2FmirrorSpeedTest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GeekerHWH","download_url":"https://codeload.github.com/GeekerHWH/mirrorSpeedTest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241317601,"owners_count":19943202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debian","speedtest"],"created_at":"2024-11-12T18:13:17.587Z","updated_at":"2026-05-14T19:33:38.811Z","avatar_url":"https://github.com/GeekerHWH.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"README.md\"\u003eClick me for English version Doc\u003c/a\u003e\n\u003c/div\u003e\n\n# 测速 Debian/Ubuntu 镜像\n该工具主要帮助Debian系用户筛选最佳的apt仓库镜像\n\n软件需求全部基于我个人换源工作流的使用体验，如果你有任何建议对软件使用体验进行改进，欢迎在github上提出issue\n\n# 项目亮点\n- 支持用go routine实现的轻量化多线程测速测延迟\n- 支持传参和交互两种模式\n- 使用Docker对应用进行了容器化便于部署\n- 使用Github Actions进行自动化软件测试\n\n# 示例\n支持世界各地的镜像源CN(local) and US(GithubActions with Docker)\n\u003cdiv style=\"display: flex; justify-content: space-between;\"\u003e\n    \u003cimg src=\"Demo/2024-02-16.png\" alt=\"CN\" style=\"width: 50%;\"\u003e\n    \u003cimg src=\"Demo/ActionsOutput.png\" alt=\"US\" style=\"width: 48%;\"\u003e\n\u003c/div\u003e\n\n# 功能\n- `-i` 进入交互模式\n- `--url` 指定一个镜像地址\n- `-c` 用双字母短称输入待测速国家\n  \u003e 比如 `US`美国的镜像; `CN` 中国的镜像\n\n# 如何使用\n## 如何测试镜像速度\n### 使用docker启动(cmd mode)\n- use `--url` to specify a single mirror url\n- or use `-c` to choose your country\n```bash\nsudo docker run geekerhwh/mst:latest ./mirrorSpeedTest -c US\n```\n### 使用docker启动(交互模式)\n1. make sure docker is installed then run:\n```bash\nsudo docker run geekerhwh/mst:latest ./mirrorSpeedTest -i\n```\n### 执行二进制文件\n1. 从Release下载mirrorSpeedTest和urls.json(确保在同一文件夹下)\n2. 确保二进制文件有权限被执行\n```bash\nchmod 777 ./mirrorSpeedTest\n```\n3. 从终端启动即可\n```bash\n./mirrorSpeedTest\n```\n### 如果你想用go runtime运行\n1. 确保你的电脑安装有Go的运行环境\n```bash\ngo env\n```\n2. 下载解压该项目文件后，进入项目文件夹运行下命令\n```bash\ngo run main/main.go\n```\n3. 跟随app指令交互即可\n\n## 测速后如何更换源(实验性功能)\n```bash\n# running in root is needed\nsudo ./changeMirror.sh\n```\n\n# What's next\n- [x] 添加了changeMirror.sh以更改默认支持的镜像\n- [x] 多选镜像以进行测试\n- [x] 在多选模式中支持一键多选\n- [x] 检查主机系统\n- [x] 支持以速度带宽排序显示\n- [x] 支持更多镜像源(现在支持大多数中国和大多数美国镜像)\n\u003e 详见 [[Debian镜像源]](https://www.debian.org/mirror/list.en.html)\n- [x] 支持多线程测速（查看main/task/tester.go中Test函数）\n- [x] 支持多线程延迟测试\n- [ ] 支持在交互模式中选择国家\n- [ ] 支持conda和pip的镜像测试\n- [ ] 支持基于地域的镜像测试\n- [x] 支持传递参数直接运行\n- [ ] 支持传入多个国家进行测试\n- [x] 应用容器化以迅速使用\n- [ ] 支持内嵌的换源操作\n- [ ] 使用Github Actions进行自动化软件测试\n- [ ] 性能调优\n- [ ] 内存使用调优\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekerhwh%2Fmirrorspeedtest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeekerhwh%2Fmirrorspeedtest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekerhwh%2Fmirrorspeedtest/lists"}