# qicosmos/cinatra

C++20 实现的跨平台、header only，易用的高性能http库; modern c++(c++20), cross-platform, header-only, easy to use http framework

Repository: https://github.com/qicosmos/cinatra
Canonical: https://ross.abutalabs.com/products/cinatra
Language: C++
License: MIT
License Family: permissive
Last push: 2026-08-08T02:26:13+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 96, release rhythm 69, longevity 100
- inputs: {"age_days": 3139, "days_push": 26, "days_rel": 127, "gap_med": 32.5, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2176, forks 392 (observed 2026-08-28T04:06:22.200381+00:00)

## What it is
Cinatra is a cross-platform, header-only, high-performance HTTP framework written in modern C++20, supporting HTTP 1.0/1.1, SSL, and WebSocket. It provides both a coroutine-based HTTP server and an HTTP(S) client with features like file upload/download, redirects, and proxy support.

## Use cases
- build a high-performance http server in c++
- create a file upload and download server
- make http requests from c++ with a coroutine-based client
- build a websocket or real-time message push server
- develop a rest api backend in modern c++
- build an https server with ssl support

## When to choose
- you need a header-only, dependency-light C++ HTTP framework
- you want C++20 coroutine-based async networking without callbacks
- you need top-tier HTTP server performance in C++
- you need cross-platform support (Linux, macOS, Windows)

## When to avoid
- your toolchain does not support C++20 coroutines
- you need a full-featured web framework with templating, ORM, and middleware ecosystems
- you prefer a non-header-only library with separate binaries

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, http-server, http-client, websocket, file-upload, routing
- domain: web-development, backend, apis, developer-tools
- platform: windows, cpp, cross-platform
- tags: header-only, cpp20, coroutines, high-performance, ssl, http-framework, linux, macos

## Member repositories
- qicosmos/cinatra (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:22.200381+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-30T02:48:53.267511+00:00, confidence not recorded.
  - readme: https://github.com/qicosmos/cinatra (fetched 2026-08-28T04:06:22.200381+00:00, sha 4b7ca89e48ea)
- Data as of 2026-08-30T08:39:29.467469+00:00.
