# rxi/dyad

Asynchronous networking for C

Repository: https://github.com/rxi/dyad
Canonical: https://ross.abutalabs.com/products/rxi-dyad
Language: C
License: MIT
License Family: permissive
Archived: true
Last push: 2020-10-06T10:51:15+00:00

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

## Adoption (not part of the score)
Stars 1457, forks 219 (observed 2026-08-28T04:04:46.977318+00:00)

## What it is
Dyad.c is a lightweight, portable asynchronous networking library for C, distributed as just two source files. It supports building small TCP servers and clients with an event-listener API.

## Use cases
- write an async TCP server in C
- add networking to an existing C project
- build a simple echo server
- connect to a TCP service from C
- embed lightweight socket handling in a game or tool

## When to choose
- you need a tiny, dependency-free C networking layer
- you want event-driven TCP sockets that compile anywhere
- you prefer dropping two files into your project over pulling in libuv

## When to avoid
- you need high-performance, production-grade async I/O at scale
- you need TLS/SSL support out of the box
- you need UDP or higher-level protocols like HTTP

## Facets
- artifact type: library
- maturity: maintenance
- function: networking, http-server, websocket
- domain: networking, developer-tools, cross-platform
- platform: windows, cross-platform, c
- tags: async-networking, event-driven, sockets, single-file-library, tcp, linux, macos

## Member repositories
- rxi/dyad (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:46.977318+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-30T04:35:34.102307+00:00, confidence not recorded.
  - readme: https://github.com/rxi/dyad (fetched 2026-08-28T04:04:46.977318+00:00, sha 323f3f08e178)
- Data as of 2026-08-30T08:39:29.467469+00:00.
