{"id":15715726,"url":"https://github.com/jeffersonqin/cloudflare-dynamic-best","last_synced_at":"2025-04-23T18:06:00.861Z","repository":{"id":178049097,"uuid":"661218809","full_name":"JeffersonQin/cloudflare-dynamic-best","owner":"JeffersonQin","description":"Automatically select the best Cloudflare IP for your Cloudflare DNS record","archived":false,"fork":false,"pushed_at":"2024-08-03T06:51:11.000Z","size":18,"stargazers_count":30,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-25T03:45:37.496Z","etag":null,"topics":["cloudflare","cloudflare-api","dns","network","proxy","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/JeffersonQin.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":"2023-07-02T06:53:13.000Z","updated_at":"2024-10-22T03:49:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"f8bce834-dbc6-435b-9df5-7a2161425c53","html_url":"https://github.com/JeffersonQin/cloudflare-dynamic-best","commit_stats":null,"previous_names":["jeffersonqin/cloudflare-dynamic-best"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffersonQin%2Fcloudflare-dynamic-best","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffersonQin%2Fcloudflare-dynamic-best/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffersonQin%2Fcloudflare-dynamic-best/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffersonQin%2Fcloudflare-dynamic-best/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JeffersonQin","download_url":"https://codeload.github.com/JeffersonQin/cloudflare-dynamic-best/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235361623,"owners_count":18977707,"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":["cloudflare","cloudflare-api","dns","network","proxy","speedtest"],"created_at":"2024-10-03T21:42:35.056Z","updated_at":"2025-01-23T23:05:48.114Z","avatar_url":"https://github.com/JeffersonQin.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dynamic Best Cloudflare (自动设置 Cloudflare 优选 IP)\n\n[中文 README](README.zh.md)\n\nA tool to automatically select best Cloudflare IP for a Cloudflare DNS record.\n\n## Install\n\nInstall the binary via cargo and crates.io,\n\n```bash\ncargo install cf-dynamic-best\n```\n\nThen, get [CloudflareSpeedTest](https://github.com/XIU2/CloudflareSpeedTest) ready. Following is the installation guide from their repository, different platform may differ, the following is the guide for linux and amd64.\n\n```bash\nmkdir CloudflareST\n\ncd CloudflareST\n\n# select for your platform and arch in their release page\nwget -N https://github.com/XIU2/CloudflareSpeedTest/releases/download/v2.2.4/CloudflareST_linux_amd64.tar.gz\n\ntar -zxf CloudflareST_linux_amd64.tar.gz\n\nchmod +x CloudflareST\n```\n\n## Usage\n\n```bash\n$ cf-dynamic-best  --help\nA tool to automatically set best Cloudflare IP for a Cloudflare DNS record\n\nUsage: cf-dynamic-best --config-dir \u003cFILE\u003e --cloudflare-st-dir \u003cFILE\u003e\n\nOptions:\n  -c, --config-dir \u003cFILE\u003e         \n  -s, --cloudflare-st-dir \u003cFILE\u003e  \n  -h, --help                      Print help\n  -V, --version                   Print version\n```\n\n* `--config` is the file for config path.\n* `--cloudflare-st-dir` is the directory where `CloudflareST` binary file is located.\n\n## Configuration\n\nTake a look at [`config.template.en.yaml`](config.template.en.yaml) for configuration file with English comment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffersonqin%2Fcloudflare-dynamic-best","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffersonqin%2Fcloudflare-dynamic-best","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffersonqin%2Fcloudflare-dynamic-best/lists"}