{"id":22865505,"url":"https://github.com/taoky/admirror-speedtest","last_synced_at":"2025-05-05T15:18:23.410Z","repository":{"id":73796297,"uuid":"535398715","full_name":"taoky/admirror-speedtest","owner":"taoky","description":"A simple rsync/http(s)/git speedtest program for multiple-IPs (ISP) environment","archived":false,"fork":false,"pushed_at":"2024-12-04T10:12:00.000Z","size":103,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-04T11:22:04.307Z","etag":null,"topics":["git","mirrors","rsync","speedtest"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taoky.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-09-11T19:07:30.000Z","updated_at":"2024-12-04T10:10:12.000Z","dependencies_parsed_at":"2024-05-11T10:46:30.806Z","dependency_job_id":"b29f40e1-e708-429d-9ec2-a0889e47cc7d","html_url":"https://github.com/taoky/admirror-speedtest","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoky%2Fadmirror-speedtest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoky%2Fadmirror-speedtest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoky%2Fadmirror-speedtest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoky%2Fadmirror-speedtest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taoky","download_url":"https://codeload.github.com/taoky/admirror-speedtest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229538508,"owners_count":18088895,"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":["git","mirrors","rsync","speedtest"],"created_at":"2024-12-13T11:37:27.949Z","updated_at":"2024-12-13T11:37:28.434Z","avatar_url":"https://github.com/taoky.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# admirror-speedtest\n\n(Old name: rsync-speedtest)\n\nA simple speedtest program for multiple-IPs (ISP) environment, to optimize the speed of syncing from upstream. **Supports rsync, curl, wget and git**.\n\nPS: There's a racing bug in rsync that prevents proper termination of rsync processes, and it has been workarounded in rsync-speedtest. See comments of [`kill_children()` in main.rs](src/main.rs) for details.\n\n## Args\n\n```\n$ ./admirror-speedtest --help\nadmirror-speedtest 0.3.3\nTest speed (bandwidth) of different bind IP to rsync, http(s) and git upstream. Alleviate mirror\nsite admin's trouble choosing fastest bind IP.\n\nUSAGE:\n    admirror-speedtest [OPTIONS] \u003cUPSTREAM\u003e\n\nARGS:\n    \u003cUPSTREAM\u003e    Upstream path. Will be given to specified program\n\nOPTIONS:\n    -c, --config \u003cCONFIG\u003e      Config file (IP list) path. Default to ~/.admirror-speedtest or (if\n                               not exist) ~/.rsync-speedtest\n    -h, --help                 Print help information\n        --log \u003cLOG\u003e            Log file. Default to /dev/null\n    -p, --pass \u003cPASS\u003e          Passes number [default: 3]\n        --program \u003cPROGRAM\u003e    Program to use. It will try to detect by default (here curl will be\n                               used default for http(s)) [possible values: rsync, wget, curl, git]\n    -t, --timeout \u003cTIMEOUT\u003e    Timeout (seconds) [default: 30]\n        --tmp-dir \u003cTMP_DIR\u003e    Tmp file path. Default to env::temp_dir() (/tmp in Linux system)\n    -V, --version              Print version information\n```\n\n### Git support\n\n`libbinder.so` will be searched by this order:\n\n- Same path as admirror-speedtest executable\n- `deps` directory in admirror-speedtest executable's parent directory\n\nNote that libbinder is now seperated to another repo: \u003chttps://github.com/taoky/libbinder\u003e, with glibc \u0026 musl support.\n\nIt throws error and git support will not be available if `libbinder.so` is not found.\n\n## Config file format\n\n```\n114.5.1.4 example_ip_1\n2001:19:19:8::10 example_ip_2\n```\n\n## Screenshot\n\n![Screenshot](assets/demo.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaoky%2Fadmirror-speedtest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaoky%2Fadmirror-speedtest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaoky%2Fadmirror-speedtest/lists"}