{"id":22778983,"url":"https://github.com/swarm-cloud/swiftnattypedetector","last_synced_at":"2025-10-07T17:05:59.778Z","repository":{"id":179905071,"uuid":"663845360","full_name":"swarm-cloud/SwiftNATTypeDetector","owner":"swarm-cloud","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-11T13:48:45.000Z","size":35,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T01:39:31.272Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swarm-cloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-07-08T08:49:19.000Z","updated_at":"2024-06-25T13:59:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"b7e44260-e6dd-49c9-bbca-ebbcafef4a1b","html_url":"https://github.com/swarm-cloud/SwiftNATTypeDetector","commit_stats":null,"previous_names":["swarm-cloud/swiftnattypedetector"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/swarm-cloud/SwiftNATTypeDetector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swarm-cloud%2FSwiftNATTypeDetector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swarm-cloud%2FSwiftNATTypeDetector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swarm-cloud%2FSwiftNATTypeDetector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swarm-cloud%2FSwiftNATTypeDetector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swarm-cloud","download_url":"https://codeload.github.com/swarm-cloud/SwiftNATTypeDetector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swarm-cloud%2FSwiftNATTypeDetector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278811851,"owners_count":26050183,"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-10-07T02:00:06.786Z","response_time":59,"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":[],"created_at":"2024-12-11T20:07:28.155Z","updated_at":"2025-10-07T17:05:59.759Z","avatar_url":"https://github.com/swarm-cloud.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## Swift implementation of NAT type detection\nInspired by https://github.com/HMBSbige/NatTypeTester\n\u003cbr\u003e\nIssue and pull request are welcomed\n\n### Swift Package Manager\n\nThe [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler. \n\nOnce you have your Swift package set up, adding SwiftNATTypeDetector as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/swarm-cloud/SwiftNATTypeDetector.git\", .upToNextMajor(from: \"0.0.1\"))\n]\n```\n\n## NAT类型探测的Swift实现\n\n参照了c#版的实现：https://github.com/HMBSbige/NatTypeTester\n\u003cbr\u003e\n欢迎测试效果并反馈issue\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswarm-cloud%2Fswiftnattypedetector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswarm-cloud%2Fswiftnattypedetector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswarm-cloud%2Fswiftnattypedetector/lists"}