{"id":21306927,"url":"https://github.com/oneclickvirt/pingtest","last_synced_at":"2025-03-15T19:48:12.432Z","repository":{"id":246835307,"uuid":"823403442","full_name":"oneclickvirt/pingtest","owner":"oneclickvirt","description":"三网ICMP的PING值测试模块","archived":false,"fork":false,"pushed_at":"2025-03-08T01:50:25.000Z","size":1629,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-08T02:25:56.375Z","etag":null,"topics":["goecs","icmp","ping","pingtest"],"latest_commit_sha":null,"homepage":"https://github.com/oneclickvirt/ecs","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oneclickvirt.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":"2024-07-03T01:20:34.000Z","updated_at":"2025-03-08T01:44:19.000Z","dependencies_parsed_at":"2024-11-21T16:47:19.347Z","dependency_job_id":null,"html_url":"https://github.com/oneclickvirt/pingtest","commit_stats":null,"previous_names":["oneclickvirt/pingtest"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oneclickvirt%2Fpingtest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oneclickvirt%2Fpingtest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oneclickvirt%2Fpingtest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oneclickvirt%2Fpingtest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oneclickvirt","download_url":"https://codeload.github.com/oneclickvirt/pingtest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243784104,"owners_count":20347409,"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":["goecs","icmp","ping","pingtest"],"created_at":"2024-11-21T16:29:00.994Z","updated_at":"2025-03-15T19:48:12.394Z","avatar_url":"https://github.com/oneclickvirt.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pingtest\n\n[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Foneclickvirt%2Fpingtest\u0026count_bg=%232EFFF8\u0026title_bg=%23555555\u0026icon=\u0026icon_color=%23E7E7E7\u0026title=hits\u0026edge_flat=false)](https://www.spiritlhl.net)\n\n三网ICMP的PING值测试模块\n\n## 说明\n\n- [x] 基于[speedtest.net-爬虫](https://github.com/spiritLHLS/speedtest.net-CN-ID)、[speedtest.cn-爬虫](https://github.com/spiritLHLS/speedtest.cn-CN-ID)的数据\n- [x] 调用```ping```测试\n- [x] 主体逻辑借鉴了[ecsspeed](https://github.com/spiritLHLS/ecsspeed)\n- [x] 使用官方的```pro-bing```包进行测试\n\n## 使用\n\n下载及安装\n\n```\ncurl https://raw.githubusercontent.com/oneclickvirt/pingtest/main/pt_install.sh -sSf | bash\n```\n\n或\n\n```\ncurl https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/pingtest/main/pt_install.sh -sSf | bash\n```\n\n使用\n\n```\npt\n```\n\n或\n\n```\n./pt\n```\n\n进行测试\n\n无环境依赖，理论上适配所有系统和主流架构，更多架构请查看 https://github.com/oneclickvirt/pingtest/releases/tag/output\n\n```\nUsage: pt [options]\n  -h    Show help information\n  -log\n        Enable logging\n  -v    Show version\n```\n\n## 卸载\n\n```\nrm -rf /root/pt\nrm -rf /usr/bin/pt\n```\n\n## 在Golang中使用\n\n```\ngo get github.com/oneclickvirt/pingtest@latest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foneclickvirt%2Fpingtest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foneclickvirt%2Fpingtest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foneclickvirt%2Fpingtest/lists"}