# robbiehanson/CocoaHTTPServer

A small, lightweight, embeddable HTTP server for Mac OS X or iOS applications

Repository: https://github.com/robbiehanson/CocoaHTTPServer
Canonical: https://ross.abutalabs.com/products/cocoahttpserver
Language: Objective-C
License: NOASSERTION
License Family: other
Last push: 2023-10-17T22:46:14+00:00

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

## Adoption (not part of the score)
Stars 5609, forks 1302 (observed 2026-08-28T04:09:22.974523+00:00)

## What it is
CocoaHTTPServer is a small, lightweight, embeddable HTTP server library for Mac OS X and iOS applications written in Objective-C. It supports Bonjour broadcasting, IPv4/IPv6, SSL/TLS, password protection, WebDAV, and is built on GCD for asynchronous, scalable networking.

## Use cases
- embed an HTTP server inside an iOS app for over-the-air document access
- add remote monitoring endpoints to a macOS desktop application
- serve files over local network with Bonjour discovery
- build an HTTP communication backend for a desktop app
- serve documents with WebDAV support from a Mac or iOS app
- add password-protected or SSL-encrypted local web serving to an app

## When to choose
- you need an embedded HTTP server in a native macOS or iOS app
- you want Bonjour advertising, SSL/TLS, or WebDAV out of the box
- you need a lightweight, GCD-based server with fine-grained extensibility in Objective-C

## When to avoid
- you are building a standalone production web server or microservice
- your project is in Swift and you prefer a modern Swift-native solution
- you need HTTP/2, async/await concurrency, or modern TLS features
- you require active community development - the project is in maintenance mode

## Facets
- artifact type: library
- maturity: maintenance
- function: http-server, websocket, auth, cryptography
- domain: developer-tools, web-development, apple-ecosystem
- platform: -
- tags: embedded-http-server, bonjour, webdav, gcd, objective-c, cocoapods, ios-tools, macos, ios

## Member repositories
- robbiehanson/CocoaHTTPServer (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:22.974523+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:55:25.939245+00:00, confidence not recorded.
  - readme: https://github.com/robbiehanson/CocoaHTTPServer (fetched 2026-08-28T04:09:22.974523+00:00, sha 435119d0cf37)
- Data as of 2026-08-30T08:39:29.467469+00:00.
