⬢github C · 37 ★ +24 since we first saw it · pushed 17 d ago · Apache-2.0
ClickHouse/clickhouse-c
minimalist header-only library for embedded contexts
clickhouse-c is a minimalist, header-only C library for speaking ClickHouse's native binary protocol. A single core header decodes Native-format blocks from any caller-supplied I/O backend, with optional headers adding TCP client, compression, and codec support. It's designed for embedding (e.g., inside PostgreSQL extensions using palloc/longjmp) but works standalone with no dependencies beyond libc.
Why now: It was recently discussed on Hacker News for letting C programs talk to ClickHouse via its native binary protocol with a drop-in single-header design.
Who it is for: C developers embedding ClickHouse access into applications, tools, or PostgreSQL extensions.
Stars over our 87 snapshots: 13 to 37, since 22 h ago.
Where people talked about it
API: https://socialmediatrends-api.osmike.com/v1/repos/ClickHouse/clickhouse-c