# daltoniam/Starscream

Websockets in swift for iOS and OSX

Repository: https://github.com/daltoniam/Starscream
Canonical: https://ross.abutalabs.com/products/starscream
Language: Swift
License: Apache-2.0
License Family: permissive
Topics: starscream, swift, websocket-client, osx, websocket, websockets, protocol
Last push: 2024-05-16T21:37:05+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4431, "days_push": 839, "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 8645, forks 1258 (observed 2026-08-28T04:10:23.979497+00:00)

## What it is
Starscream is a Swift library implementing a conforming WebSocket client (RFC 6455) for iOS and macOS. It provides nonblocking, GCD-based connections with TLS/WSS and permessage-deflate compression support.

## Use cases
- connect to a websocket server from an iOS app
- send and receive text and binary frames in Swift
- add real-time messaging to an iOS or macOS app
- use secure WSS connections with TLS in Swift
- handle websocket ping/pong and reconnection events
- stream live data to a Mac application over websockets

## When to choose
- you need a mature, RFC 6455-compliant websocket client in Swift
- you are building an iOS or macOS app that needs real-time bidirectional communication
- you want TLS/WSS and compression extension support out of the box

## When to avoid
- you need a websocket server rather than a client
- you are not developing in Swift or on Apple platforms
- you need a cross-platform solution outside the Apple ecosystem

## Facets
- artifact type: library
- maturity: stable
- function: websocket, http-client, networking
- domain: web-development, developer-tools, cross-platform
- platform: -
- tags: websocket-client, rfc-6455, tls, compression, nonblocking, gcd, ios, macos, swift

## Member repositories
- daltoniam/Starscream (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:23.979497+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-29T17:25:41.084496+00:00, confidence not recorded.
  - readme: https://github.com/daltoniam/Starscream (fetched 2026-08-28T04:10:23.979497+00:00, sha fdb4af9a37dd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
