C++ Websockets

Open-source C++ projects categorized as Websockets | Edit details

Top 16 C++ Websocket Projects

  • GitHub repo µWebSockets

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

    Project mention: Book recommendations for Backend development concepts for a beginner | reddit.com/r/developersIndia | 2021-11-29

    AFAIK, Websockets are built on HTTP. Have a look at https://github.com/uNetworking/uWebSockets.

  • GitHub repo 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: Web services in C++ | reddit.com/r/developersIndia | 2021-09-24

    Assuming you want to make a REST API check this out: https://github.com/Microsoft/cpprestsdk

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo uWebSockets.js

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

    Project mention: Same algorithm is much faster in node.js than in Golang. Why? | reddit.com/r/golang | 2021-11-19

    Calling out to much lower level code is also really simple in Node. (Go obviously has the bindings here too) but it’s how libraries like uWebSockets.js beat the pants off of any other Go websocket libraries.

  • GitHub repo Boost.Beast

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

    Project mention: Suggestions for a minimal and simple http client library? | reddit.com/r/cpp_questions | 2021-11-02

    Boost Beast?

  • GitHub repo pushpin

    Proxy server for adding push to your API

    Project mention: Show HN: Pushpin – a proxy server for adding push to your API | news.ycombinator.com | 2021-08-13
  • GitHub repo arduinoWebSockets


    Project mention: https://np.reddit.com/r/esp8266/comments/piwwzp/fauxmo_esp8266_possibility_to_send_commands_over/hbspbpj/ | reddit.com/r/backtickbot | 2021-09-06

    #include #include /* for time server: https://github.com/arduino-libraries/NTPClient */ #include /* for alexa */ #include /* for OTA */ #include /* for OTA and timeserver */ #include /* for OTA */ #include /* for Alexa: https://github.com/me-no-dev/ESPAsyncWebServer*/ #include "fauxmoESP.h" /* for alexa */ #include "credentials.h" /* Has the config for the wifi */ #include /* for the debug output via sockets: https://github.com/Links2004/arduinoWebSockets */ fauxmoESP fauxmo; AsyncWebServer server(80); WebSocketsServer webSocket = WebSocketsServer(81); //ws debugger will run on port 81

  • GitHub repo 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: Modern C++ Web API (Back-End Development) | reddit.com/r/cpp | 2021-11-15
  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • GitHub repo Seasocks

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

  • GitHub repo ArduinoWebsockets

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

    Project mention: [Question] Send real-time accelerometer readings to Raspberry pi | reddit.com/r/esp8266 | 2021-06-30

    Esp side: https://github.com/gilmaimon/ArduinoWebsockets

  • GitHub repo IXWebSocket

    websocket and http client and server library, coming with ws, a command line swiss army knife utility

    Project mention: Where to find Cpp Backend with websocket JSON examples? | reddit.com/r/cpp_questions | 2021-05-27

    If you're looking for a simple websocket lib with minimal dependencies, https://github.com/machinezone/IXWebSocket might be a good choice. It doesn't need Boost or ASIO (most other websocket libs do), TLS and ZLIB are optional.

  • GitHub repo openwebtorrent-tracker

    Fast and simple Webtorrent tracker implementation in C++

    Project mention: aquatic BitTorrent tracker: WebTorrent support (1.8M responses/second); new UDP benchmarks (650k rps) | reddit.com/r/rust | 2021-08-23

    I did some benchmarks with my load testing tool and got very encouraging results: 1.8M tracker responses per second when using 14 threads, compared to a maximum of 117k responses per second for closest competitor wt-tracker. I suspect that the openwebtorrent tracker would be a lot closer in performance to aquatic, but since it only runs over TLS, I couldn’t test it, as the load tester doesn’t support it. More info on the benchmark (PDF).

  • GitHub repo packio

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

  • GitHub repo WebSocket

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

    Project mention: Is Asio the best library for networking in C++? | reddit.com/r/cpp | 2021-02-23

    Yeah the WebSocket library in Qt is an abomination. I had to roll my own. Here is my WebSocket library that uses Qt properly, better than the Qt one does: https://github.com/cculianu/WebSocket

  • GitHub repo btc-ticker-esp8266

    realtime bitcoin price on 7 segment display with arduino on esp8266

    Project mention: 8266 w/ MAX7212 Bitcoin Ticker Help | reddit.com/r/esp8266 | 2021-02-21

    For future me - If you're looking for a quick, real time, working 8266 + max7219 display. https://github.com/nebman/btc-ticker-esp8266

  • GitHub repo Arduino_BabyMonitor

    A sound sensing system using NodeMCUs and Websockets

    Project mention: Sound level sensor | reddit.com/r/esp8266 | 2021-12-03
  • GitHub repo simple_web_game_server

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

    Project mention: Krynth.io - a one-on-one deduction game | reddit.com/r/IoGames | 2021-04-28

    Also, if anyone is interested, I wrote the back-end library used for the matchmaking and game servers and it is available on GitHub.

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 2021-12-03.

C++ Websockets related posts


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

Project Stars
1 µWebSockets 13,471
2 C++ REST SDK 6,657
3 uWebSockets.js 4,632
4 Boost.Beast 3,265
5 pushpin 3,058
6 arduinoWebSockets 1,454
7 RESTinio 816
8 Seasocks 567
9 ArduinoWebsockets 288
10 IXWebSocket 273
11 openwebtorrent-tracker 55
12 packio 40
13 WebSocket 22
14 btc-ticker-esp8266 17
15 Arduino_BabyMonitor 4
16 simple_web_game_server 3
Find remote jobs at our new job board 99remotejobs.com. There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.