qmetrics.net

Crow

Header-only C++ HTTP and WebSocket microframework

Crow screenshot

Crow is a C++ microframework for HTTP and WebSocket services with Flask-like routing, JSON helpers, and optional Mustache templating.

Overview

Crow helps developers build HTTP and WebSocket web services in C++. Routing follows patterns similar to Python Flask, with compile-time type checking for handlers. The framework can run as a header-only dependency, including a single-header distribution option.

Built-in features include JSON read and write support, Mustache-based templates through crow::mustache, middleware hooks, HTTP/1.1 and WebSocket handling, and multipart requests and responses. It targets modern C++11 and C++14 codebases, with async and HTTP/2 support listed as ongoing development goals.

Install paths mentioned on the project site include distribution packages for Linux and macOS, Windows via vcpkg, Conan, and a downloadable header bundle. A minimal program defines routes, sets a port, and runs the server from main.

CrowCpp/Crow continues development from the earlier ipkn/crow codebase under BSD-3-Clause terms, without affiliation to the original author.

Key features

  • Flask-style route definitions
  • Compile-time type-safe handlers
  • Built-in JSON support
  • Mustache templating module
  • Header-only deployment option
  • Middleware extension points
  • WebSocket and multipart support
  • HTTP/1.1 server core

Use cases

  • Embedded HTTP APIs in C++
  • WebSocket backend services
  • JSON microservices on Linux or Windows
  • Small standalone web servers
  • Teaching C++ web routing patterns

Tags

Similar software

FastAPI

Python web framework for building APIs with type hints

FastAPI is a Python web framework for building APIs using standard type hints. It builds on Starlette and Pydantic and generates interactive OpenAPI documentation for the endpoints you define.

★ 105.1k⟳ 9 days agoMIT

NestJS

Progressive TypeScript framework for Node.js backends

Nest organizes Node server apps with modules, dependency injection, and first-party packages for auth, data, queues, and observability.

★ 77.2k⟳ todayMIT

OkHttp

HTTP client for JVM, Android, and GraalVM

OkHttp is an HTTP client library tuned for efficient networking on Android, Java, and GraalVM native images. It offers synchronous and asynchronous call APIs with a fluent request builder.

★ 47.1k⟳ yesterdayApache-2.0
Frameworks & PlatformsDesktop/CLI app

gRPC

Cross-language remote procedure call framework

gRPC is an RPC framework that lets client and server programs communicate transparently and supports building connected, multi-language systems.

★ 45.5k⟳ todayApache-2.0

tRPC

End-to-end typesafe TypeScript APIs without code generation

tRPC helps teams define server procedures and call them from clients with full TypeScript types for inputs, outputs, and errors—no schemas or codegen step.

★ 40.9k⟳ todayMIT
Frameworks & PlatformsDesktop/CLI app

go-zero

Cloud-native Go microservices and RPC framework

go-zero is a Go web and RPC framework with code generation, built-in resilience middleware, and tooling aimed at stable high-traffic services.

★ 33.5k⟳ 9 days agoMIT