{"id":31585775,"url":"https://github.com/taoky/bestbind","last_synced_at":"2026-02-10T17:04:05.318Z","repository":{"id":73796297,"uuid":"535398715","full_name":"taoky/bestbind","owner":"taoky","description":"Select best IP to bind for OSS mirror admins","archived":false,"fork":false,"pushed_at":"2025-10-04T12:47:33.000Z","size":152,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T18:21:45.200Z","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":"2025-10-07T14:52:27.000Z","dependencies_parsed_at":"2024-05-11T10:46:30.806Z","dependency_job_id":"b29f40e1-e708-429d-9ec2-a0889e47cc7d","html_url":"https://github.com/taoky/bestbind","commit_stats":null,"previous_names":["taoky/rsync-speedtest","taoky/bestbind"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/taoky/bestbind","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoky%2Fbestbind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoky%2Fbestbind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoky%2Fbestbind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoky%2Fbestbind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taoky","download_url":"https://codeload.github.com/taoky/bestbind/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taoky%2Fbestbind/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29308928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T16:09:25.305Z","status":"ssl_error","status_checked_at":"2026-02-10T16:08:52.170Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-10-06T01:51:03.618Z","updated_at":"2026-02-10T17:04:04.942Z","avatar_url":"https://github.com/taoky.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bestbind\n\n(Old name: admirror-speedtest, 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; you can also test with Docker/Podman networks**.\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```console\n$ ./bestbind --help\nTest speed (bandwidth) of different bind IP to rsync, http(s) and git upstream. Alleviate mirror site admin's trouble choosing fastest bind IP.\n\nUsage: bestbind [OPTIONS] \u003cUPSTREAM\u003e\n\nArguments:\n  \u003cUPSTREAM\u003e  Upstream path. Will be given to specified program\n\nOptions:\n      --profile \u003cPROFILE\u003e  Profile name in config file. If not given, it will use \"default\" profile [default: default]\n  -c, --config \u003cCONFIG\u003e    Config file (IP list) path. Select order is bestbind.conf in XDG config, then ~/.bestbind.conf, then /etc/bestbind.conf\n  -p, --pass \u003cPASS\u003e        Passes number [default: 3]\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      --log \u003cLOG\u003e          Log file. Default to /dev/null When speedtesting, the executed program output is redirected to this file [default: /dev/null]\n      --program \u003cPROGRAM\u003e  Program to use. It will try to detect by default (here curl will be used default for http(s)) [possible values: rsync, wget, curl, git]\n      --extra \u003cEXTRA\u003e      Extra arguments. Will be given to specified program\n  -h, --help               Print help\n  -V, --version            Print version\n```\n\n### Git support\n\n`libbinder.so` will be searched by this order:\n\n- `/usr/lib/bestbind/libbinder.so`\n- The path `LIBBINDER_PATH` env var points to\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\nFormat from 0.4.0 is not compatible with previous versions.\n\nSee [assets/bestbind.conf.example](assets/bestbind.conf.example) for example.\n\n## Screenshot\n\n![Screenshot](assets/demo.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaoky%2Fbestbind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaoky%2Fbestbind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaoky%2Fbestbind/lists"}