# aklomp/base64

Fast Base64 stream encoder/decoder in C99, with SIMD acceleration

Repository: https://github.com/aklomp/base64
Canonical: https://ross.abutalabs.com/products/base64
Language: C
License: BSD-2-Clause
License Family: permissive
Last push: 2026-07-13T22:16:08+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 92, release rhythm 8, longevity 100
- inputs: {"age_days": 4726, "days_push": 51, "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 1019, forks 178 (observed 2026-08-28T04:03:15.189902+00:00)

## What it is
A fast Base64 stream encoder/decoder library written in C99 with SIMD acceleration (AVX2, AVX512, NEON, SSE) and optional OpenMP support. It provides streaming and length-delimited string APIs, is threadsafe, and performs runtime CPU feature detection on x86.

## Use cases
- encode and decode base64 data at high speed in C
- base64 encode large streams of data efficiently
- SIMD-accelerated base64 for x86 and ARM
- embed a fast base64 codec in a C or C++ project
- parallel base64 encoding with OpenMP
- base64 encoding without dynamic memory allocation

## When to choose
- you need maximum base64 throughput in C/C++
- you process large volumes of base64 data on x86 or ARM
- you need a threadsafe, allocation-free, pedantic C99 library

## When to avoid
- you just need occasional base64 in a high-level language with built-in support
- you need a command-line base64 utility rather than a library
- you need other encodings like base32 or base85

## Facets
- artifact type: library
- maturity: active
- function: serialization, compression
- domain: developer-tools, performance, files
- platform: windows, cpp, c
- tags: base64, simd, c99, encoding, decoding, openmp, streaming, linux, macos

## Member repositories
- aklomp/base64 (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:15.189902+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-30T07:09:21.514873+00:00, confidence not recorded.
  - readme: https://github.com/aklomp/base64 (fetched 2026-08-28T04:03:15.189902+00:00, sha 7e0aae9c3cbc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
