|12 days ago||5 days ago|
|MIT License||Boost Software License 1.0|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Should C++ adopt a standard matrix container?
4 projects | reddit.com/r/cpp | 20 Dec 2021
adding in one slightly larger lib (sockets+a protocol, eg https://github.com/yhirose/cpp-httplib/), or multiple smaller libs that work together (boost) makes little difference. zero dependencies would make a difference -- one and two do not.
Crow finally gets rid of `CROW_MAIN` macro
3 projects | reddit.com/r/cpp | 24 Nov 2021
I went with cpp-httplib instead, also partially because it lets me seperate the cpp from the h header only library (I despise this trend of header only libraries blowing up compile times). But now that crowcpp is getting new manpower behind it, I will seriously consider it, partially because handles url arguments better.
Modern C++ Web API (Back-End Development)
4 projects | reddit.com/r/cpp | 15 Nov 2021
https://github.com/yhirose/cpp-httplib is a decent lightweight project to abstract away the raw network communication. You can use express-like URL handling and it's pretty flexible to allow you to build your Web API using it.
Trying to make https requests in c++
1 project | reddit.com/r/cpp_questions | 13 Oct 2021
So I am trying to make a little homescreen app that displays date, time, weather, etc. I'm working on the weather component right now and I'm trying to do it through an api call to the national weather service's api. I found this library for making http requests in C++ and im having some trouble with it. Im making the request with these two lines in my code
I feel stupid for asking this but...how does C++ become Spotify, YouTube, Amazon, etc.
2 projects | reddit.com/r/cpp_questions | 12 Oct 2021
RESTful API framework
3 projects | reddit.com/r/cpp_questions | 5 Oct 2021
Web services in C++
2 projects | reddit.com/r/cpp_questions | 24 Sep 2021
cpp-httplib (https://github.com/yhirose/cpp-httplib) is quick and easy for basic web services
What to do after doing console applications for a while
1 project | reddit.com/r/Cplusplus | 15 Sep 2021
You could try writing a REST API with something like https://github.com/yhirose/cpp-httplib. Try to make something useful you can interact with somehow.
Trying to make a Webserver, any suggestions?
3 projects | reddit.com/r/cpp | 9 Sep 2021
I use httplib. It’s fast, easy to integrate (either header only or header+cpp if you want), easy to use (HTTPS web server with a route in ~10 lines). Header parsing is very easy too.3 projects | reddit.com/r/cpp | 9 Sep 2021
Thanks for your input. For instance, when I try running this server https://github.com/yhirose/cpp-httplib/blob/master/example/server.cc
Suggestions for a minimal and simple http client library?
2 projects | reddit.com/r/cpp_questions | 2 Nov 2021
tuplet: A Lightweight Tuple Library for Modern C++
6 projects | reddit.com/r/cpp | 28 Sep 2021
What are some commonly used or underrated features provided by the Boost library that haven't been yet adopted by the STL?
2 projects | reddit.com/r/cpp | 20 Sep 2021
ASIO Updated in Boost 1.77: Holy Schitte, the NEW FEATURES !!!
1 project | reddit.com/r/cpp | 13 Aug 2021
And Chris wrote this example, which is faster than any of my other examples: https://github.com/boostorg/beast/tree/21cd552399aa8167ed53c21a74f3711c2c316d2f/example/http/server/fast
CMake Part 1 – The Dark Arts
2 projects | news.ycombinator.com | 10 Jul 2021
cmake -h. -Bbuild && cmake --build build
to work about 90% of the time. Far more luck than I've had with autotools.
> Its code is horrifying too, for example:
1) I'm sure I could find some horriffic code in meson too if I went digging. 2) The alternative to this is you having to write something equivalent in your own code, meaning that in my code I don't need to do stuff like  in my code to detect features; my build system handles it for me. 3) CMake supports more platforms and targets than I've ever seen in my life, and likely supports more compilers than are necessary. that's a blessing and a curse, but it means that if I write simple program to run on some crufty microcontroller with a bastardised gcc toolchain from the 90s, it's fairly likely that cmake supports it out of the box. Code like that is the price to pay for that level of support.
cpprestsdk in maintenance mode
17 projects | reddit.com/r/cpp | 8 Jun 2021
If you need an embedded C++ HTTP server then there are plenty of libraries/frameworks (in random order): Crow, RESTinio, Boost.Beast, cpp-httplib, http_backend, Pistache, RestBed, served, proxygen, Simple-Web-Server, drogon, oat++.
Building HTTP Service in C++ (Using Modern Tools)
1 project | dev.to | 5 Dec 2020
The HTTP service and is mostly based on this particular example from Boost Beast library. I modified it, replacing plaintext responses with json, and adding Boost Log library.
What are some alternatives?
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.
libcurl - A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP. libcurl offers a myriad of powerful features
POCO - The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
WebSocket++ - C++ websocket client/server library
µWebSockets - Simple, secure & standards compliant web server for the most demanding of applications
libwebsockets - canonical libwebsockets.org networking library
cpp-netlib - The C++ Network Library Project -- cross-platform, standards compliant networking library.
RESTinio - Cross-platform, efficient, customizable, and robust asynchronous HTTP/WebSocket server C++14 library with the right balance between performance and ease of use
Proxygen - A collection of C++ HTTP libraries including an easy to use HTTP server.
nghttp2 - nghttp2 - HTTP/2 C Library and tools
Restbed - Corvusoft's Restbed framework brings asynchronous RESTful functionality to C++14 applications.