C++ Websockets

Open-source C++ projects categorized as Websockets

Top 18 C++ Websocket Projects

  • µWebSockets

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

    Project mention: Nuklear – A single-header ANSI C immediate mode cross-platform GUI library | news.ycombinator.com | 2022-12-23

    Not exaclty -- it looks like it's pretty overkill for my needs

    I'm looking for something more like websocketpp[0], or even just grpc without a requisite proxy. uWebsockets looks really promising, being header only, but in the fine print requires a runtime library. unfortunately, none of that ecosystem seems to use cmake, making integrating it that much more of a pain.

    why use cpp for this, I'm sure some HNer will ask. the ray tracer itself is using cuda, that's why. I've also debated

    - running it as a grpc server and having some proxy in a more web-accessible language

    - creating python bindings and using python to make a websocket/http server for it

    neither of those are out of the question, but they're not my first choices, because I'd like to keep the build & execution simple. introducing dependencies, especially other executables, is in conflict with that.

    i don't need anything particularly scalable -- a threaded implementation, or one using select() would be fine, if not preferable.

    [0] https://docs.websocketpp.org/

    [1] https://github.com/uNetworking/uWebSockets

  • 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: C++ REST API Framework | reddit.com/r/cpp_questions | 2022-11-26
  • 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.

  • uWebSockets.js

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

    Project mention: Millions of Active WebSockets with Node.js | news.ycombinator.com | 2023-02-20
  • 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

  • pushpin

    Proxy server for adding push to your API

    Project mention: Help !!! websocket and sveltekit | reddit.com/r/sveltejs | 2023-02-23
  • arduinoWebSockets

    arduinoWebSockets

    Project mention: error during Arduino compiling for esp8266 for Roller Blind project | reddit.com/r/esp8266 | 2023-03-11

    in my WebSocketsServer library folder, i have these files downloaded from https://github.com/Links2004/arduinoWebSockets

  • 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 code/project you saw was both inspiring and maintainable? | reddit.com/r/cpp | 2022-11-01
  • 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.

  • Seasocks

    Simple, small, C++ embeddable webserver with WebSockets support

  • IXWebSocket

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

    Project mention: Request for a websocket library | reddit.com/r/cpp | 2022-03-25
  • ArduinoWebsockets

    A library for writing modern websockets applications with Arduino (ESP8266 and ESP32) (by gilmaimon)

    Project mention: esp8266 websocket client will not connect no matter what | reddit.com/r/esp8266 | 2022-06-21
  • imgui-ws

    Dear ImGui over WebSockets

    Project mention: Options for a frontend of demo for a toy app | reddit.com/r/haskell | 2022-06-13

    We have Haskell bindings for dear-imgui - https://hackage.haskell.org/package/dear-imgui. dear-imgui is basically the same thing as egui. I mention this because dear-imgui also has an extension that streams an application over websockets - https://github.com/ggerganov/imgui-ws. If we had Haskell bindings to this, then you'd be able to do exactly what is on the egui.rs website.

  • 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

  • openwebtorrent-tracker

    Fast and simple Webtorrent tracker implementation in C++

    Project mention: aquatic_ws (WebTorrent tracker) rewritten with glommio, achieves up to 1.6 million responses a second in load tests | reddit.com/r/rust | 2022-04-06

    openwebtorrent-tracker (C++, single-threaded) reached 9 thousand responses a second

  • ESP32-http-websocket

    ESP32 + HTTP server + websockets + Bootstrap + Husarnet. A simple project template showing how to use those technologies to create a fast, pretty and secure web UI hosted on ESP32. Works in LAN and over the internet. Written using Arduino framework.

  • WebSocket

    A lightweight RFC 6455 (Web Socket) implementation for Qt5 & Qt6 (C++) (by cculianu)

  • btc-ticker-esp8266

    realtime bitcoin price on 7 segment display with arduino on esp8266

  • Arduino_BabyMonitor

    A sound sensing system using NodeMCUs and Websockets

  • simple_web_game_server

    A C++ library for creating authenticated scalable backends for multiplayer web games.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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-03-19.

C++ Websockets related posts

Index

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

Project Stars
1 µWebSockets 15,257
2 C++ REST SDK 7,278
3 uWebSockets.js 5,924
4 Boost.Beast 3,712
5 pushpin 3,210
6 arduinoWebSockets 1,653
7 RESTinio 946
8 Seasocks 641
9 IXWebSocket 390
10 ArduinoWebsockets 354
11 imgui-ws 349
12 packio 74
13 openwebtorrent-tracker 64
14 ESP32-http-websocket 50
15 WebSocket 27
16 btc-ticker-esp8266 18
17 Arduino_BabyMonitor 9
18 simple_web_game_server 2
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com