Mongoose
Crow
Our great sponsors
Mongoose | Crow | |
---|---|---|
32 | 8 | |
10,589 | 7,372 | |
2.2% | - | |
9.6 | 0.0 | |
4 days ago | about 1 year ago | |
C | C++ | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
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.
Mongoose
-
Coroutines in C
I've found myself at this webpage multiple times while trying to minimize the complexity of APIs in my C projects.
My conclusion for now is that C coroutines are something to be left to the implementer. For example: Mongoose (https://github.com/cesanta/mongoose) uses event callbacks to deal with asynchronousness. It is much more pleasant to wrap a library like this in whatever thread/task primitives your system has rather than try to integrate the mythical cross-platform c couroutine.
-
BCHS stack: BSD, C, httpd, SQLite
I remember using mongoose 15 years back. Today i would have considered mongoose(10k+ stars) which is also a mature c/c++ web server[1] if not the licence.
https://github.com/cesanta/mongoose/tree/master/examples
- New scalable, fault-tolerant, and efficient open-source MQTT broker
- Eu não tinha nada melhor pra fazer, aí comecei a escrever um servidor HTTP em C do zero usando winsock.
-
Experience using crow as web server
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.
-
libonion or libhttpserver for embedding a webserver in a small application?
Since this is only going to be used internally would Mongoose be worth considering?
-
Selling proprietary library
Here’s an example: https://mongoose.ws/
- [Cpp] Quelle bibliothèque de serveur Web C++ faut-il utiliser de nos jours ?
- How to serve exactly 1 HTML file and 1 JavaScript file, then exit the program?
-
What C source code or library do you use for a local server?
If you are looking for something simple there is mongoose from cesanta, https://github.com/cesanta/mongoose
Crow
-
VueJS goes to microcontroller firmware. This website runs in ESP32 board, with frontend is made with VueJS, TailwindCSS and backend is written in C++.
I did something similar in the past and used https://github.com/ipkn/crow as web server, in case you want to not implement the web part yourself. Otherwise amazing job!
- [Cpp] Quelle bibliothèque de serveur Web C++ faut-il utiliser de nos jours ?
-
C++ to Browser JS Framework Recommendations
Open socket, serve a html page, implement GET/PUT or find framework that do https://github.com/ipkn/crow
-
C++ Best Uses
A web server e.g. https://github.com/ipkn/crow
-
RESTful API framework
It seems nice, but the framework seems to be dead. There are still open pull requests and the contribution page speaks for itself: https://github.com/ipkn/crow/graphs/contributors
-
C++ vs C# .net 5
All right Op feel free to check this micro framework out if your company is going to build a rest api in C++ https://github.com/ipkn/crow .
-
cpprestsdk in maintenance mode
I haven't used any of the following libraries/frameworks but maybe some of them will fit for your needs: - Crow micro web framework
-
How to use C++ as backend
https://github.com/fffaraz/awesome-cpp#web-application-framework Crow is nice for what i need most often, https://github.com/ipkn/crow
What are some alternatives?
libwebsockets - canonical libwebsockets.org networking library
Oat++ - 🌱Light and powerful C++ web framework for highly scalable and resource-efficient web application. It's zero-dependency and easy-portable.
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.
drogon - Drogon: A C++14/17 based HTTP web application framework running on Linux/macOS/Unix/Windows [Moved to: https://github.com/drogonframework/drogon]
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, TFTP, WS and WSS. libcurl offers a myriad of powerful features
Pistache - A high-performance REST toolkit written in C++
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.
Wt - Wt, C++ Web Toolkit
µWebSockets - Simple, secure & standards compliant web server for the most demanding of applications
TreeFrog Framework - TreeFrog Framework : High-speed C++ MVC Framework for Web Application
SteamVR-for-Linux - Issue tracker for the Linux port of SteamVR
CppCMS - CppCMS Framework