# redis/hiredis

Minimalistic C client for Redis >= 1.2

Repository: https://github.com/redis/hiredis
Canonical: https://ross.abutalabs.com/products/hiredis
Language: C
License: BSD-3-Clause
License Family: permissive
Last push: 2026-08-20T11:17:49+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 96, longevity 100
- inputs: {"age_days": 5951, "days_push": 13, "days_rel": 27, "gap_med": 0, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6679, forks 1846 (observed 2026-08-28T04:09:47.588042+00:00)

## What it is
Hiredis is a minimalistic C client library for Redis, supporting the binary-safe RESP protocol for Redis >= 1.2. It provides synchronous, asynchronous, and reply-parsing APIs, with a decoupled stream parser reusable in higher-level language bindings.

## Use cases
- connect to redis from c
- send redis commands from a c application
- parse redis replies efficiently
- build redis bindings for another language
- use async redis client in c

## When to choose
- you need a lightweight, low-level Redis client in C or C++
- you are building language bindings for Redis and need an efficient reply parser
- you need synchronous or asynchronous Redis access with minimal dependencies

## When to avoid
- you want a high-level client with explicit methods for every Redis command
- you are working in a higher-level language with an official Redis client
- you need Redis features like clustering handled automatically out of the box

## Facets
- artifact type: library
- maturity: stable
- function: database-driver, parser, http-client
- domain: databases, developer-tools, backend
- platform: c, cpp, windows, cross-platform
- tags: redis, resp-protocol, c-client, async-api, reply-parsing, linux, macos

## Member repositories
- redis/hiredis (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:47.588042+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:43:00.574380+00:00, confidence not recorded.
  - readme: https://github.com/redis/hiredis (fetched 2026-08-28T04:09:47.588042+00:00, sha 1a0788895686)
- Data as of 2026-08-30T08:39:29.467469+00:00.
