{"id":20396966,"url":"https://github.com/glottologist/cosmoping","last_synced_at":"2025-07-17T04:38:57.888Z","repository":{"id":261564007,"uuid":"884660925","full_name":"glottologist/cosmoping","owner":"glottologist","description":"Latency report generator for Cosmos SDK addr book","archived":false,"fork":false,"pushed_at":"2024-11-25T17:01:11.000Z","size":117,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T11:10:39.460Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/glottologist.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-11-07T06:49:10.000Z","updated_at":"2024-11-11T12:20:59.000Z","dependencies_parsed_at":"2024-11-07T08:32:22.292Z","dependency_job_id":"d667f025-2e82-43cd-a42f-4b276036e2cf","html_url":"https://github.com/glottologist/cosmoping","commit_stats":null,"previous_names":["glottologist/cosmoping"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glottologist%2Fcosmoping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glottologist%2Fcosmoping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glottologist%2Fcosmoping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glottologist%2Fcosmoping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glottologist","download_url":"https://codeload.github.com/glottologist/cosmoping/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241945526,"owners_count":20046869,"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":[],"created_at":"2024-11-15T04:10:49.150Z","updated_at":"2025-03-05T01:12:53.471Z","avatar_url":"https://github.com/glottologist.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cosmoping\n\nLatency report generator for Cosmos SDK addr book\n\n## Usage\n\nTo get a basic latency report run cosmoping against a CosmosSDK addrbook.json file:\n\n```bash\ncosmoping latency --addrbook-path \u003cpath\u003e\n```\n\nThe terminal will print the results in markdown format:\n\n```markdown\n| IP Address | Port   | ID         | Latency(ms) | City | Country |\n| ---------- | ------ | ---------- | ----------- | ---- | ------- |\n| \u003cIP1\u003e      | \u003cPort\u003e | \u003cPeer Id1\u003e | 36354       |      |         |\n| \u003cIP2\u003e      | \u003cPort\u003e | \u003cPeer Id2\u003e | 36328       |      |         |\n```\n\n### Results output\n\nYou can supply an output path to save the results to file:\n\n```bash\ncosmoping latency --addrbook-path \u003cpath\u003e --output-path ./latencies.md\n```\n\n### Location data\n\nYou can get additional IP location data by supplying an api key from [IpInfo](https://ipinfo.io/):\n\n```bash\ncosmoping latency --addrbook-path \u003cpath\u003e --output-path ./latencies.md --location-api-key \u003cAPI KEY\u003e\n```\n\nThis will enrich the resolvable IPs with locations:\n\n```markdown\n| IP Address | Port   | ID         | Latency(ms) | City    | Country    |\n| ---------- | ------ | ---------- | ----------- | ------- | ---------- |\n| \u003cIP1\u003e      | \u003cPort\u003e | \u003cPeer Id1\u003e | 36354       | \u003cCity1\u003e | \u003cCountry1\u003e |\n| \u003cIP2\u003e      | \u003cPort\u003e | \u003cPeer Id2\u003e | 36328       | \u003cCity2\u003e | \u003cCountry1\u003e |\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglottologist%2Fcosmoping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglottologist%2Fcosmoping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglottologist%2Fcosmoping/lists"}