# insidegui/MultipeerKit

MultipeerConnectivity + Codable = ❤️

Repository: https://github.com/insidegui/MultipeerKit
Canonical: https://ross.abutalabs.com/products/multipeerkit
Language: Swift
License: BSD-2-Clause
License Family: permissive
Topics: peer-to-peer, swift-library, ios, macos, tvos
Last push: 2026-06-29T19:47:38+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 8, longevity 100
- inputs: {"age_days": 2378, "days_push": 65, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1132, forks 79 (observed 2026-08-28T04:03:42.714823+00:00)

## What it is
A Swift library that wraps Apple's MultipeerConnectivity framework with a Codable-based API, letting iOS, macOS, and tvOS devices exchange typed messages over Wi-Fi, peer-to-peer Wi-Fi, and Bluetooth. It provides a simple MultipeerTransceiver class for broadcasting and receiving any Codable payload between nearby peers.

## Use cases
- send messages between nearby iOS devices without a server
- build a peer-to-peer multiplayer game on Apple platforms
- exchange Codable data between a Mac and an iPhone over local network
- sync app state across devices via Bluetooth or peer-to-peer Wi-Fi
- broadcast structured payloads to nearby peers in Swift
- discover and communicate with devices on the local network

## When to choose
- you need serverless device-to-device communication on iOS, macOS, or tvOS
- you want a simple Codable-based API instead of raw MultipeerConnectivity
- your app exchanges small structured messages between nearby devices

## When to avoid
- you need internet-based or remote communication rather than nearby peers
- you target platforms outside Apple's ecosystem
- you need large file transfers or streaming rather than small Codable messages

## Facets
- artifact type: library
- maturity: stable
- function: p2p, serialization, networking
- domain: mobile-development, operating-systems, cross-platform, developer-tools
- platform: -
- tags: multipeer-connectivity, codable, swift-package, apple-ecosystem, bluetooth, wi-fi, ios, macos, swift

## Member repositories
- insidegui/MultipeerKit (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:42.714823+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:37:57.609952+00:00, confidence not recorded.
  - readme: https://github.com/insidegui/MultipeerKit (fetched 2026-08-28T04:03:42.714823+00:00, sha e63934e1e0bd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
