# savoirfairelinux/opendht

OpenDHT: a C++17 Distributed Hash Table implementation

Repository: https://github.com/savoirfairelinux/opendht
Canonical: https://ross.abutalabs.com/products/opendht
Language: C++
License: MIT
License Family: permissive
Last push: 2026-09-03T01:16:52+00:00

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

## Adoption (not part of the score)
Stars 1143, forks 191 (observed 2026-09-03T02:15:17.663021+00:00)

## What it is
OpenDHT is a lightweight C++17 distributed hash table (DHT) library providing an easy-to-use distributed in-memory data store with redundancy, data signing, and encryption via GnuTLS. It includes bindings for C, Rust, and Python 3, plus a REST API and CLI tools like dhtnode.

## Use cases
- build a peer-to-peer distributed key-value store
- run a DHT node on a public network
- store and retrieve signed or encrypted values across a distributed network
- add decentralized data storage to a C++ or Python application
- bootstrap a lightweight P2P network for IoT or messaging apps

## When to choose
- you need a lightweight, scalable distributed hash table with C++17 or Python bindings
- you want built-in public key cryptography for signed/encrypted distributed data
- you need IPv4 and IPv6 support with resilience to network disruption
- you're building peer-to-peer applications like messaging or decentralized storage

## When to avoid
- you need persistent on-disk storage rather than an in-memory distributed store
- you want a managed or centralized database with strong consistency guarantees
- you need a full-featured DHT with extensive tooling outside the C++ ecosystem

## Facets
- artifact type: library
- maturity: active
- function: p2p, cryptography, networking, cli, http-server, http-client
- domain: microservices, networking, security, developer-tools
- platform: windows, cpp, python, rust, c, cross-platform
- tags: distributed-hash-table, dht, peer-to-peer, gnutls, rest-api, jami, linux, macos

## Member repositories
- savoirfairelinux/opendht (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:17.663021+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:35:24.928701+00:00, confidence not recorded.
  - readme: https://github.com/savoirfairelinux/opendht (fetched 2026-09-03T02:15:17.663021+00:00, sha 2fab0fcc7319)
- Data as of 2026-08-30T08:39:29.467469+00:00.
