single-header
sion
A single-header, cross-platform C++ library for making asynchronous HTTP(s) Requests.
- 108
- C++
- MIT
- 4 y ago
arena-allocator
Super small, simple, and (almost) completely C89-compliant single-header arena "allocator".
- 147
- C
- Apache-2.0
- 7 mo ago
minivorbis
Single-file port of libogg and libvorbis for decoding ogg sound files.
- 93
- C
- BSD-3-Clause
- 4 y ago
miniphysfs
Single-file port of PhysFS, a library that provides abstract access to various archives.
- 73
- C
- 6 y ago
small_vector
"Small Vector" optimization for Modern C++: store up to a small number of items on the stack
- 35
- C++
- 6 y ago
llm-stream
Single-header C++17 client for streaming OpenAI and Anthropic chat responses token by token over SSE, with per-token callbacks and tokens-per-second stats. Only needs libcurl.
- 4
- C++
- MIT
- 2 d ago
llm-vision
Single-header C++17 client for vision LLMs: send local images (base64) or URLs with a prompt to OpenAI or Anthropic and get the answer back, blocking or streamed. Only needs libcurl.
- 2
- C++
- MIT
- 2 d ago
llm-trace
Single-header C++17 tracing for LLM pipelines: RAII spans with parent/child nesting, model, token and cost attributes, a one-line macro, and text or OTLP-style JSON export. No dependencies.
- 2
- C++
- MIT
- 2 d ago
llm-router
Single-header C++17 prompt router: scores prompt complexity locally and picks a model by cost, latency, quality, balanced or budget strategy, with optional learning from outcomes. Offline, no dependencies.
- 2
- C++
- MIT
- 2 d ago
llm-rank
Single-header C++17 reranker for search and RAG: offline BM25 plus keyword scoring, LLM relevance scoring via OpenAI, and a hybrid mode that shortlists locally before paying for the model. Needs libcurl.
- 2
- C++
- MIT
- 2 d ago
llm-rag
Single-header C++17 retrieval-augmented generation: chunk documents, embed them with OpenAI, persist a local vector index, retrieve top-k by cosine similarity and answer with a chat model. Only needs libcurl.
- 2
- C++
- MIT
- 2 d ago
llm-parse
Single-header C++17 document cleaner for LLM pipelines: strip HTML and markdown, extract links, headings and code blocks, normalise text and split it into overlapping chunks. Offline, no dependencies.
- 2
- C++
- MIT
- 2 d ago









