C++ Asio

Open-source C++ projects categorized as Asio

Top 15 C++ Asio Projects

  • Boost.Beast

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

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

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

  • RESTinio

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

    Project mention: What are some fun project ideas with C++? | reddit.com/r/AskProgramming | 2023-03-26

    Here's a C++ REST framework for you to use too: https://github.com/Stiffstream/restinio

  • CodiumAI

    TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.

  • FlexASIO

    A flexible universal ASIO driver that uses the PortAudio sound I/O library. Supports WASAPI (shared and exclusive), KS, DirectSound and MME.

    Project mention: What’s your “That was the fix!?” To a persistent bug? | reddit.com/r/skyrimmods | 2023-04-25


  • restc-cpp

    Modern C++ REST Client library

    Project mention: REST APIs using C++. (Is this even done much?) | reddit.com/r/cpp | 2023-03-29

    Restc-cpp: Client library using asio stackfull coroutines. It also handles serialization to and from Json automatically if the C++ classes are declared with boost::fusion.

  • PhoneVR

    Use Steam VR-enabled applications with your phone as HMD (Head-mounted display). The only Open-Source solution to similar commercial packages like VRidge, iVRy, Trinus etc etc.

    Project mention: Bluetooth controller not recognized with VRG Pro, SteamVR and PhoneVR (Android) | reddit.com/r/virtualreality | 2023-01-29

    I recently purchased a VRG Pro and a Bluetooth controller to use with my Android device as a VR headset. I am having difficulty using the controller within VR using PhoneVR + SteamVR.

  • rotor

    Event loop friendly C++ actor micro-framework, supervisable

    Project mention: OpenMP on heterogenous CPUs | reddit.com/r/cpp | 2023-01-19

    If your architecture fits into inter-process messaging, i.e. spawn threads which do similar or different tasks and inform each other via messages, try to use actor framework, i.e. rotor (disclaimer: I'm the author). If there is a need to expand messaging even more, i.e. across the network, you can try to use caf, which provides that facility out of the box.

  • asio-grpc

    Asynchronous gRPC with Asio/unified executors

    Project mention: Generate gRPC source files using CMake | reddit.com/r/cpp | 2022-09-14

    Since I can never remember what arguments to pass to protobuf_generate to create Protobuf and gRPC source files, I wrote an article about it. It provides a copy-paste-able code snippet along with an explanation of all arguments that protobuf_generate accepts, how to format it nicely using cmake-format and how to make things easier with asio-grpc.

  • Sonar

    Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • ozo

    OZO is a C++17 Boost.Asio based header-only library for asyncronous communication with PostgreSQL DBMS.

    Project mention: Please could you recommend a C++ ORM for accessing open source databases such as PostgreSQL? | reddit.com/r/cpp_questions | 2022-08-03
  • mysql

    MySQL C++ client based on Boost.Asio (by boostorg)

    Project mention: Please could you recommend a C++ ORM for accessing open source databases such as PostgreSQL? | reddit.com/r/cpp_questions | 2022-08-03
  • bredis

    Boost::ASIO low-level redis client (connector)

    Project mention: Recommended redis client which integrates with boost::asio? | reddit.com/r/cpp_questions | 2022-07-28

    Cursory search suggests 2 possible options; cpp-bredis and redisclient.

  • redis

    An async redis client designed for performance and scalability (by boostorg)

    Project mention: Build Your Own Redis with C/C++ | news.ycombinator.com | 2023-03-18

    [2] https://github.com/boostorg/redis/issues/53

  • packio

    An asynchronous msgpack-RPC and JSON-RPC library built on top of Boost.Asio.

    Project mention: Asio is great if you’re building a library/application with non-Asio API. But building Asio APIs using async compositions is too messy. Anybody else agree ? | reddit.com/r/cpp | 2022-12-23

    That's not even helpful, as you usually read/write using composed ops and they will interleave anyway. To have an io object that's capable of correctly pipelining multiple concurrent write- or read-operations, you need a custom strand like this: https://github.com/qchateau/packio/blob/master/include/packio/internal/manual_strand.h

  • asiochan

    Go-like channels for ASIO C++20 coroutines

  • asyncgi

    An asynchronous FastCGI web microframework for C++

    Project mention: asyncgi - an asynchronous FastCGI web microframework for C++17 | reddit.com/r/cpp | 2022-08-25
  • BrilliantNetwork

    A C++20 header only library providing networking abstractions based on asio

    Project mention: Code review for project | reddit.com/r/cpp_questions | 2023-05-30

    Hi all, I am looking for a code review of my repo here https://github.com/dvd0bvb/BrilliantNetwork. It is a header only library wrapping asio sockets in easy to use client and server classes using (asio's abstractions of) c++ coroutines for async operations. It currently only builds on Linux as asio::experimental::coroutine is broken on windows last I checked. The library can detect if you are using standalone or boost.asio and I've added http/s classes using boost.beast if available and enabled.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

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-05-30.

C++ Asio related posts


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

Project Stars
1 Boost.Beast 3,796
2 RESTinio 978
3 FlexASIO 959
4 restc-cpp 541
5 PhoneVR 294
6 rotor 257
7 asio-grpc 224
8 ozo 201
9 mysql 189
10 bredis 144
11 redis 134
12 packio 84
13 asiochan 25
14 asyncgi 25
15 BrilliantNetwork 0
ONLYOFFICE Docs — document collaboration in your environment
Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises