Open-source C++ projects categorized as HTTP

Top 23 C++ HTTP Projects

  • aria2

    aria2 is a lightweight multi-protocol & multi-source, cross platform download utility operated in command-line. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.

    Project mention: Bypass download limits? | /r/Piracy | 2023-12-09

    For sites with limited download speeds I usually use aria2 (via terminal) since it supports segmented/multi connection downloading. But I guess this wouldn't work with 1fichier, since with these sites you usually don't get direct link to the file and/or sites like these limit the number of parallel connections. I also used it for torrents for a while, but I wouldn't recommend doing this anymore.

  • µWebSockets

    Simple, secure & standards compliant web server for the most demanding of applications

    Project mention: I'm open-sourcing my game engine | news.ycombinator.com | 2023-12-19

    They use (uWebSockets)[https://github.com/uNetworking/uWebSockets], which was written in C++, but has an interface to use in NodeJS. It's been really performant for me in my simple tests compared to other popular websocket libs that slow down fairly quickly.

  • JetBrains Dev Survey

    What’s up with the C++ ecosystem in 2023? JetBrains Developer Ecosystem Survey 2023 has given us many interesting insights. The Embedded (37%) and Games (39%) industries are already working with C++20, developers are incorporating static analysis in their CI, and ChatGPT usage among coders is flourishing. Read on for more!

  • C++ Workflow

    C++ Parallel Computing and Asynchronous Networking Framework

  • cpp-httplib

    A C++ header-only HTTP/HTTPS server and client library

    Project mention: Experience using crow as web server | /r/cpp | 2023-11-06

    Alternatives at the low to medium level of abstraction include civetweb and mongoose, which have a common ancestor. Both of these appear to be C rather than C++, but seem to be production quality and well-documented. Another C library is cpp-httplib, which is probably too low-level for me.

  • drogon

    Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows

    Project mention: Experience using crow as web server | /r/cpp | 2023-11-06

    I looked at oatpp and drogon, which are both great, but feel too high-level for my purposes. I tried drogon and got something working, but it feels like too much for my requirements, as in particular I'd like to slot in my choice of Json and message-body handling. C.f. the simple approach in Crow, which I easily understand and build on.

  • Apache Thrift

    Apache Thrift

  • C++ REST SDK

    The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.

    Project mention: What is the industry standard today in C++ to deploy REST microservices in Kubernetes? | /r/cpp | 2023-09-06

    My favourite was Microsoft's cpprestsdk, but for some reason now is in maintenance mode, I don't know why, so it's hard to suggest it for new projects. A nice alternative is restc-cpp, that's has a good high-level interface, if this is what you want.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • uWebSockets.js

    μWebSockets for Node.js back-ends :metal:

    Project mention: Building Real-Time Next.js Apps with WebSockets and Soketi | dev.to | 2023-12-10

    If you have never heard of Soketi, to give you a brief overview, it is a WebSocket server that was built on top of uWebSockets.js and has great compatibility with Pusher Protocol.

  • cpr

    C++ Requests: Curl for People, a spiritual port of Python Requests.

    Project mention: What C++ library do you wish existed but hasn’t been created yet? | /r/cpp | 2023-07-08

    This one might fit the bill https://github.com/libcpr/cpr

  • Boost.Beast

    HTTP and WebSocket built on Boost.Asio in C++11

    Project mention: LLVM 16.0.0 Release | /r/cpp | 2023-03-19

    There is at least one notable exception to this rule: https://github.com/boostorg/beast/issues/1445

  • Crow

    A Fast and Easy to use microframework for the web. (by CrowCpp)

    Project mention: Experience using crow as web server | /r/cpp | 2023-11-06

    I'm investigating using C++ to build a REST server, and would love to know of people's experiences with Crow-- or whether they would recommend something else as a "medium-level" abstraction C++ web server. As background, I started off experimenting with Python/FastAPI, which is great, but there is too much friction to translate from pybind11-exported C++ objects to the format that FastAPI expects, and, of course, there are inherent performance limitations using Python, which could impact scaling up if the project were to be successful.

  • userver

    Production-ready C++ Asynchronous Framework with rich functionality

    Project mention: Rust vs Go/JVM: dev speed + safety in practice | /r/rust | 2023-06-25

    They recently open sourced internal framework: https://github.com/userver-framework/userver

  • Squid

    Squid Web Proxy Cache

    Project mention: squid proxy cache server without systemd built and ready to serve | /r/joborun | 2023-12-07
  • Restbed

    Corvusoft's Restbed framework brings asynchronous RESTful functionality to C++14 applications.

  • restclient-cpp

    C++ client for making HTTP/REST requests

    Project mention: What is the industry standard today in C++ to deploy REST microservices in Kubernetes? | /r/cpp | 2023-09-06

    Another good one is restclient-cpp.

  • CppServer

    Ultra fast and low latency asynchronous socket server & client C++ library with support TCP, SSL, UDP, HTTP, HTTPS, WebSocket protocols and 10K connections problem solution

  • RESTinio

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

    Project mention: What is the industry standard today in C++ to deploy REST microservices in Kubernetes? | /r/cpp | 2023-09-06

    In my past job, we used https://github.com/Stiffstream/restinio and absolutely loved it. It's not as active but it honestly didn't need much.

  • sshttp

    SSH/HTTP(S) multiplexer. Run a webserver and a sshd on the same port w/o changes.

  • libhttpserver

    C++ library for creating an embedded Rest HTTP server (and more)

    Project mention: Simple HTTP server using C++ | /r/Cplusplus | 2023-05-29

    Now I want to do this using C++. I came across libhttpserver. The documentation looks intuitive. I think once everything is properly setup I should be easily able to what I want.

  • UBoat

    HTTP Botnet

  • wfrest

    C++ Web Framework REST API

  • Tufão

    An asynchronous web framework for C++ built on top of Qt

  • IXWebSocket

    websocket and http client and server library, with TLS support and very few dependencies

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-12-19.

C++ HTTP related posts


What are some of the best open-source HTTP projects in C++? This list will help you:

Project Stars
1 aria2 32,965
2 µWebSockets 16,555
3 C++ Workflow 12,103
4 cpp-httplib 11,494
5 drogon 10,553
6 Apache Thrift 10,081
7 C++ REST SDK 7,739
8 uWebSockets.js 7,062
9 cpr 6,047
10 Boost.Beast 4,102
11 Crow 2,575
12 userver 2,152
13 Squid 1,886
14 Restbed 1,880
15 restclient-cpp 1,518
16 CppServer 1,282
17 RESTinio 1,091
18 sshttp 861
19 libhttpserver 836
20 UBoat 834
21 wfrest 772
22 Tufão 577
23 IXWebSocket 479
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.