{"id":1190,"url":"https://github.com/jpsim/PeerKit","last_synced_at":"2025-07-30T20:32:38.021Z","repository":{"id":22945815,"uuid":"26295243","full_name":"jpsim/PeerKit","owner":"jpsim","description":"An open-source Swift framework for building event-driven, zero-config Multipeer Connectivity apps","archived":false,"fork":false,"pushed_at":"2018-12-18T09:49:15.000Z","size":59,"stargazers_count":872,"open_issues_count":15,"forks_count":71,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-06-29T08:04:06.143Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jpsim.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}},"created_at":"2014-11-06T23:38:26.000Z","updated_at":"2025-06-16T14:51:19.000Z","dependencies_parsed_at":"2022-08-21T16:50:37.711Z","dependency_job_id":null,"html_url":"https://github.com/jpsim/PeerKit","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jpsim/PeerKit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpsim%2FPeerKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpsim%2FPeerKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpsim%2FPeerKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpsim%2FPeerKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpsim","download_url":"https://codeload.github.com/jpsim/PeerKit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpsim%2FPeerKit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267911430,"owners_count":24164460,"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-07-30T02:00:09.044Z","response_time":70,"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-01-05T20:15:40.891Z","updated_at":"2025-07-30T20:32:37.711Z","avatar_url":"https://github.com/jpsim.png","language":"Swift","funding_links":[],"categories":["Hardware","Libs","Swift"],"sub_categories":["Bluetooth","Network","Other free courses","UI"],"readme":"# PeerKit\n\n## An open-source Swift framework for building event-driven, zero-config Multipeer Connectivity apps\n\n## Usage\n\n```swift\n// Automatically detect and attach to other peers with this service type\nPeerKit.transceive(\"com-jpsim-myApp\")\n\nenum Event: String {\n    case StartGame, EndGame\n}\n\n// Send a StartGame event with attached data to all peers\nPeerKit.sendEvent(Event.StartGame.rawValue, object: [\"myInfo\": \"hello!\"])\n```\n\nSee the [CardsAgainst](https://github.com/jpsim/CardsAgainst) app for example usage. Specifically the [ConnectionManager](https://github.com/jpsim/CardsAgainst/blob/master/CardsAgainst/Controllers/ConnectionManager.swift) class.\n\n## License\n\nThis project is under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpsim%2FPeerKit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpsim%2FPeerKit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpsim%2FPeerKit/lists"}