{"id":19916352,"url":"https://github.com/beiyanyunyi/cloudflarespeedtest-rust","last_synced_at":"2025-08-08T21:15:23.805Z","repository":{"id":37699655,"uuid":"475024010","full_name":"BeiyanYunyi/CloudflareSpeedTest-Rust","owner":"BeiyanYunyi","description":"测试 Cloudflare CDN 延迟、真实延迟和下载速度，获取最快 IP (IPv4)，不访问第三方服务器 / Test ping, real delay and download speed of Cloudflare CDN Nodes to get the fastest IP (IPv4), without accessing any third-party servers.","archived":false,"fork":false,"pushed_at":"2023-03-22T06:58:58.000Z","size":99,"stargazers_count":42,"open_issues_count":3,"forks_count":10,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-02T05:15:06.779Z","etag":null,"topics":["anycast","cdn","cloudflare","rust","speedtest"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BeiyanYunyi.png","metadata":{"files":{"readme":"README-en_US.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}},"created_at":"2022-03-28T13:51:46.000Z","updated_at":"2024-02-06T14:42:19.000Z","dependencies_parsed_at":"2022-08-25T00:10:52.243Z","dependency_job_id":null,"html_url":"https://github.com/BeiyanYunyi/CloudflareSpeedTest-Rust","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeiyanYunyi%2FCloudflareSpeedTest-Rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeiyanYunyi%2FCloudflareSpeedTest-Rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeiyanYunyi%2FCloudflareSpeedTest-Rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeiyanYunyi%2FCloudflareSpeedTest-Rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BeiyanYunyi","download_url":"https://codeload.github.com/BeiyanYunyi/CloudflareSpeedTest-Rust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224354757,"owners_count":17297410,"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":["anycast","cdn","cloudflare","rust","speedtest"],"created_at":"2024-11-12T21:45:14.137Z","updated_at":"2024-11-12T21:45:14.732Z","avatar_url":"https://github.com/BeiyanYunyi.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚡ Cloudflare Speed Test in Rust\n\n[![GitHub stars](https://img.shields.io/github/stars/lixiang810/cloudflare-speed-test-rust?style=for-the-badge)](https://github.com/lixiang810/cloudflare-speed-test-rust/stargazers) [![GitHub license](https://img.shields.io/github/license/lixiang810/cloudflare-speed-test-rust?style=for-the-badge)](https://github.com/lixiang810/cloudflare-speed-test-rust/blob/main/LICENSE)\n\nCloudflare Speed Test written in Rust, for my practice.\n\n## 🔖 Download Release\n\n[Here](https://github.com/lixiang810/cloudflare-speed-test-rust/releases/)\n\n### 📦 Choose file\n\n| OS      | File to download                                                                                                                                   |\n| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |\n| Windows | `cloudflare-speed-test-rust_[Version]_x86_64-pc-windows-gnu.zip`                                                                                   |\n| Linux   | `cloudflare-speed-test-rust_[Version]_x86_64-unknown-linux-musl.tar.xz` or `cloudflare-speed-test-rust_[Version]_x86_64-unknown-linux-musl.tar.gz` |\n| Mac OS  | `cloudflare-speed-test-rust_[Version]_x86_64-apple-darwin.zip`                                                                                     |\n\n## 🏭 Build it yourself\n\n```bash\ngit clone https://github.com/lixiang810/cloudflare-speed-test-rust\ncd cloudflare-speed-test-rust\ncargo build -r\nsudo ./target/release/cfst # sudo if you're using Linux\n```\n\n## 🔧 Use custom IP file\n\n### Format\n\n#### IPv4\n\n```plaintext\n173.245.48.0/20\n141.101.64.0/18\n131.0.72.0/22\n...\n```\n\n#### IPv6\n\n```plaintext\n2606:4700:3000::/48\n2606:4700:3001::/48\n2606:4700:3002::/48\n2606:4700:3003::/48\n2606:4700:3004::/48\n...\n```\n\n### POSIX\n\n```bash\nsudo cfst -c \u003cFILE\u003e\n```\n\n### Windows\n\n```dos\ncfst.exe -c \u003cFILE\u003e\n```\n\n## ❤️ Thanks\n\n- IBMYes（deleted）-- bash and bat\n- better-cloudflare-ip（deleted）-- bash and bat\n- [CloudflareSpeedTest](https://github.com/XIU2/CloudflareSpeedTest) -- Go\n\n## 🔒 Privacy\n\nThis program will and will only communicate with the Cloudflare server with HTTPS and ICMP Protocol.\n\n## 🤯 Disclaimer\n\nDo anything with it at your own risk.\n\n## 📝 Special Notes\n\n### For IPv4\n\nThere are two copies of IPv4 IPs built into the program, one of which will be consistent with [Cloudflare's IP list](https://www.cloudflare.com/ips-v4). The other one was sent to me by a user, and may be of higher quality than Cloudflare's official list, but its access and security are not yet clear, so use at your own risk.\n\n### For IPv6\n\nAs with IPv4, the project supports getting available IPs from [Cloudflare's IP list](https://www.cloudflare.com/ips-v6), but the vast majority of IPs in this IPv6 list are not available.\n\nI got a list from [CloudflareSpeedTest](https://github.com/XIU2/CloudflareSpeedTest) and hardcoded it into the program. This list is very available, but its access and security are not clear.\n\nIf you are concerned about IP address security, you can let the program get IPs from Cloudflare (recommended test rounds are set to 20 or more), and if you want to be more efficient, you can let the program use the built-in IP list.\n\n## 🧑‍🏭 LICENSE\n\nAGPL-3.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeiyanyunyi%2Fcloudflarespeedtest-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeiyanyunyi%2Fcloudflarespeedtest-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeiyanyunyi%2Fcloudflarespeedtest-rust/lists"}