{"id":21310481,"url":"https://github.com/lebje/icmpping","last_synced_at":"2025-08-15T23:14:06.010Z","repository":{"id":63916389,"uuid":"555963965","full_name":"LebJe/ICMPPing","owner":"LebJe","description":"Send ICMP Ping requests in Swift!","archived":false,"fork":false,"pushed_at":"2024-01-03T20:16:12.000Z","size":1459,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-11T23:37:29.261Z","etag":null,"topics":["icmp","linux","macos","swift","swift5","windows","windows-10"],"latest_commit_sha":null,"homepage":"https://lebje.github.io/ICMPPing/documentation/icmpping/","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/LebJe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2022-10-22T18:51:46.000Z","updated_at":"2025-03-23T18:35:38.000Z","dependencies_parsed_at":"2025-07-11T23:32:01.056Z","dependency_job_id":"69862b25-b200-4fbb-8378-efb0215a256e","html_url":"https://github.com/LebJe/ICMPPing","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/LebJe/ICMPPing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LebJe%2FICMPPing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LebJe%2FICMPPing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LebJe%2FICMPPing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LebJe%2FICMPPing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LebJe","download_url":"https://codeload.github.com/LebJe/ICMPPing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LebJe%2FICMPPing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270644765,"owners_count":24621332,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["icmp","linux","macos","swift","swift5","windows","windows-10"],"created_at":"2024-11-21T17:13:44.973Z","updated_at":"2025-08-15T23:14:05.985Z","avatar_url":"https://github.com/LebJe.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ICMPPing\n\n**Send [ICMP](https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol) Ping requests in Swift! Powered by [cpp-icmplib](https://github.com/markondej/cpp-icmplib).**\n\n[![Swift 5.5](https://img.shields.io/badge/Swift-5.5-brightgreen?logo=swift)](https://swift.org)\n[![SPM Compatible](https://img.shields.io/badge/SPM-compatible-brightgreen.svg)](https://swift.org/package-manager)\n[![](https://img.shields.io/github/v/tag/LebJe/ICMPPing)](https://github.com/LebJe/ICMPPing/releases)\n[![Build and Test](https://github.com/LebJe/ICMPPing/workflows/Build%20and%20Test/badge.svg)](https://github.com/LebJe/ICMPPing/actions?query=workflow%3A%22Build+and+Test%22)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FLebJe%2FICMPPing%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/LebJe/ICMPPing)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FLebJe%2FICMPPing%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/LebJe/ICMPPing)\n\n\u003c!--ts--\u003e\n\n-   [ICMPPing](#icmpping)\n    -   [Installation](#installation)\n        -   [Swift Package Manager](#swift-package-manager)\n        -   [Full Documentation](#full-documentation)\n    -   [Quick Start](#quick-start)\n    -   [Dependencies](#dependencies)\n    -   [Licenses](#licenses)\n    -   [Contributing](#contributing)\n\n\u003c!-- Added by: lebje, at: Sun Oct 23 21:44:53 EDT 2022 --\u003e\n\n\u003c!--te--\u003e\n\n## Installation\n\n### Swift Package Manager\n\nAdd this to the `dependencies` array in `Package.swift`:\n\n```swift\n.package(url: \"https://github.com/LebJe/ICMPPing.git\", from: \"0.0.1\")\n```\n\nAlso add this to the `targets` array in the aforementioned file:\n\n```swift\n.product(name: \"ICMPPing\", package: \"ICMPPing\")\n```\n\n### Full Documentation\n\nFull documentation is available [here](https://lebje.github.io/ICMPPing/documentation/icmpping/).\n\n## Quick Start\n\n```swift\nimport ICMPPing\n\n// Google's IP Address\nlet address = try ICMPPing.IPAddress(\"8.8.8.8\", type: .ipv4)\n\nlet result = ICMPPing.ping(address: address, timeout: 10 /* seconds */)\n\nprint(result)\n\n// ICMPPing.Response(\n//     address: 8.8.8.8,\n//     code: 0,\n//     timeToLive: 116,\n//     interval: 23.011,\n//     responseType: ICMPPing.Response.ResponseType.success\n// )\n```\n\n## Dependencies\n\n-   [cpp-icmplib](https://github.com/markondej/cpp-icmplib/)\n\n## Licenses\n\nThe [cpp-icmplib](https://github.com/markondej/cpp-icmplib/) license is available at [https://github.com/markondej/cpp-icmplib/blob/c1e04b53923eec57efb898a4fdf94fea5b856c1d/LICENSE](https://github.com/markondej/cpp-icmplib/blob/c1e04b53923eec57efb898a4fdf94fea5b856c1d/LICENSE).\n\n## Contributing\n\nBefore committing, please install [pre-commit](https://pre-commit.com), [swift-format](https://github.com/nicklockwood/SwiftFormat), [clang-format](https://clang.llvm.org/docs/ClangFormat.html), and [Prettier](https://prettier.io), then install the pre-commit hook:\n\n```bash\n$ brew bundle # install the packages specified in Brewfile\n$ pre-commit install\n\n# Commit your changes.\n```\n\nTo install pre-commit on other platforms, refer to the [documentation](https://pre-commit.com/#install).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flebje%2Ficmpping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flebje%2Ficmpping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flebje%2Ficmpping/lists"}