# rustyrussell/ccan

The C Code Archive Network

Repository: https://github.com/rustyrussell/ccan
Canonical: https://ross.abutalabs.com/products/ccan
Language: C
License Family: other
Last push: 2026-08-20T23:49:15+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 5453, "days_push": 13, "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 1163, forks 216 (observed 2026-08-28T04:03:49.640133+00:00)

## What it is
The C Code Archive Network (CCAN) is a collection of reusable C modules, analogous to CPAN for Perl, distributed as self-contained directories that can be dropped into projects. It includes helper tools for creating and managing module trees.

## Use cases
- find reusable C modules for my project
- add ccan modules to a C codebase
- avoid rewriting common C utilities
- browse a network of C code packages
- create a ccan tree for my build

## When to choose
- you write C and want small, self-contained, copy-in modules
- you need battle-tested utility code without heavy dependencies
- you want a CPAN-like ecosystem for C

## When to avoid
- you need a package manager with dependency resolution rather than vendored source modules
- you work in a language other than C
- you require formally licensed or maintained releases (repo has no license file)

## Facets
- artifact type: library
- maturity: maintenance
- function: developer-tools, cli, build-tool
- domain: developer-tools, programming-languages, cross-platform
- platform: c, cross-platform, cli
- tags: c-modules, code-archive, reusable-components, cpkg, linux

## Member repositories
- rustyrussell/ccan (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:49.640133+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:31:34.839403+00:00, confidence not recorded.
  - readme: https://github.com/rustyrussell/ccan (fetched 2026-08-28T04:03:49.640133+00:00, sha 51e0e005a11b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
