{"id":23863067,"url":"https://github.com/ctyar/pingct","last_synced_at":"2025-09-08T11:33:47.104Z","repository":{"id":143469070,"uuid":"169761808","full_name":"ctyar/pingct","owner":"ctyar","description":"A simple ping like tool to check the network connectivity.","archived":false,"fork":false,"pushed_at":"2024-09-11T10:30:16.000Z","size":236,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-09-11T15:23:33.353Z","etag":null,"topics":["dns","ip","network","ping","proxy","socks5"],"latest_commit_sha":null,"homepage":"","language":"C#","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/ctyar.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":"2019-02-08T16:10:24.000Z","updated_at":"2024-09-11T10:30:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"170e6b53-e203-45a0-a942-396e23f7fd8d","html_url":"https://github.com/ctyar/pingct","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/ctyar%2Fpingct","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctyar%2Fpingct/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctyar%2Fpingct/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctyar%2Fpingct/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctyar","download_url":"https://codeload.github.com/ctyar/pingct/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232307810,"owners_count":18503100,"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":["dns","ip","network","ping","proxy","socks5"],"created_at":"2025-01-03T07:38:40.592Z","updated_at":"2025-09-08T11:33:47.096Z","avatar_url":"https://github.com/ctyar.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pingct\r\n\r\n[![Build Status](https://dev.azure.com/ctyar/pingct/_apis/build/status/ctyar.pingct?branchName=main)](https://dev.azure.com/ctyar/pingct/_build/latest?definitionId=5\u0026branchName=main)\r\n[![pingct](https://img.shields.io/nuget/v/pingct.svg)](https://www.nuget.org/packages/pingct/)\r\n\r\nA simple Ping like tool to check the network connection issues. `pingct` is designed to constantly check the network connectivity and in case of any issues run a set of tests to facilitate troubleshooting.\r\n\r\n## Get started\r\n\r\n[Install](https://get.dot.net) the [required](global.json) .NET SDK.\r\n\r\nRun this command:\r\n\r\n```\r\n$ dotnet tool install --global pingct\r\n```\r\n\r\nAnd run the tool with:\r\n```\r\n$ pingct\r\n```\r\n\r\n## Usage\r\n\r\n```\r\n  pingct [command] [options]\r\n\r\nOptions:\r\n  -?, -h, --help  Show help and usage information\r\n  --version       Show version information\r\n\r\nCommands:\r\n  config  Prints the path to the config file\r\n```\r\n\r\n#### Config file\r\n\r\n```json\r\n{\r\n  \"Ping\": \"4.2.2.4\",\r\n  \"Delay\": 1500,\r\n  \"MaxPingSuccessTime\": 120,\r\n  \"MaxPingWarningTime\": 170,\r\n  \"Tests\": [\r\n    {\r\n      \"Type\": \"ping\",\r\n      \"Host\": \"192.168.1.1\"\r\n    },\r\n    {\r\n      \"Type\": \"ping\",\r\n      \"Host\": \"bt.com\"\r\n    },\r\n    {\r\n      \"Type\": \"dns\",\r\n      \"Host\": \"facebook.com\"\r\n    },\r\n    {\r\n      \"Type\": \"get\",\r\n      \"Host\": \"https://twitter.com\"\r\n    }\r\n  ],\r\n  \"OnConnected\": \"\",\r\n  \"OnConnectedArgs\": \"\",\r\n  \"OnDisconnected\": \"\",\r\n  \"OnDisconnectedArgs\": \"\"\r\n}\r\n```\r\n\r\n#### Supported test types:\r\n1. `ping` Ping\r\n1. `dns` DNS lookup\r\n1. `get` HTTP GET request\r\n\r\n\r\n#### Sample output:\r\n![image](https://user-images.githubusercontent.com/1432648/151763302-146eb6f9-999d-4ea4-a528-875ae55b0be9.png)\r\n\r\n## Pre-release builds\r\nGet the package from [here](https://github.com/ctyar/pingct/packages/48026).\r\n\r\n## Build\r\n[Install](https://get.dot.net) the [required](global.json) .NET SDK.\r\n\r\nRun:\r\n```\r\n$ dotnet build\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctyar%2Fpingct","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctyar%2Fpingct","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctyar%2Fpingct/lists"}