# Stiffstream/restinio

Cross-platform, efficient, customizable, and robust asynchronous HTTP(S)/WebSocket server C++ library with the right balance between performance and ease of use

Repository: https://github.com/Stiffstream/restinio
Canonical: https://ross.abutalabs.com/products/restinio
Language: C++
License: NOASSERTION
License Family: other
Topics: cpp, cplusplus, http-server, websockets, linux, windows, tls-support, asio, library, http, https, rest
Last push: 2026-04-02T06:14:56+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 75, release rhythm 65, longevity 100
- inputs: {"age_days": 3173, "days_push": 153, "days_rel": 153, "gap_med": 52.0, "n_releases_24m": 9}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1302, forks 116 (observed 2026-08-28T04:04:18.242373+00:00)

## What it is
RESTinio is a C++17 header-only library providing an embedded asynchronous HTTP(S)/WebSocket server built on standalone ASIO. It offers ExpressJS-like routing, middleware chaining, TLS, compression, and HTTP pipelining with a balance of performance and ease of use.

## Use cases
- embed an http server in a c++ application
- build a rest api in c++
- add websocket support to a c++ backend
- serve https with tls in a lightweight c++ server
- handle async http requests with pipelining
- implement express-style routing in c++

## When to choose
- you need an embedded, high-performance async HTTP/WebSocket server in C++
- you want ExpressJS-like routing and middleware in a C++17 codebase
- you need TLS, compression, and sendfile support without running a separate web server

## When to avoid
- you need a full-featured standalone web server with static config and process management
- your project is not C++ or cannot use ASIO
- you want a batteries-included framework with ORM, templating, and auth out of the box

## Facets
- artifact type: library
- maturity: stable
- function: http-server, websocket, routing, middleware, http-client
- domain: web-development, backend, apis
- platform: windows, cpp, cross-platform
- tags: header-only, asio, rest, tls, async, embedded-server, linux, macos

## Member repositories
- Stiffstream/restinio (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:18.242373+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-30T04:51:15.904243+00:00, confidence not recorded.
  - readme: https://github.com/Stiffstream/restinio (fetched 2026-08-28T04:04:18.242373+00:00, sha 550d6fa63244)
- Data as of 2026-08-30T08:39:29.467469+00:00.
