{"id":16682274,"url":"https://github.com/jpsim/peerkit","last_synced_at":"2025-04-12T23:34:04.358Z","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":72,"subscribers_count":28,"default_branch":"master","last_synced_at":"2024-10-13T04:39:36.626Z","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":"2024-06-07T23:15:20.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,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247112744,"owners_count":20885606,"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-10-12T14:06:53.881Z","updated_at":"2025-04-04T03:04:35.508Z","avatar_url":"https://github.com/jpsim.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"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"}