# mattiasgustavsson/libs

Single-file public domain libraries for C/C++

Repository: https://github.com/mattiasgustavsson/libs
Canonical: https://ross.abutalabs.com/products/libs
Language: C
License Family: other
Last push: 2026-01-20T19:58:41+00:00

## Health v2 (maintenance only)
Score: 61/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 63, release rhythm 35, longevity 100
- inputs: {"age_days": 3944, "days_push": 225, "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 2299, forks 148 (observed 2026-08-28T04:06:35.317770+00:00)

## What it is
A collection of single-file, public domain (dual MIT) C/C++ libraries covering graphics app frameworks, data structures, threading, HTTP, and media utilities. It also includes repackaged single-file versions of well-known third-party libraries.

## Use cases
- add a hash table or string pool to a C project without dependencies
- build a small cross-platform graphical app in C
- read assets from zip files in a game
- cross-platform threading primitives in C/C++
- parse ini files in C
- render CRT-style shaders or pixel fonts
- convert images to palettes with dithering
- read ID3 tags from mp3 files

## When to choose
- you want small, dependency-free, single-header C/C++ libraries
- you're building a game or graphical tool in C and want a minimal base framework
- you prefer public domain/MIT licensing with no attribution requirements
- you want stb-style libraries covering data structures, threading, and media

## When to avoid
- you need HTTPS or full-featured networking (http.h is basic sockets only)
- you need mature, feature-rich alternatives rather than minimal implementations
- you need C++-idiomatic APIs with templates and RAII
- you require guaranteed long-term support or a formal license file

## Facets
- artifact type: library
- maturity: active
- function: graphics, image-processing, audio-processing, concurrency, serialization, parser, math, compression, testing, http-client
- domain: developer-tools, cross-platform, graphics
- platform: cross-platform, c, cpp
- tags: single-file, header-only, public-domain, c-cpp, stb-style, game-dev, no-dependencies, game-development, algorithms

## Member repositories
- mattiasgustavsson/libs (main) score 61

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:35.317770+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-30T02:40:16.424802+00:00, confidence not recorded.
  - readme: https://github.com/mattiasgustavsson/libs (fetched 2026-08-28T04:06:35.317770+00:00, sha a20c022199da)
- Data as of 2026-08-30T08:39:29.467469+00:00.
