xHTTP
Mongoose


xHTTP | Mongoose | |
---|---|---|
4 | 33 | |
156 | 11,393 | |
1.3% | 1.1% | |
4.2 | 9.5 | |
6 months ago | 6 days ago | |
C | C | |
MIT License | GNU General Public License v3.0 or later |
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.
xHTTP
-
Kindly review this C QuickJS HTTP streaming Web server module
If you want to make it better but aren't interest in that much programming, you may be interested in super minimal http servers like httpserver.h or xhttp (I wrote this!) which match exactly this use case.
-
Can you rate my skills?
Just today it occurred to me that I could ask you guys!! Can you rate my skills as a programmer? I'd love to have your opinions. I have some of my favourite projects on github. The more noteworthy are: * Noja, an interpreter for a simple programming language I designed * xHTTP, an HTTP 1.1 web server library in a single c file * c2html, a tool to generate an html syntax highlighted version of C code
- XHTTP: An HTTP server library in a single C file
-
I'm writing an HTTP server in C, but now I have some questions...
Also, if any of you have any feedback or questions, i'd be happy to have a discussion! The repository is hosted on GitHub.
Mongoose
-
Sans-IO: The secret to effective Rust for network services
A long time ago I had "fun" implementing all sorts of network protocols with such an event based library on C: https://github.com/cesanta/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 are some alternatives?
libmicrohttpd - Mirror from SVN of GNU libmicrohttpd
libwebsockets - canonical libwebsockets.org networking library
Noja - A programming language written for fun!
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
webserver-c - A simple HTTP webserver written in C.
cpp-httplib - A C++ header-only HTTP/HTTPS server and client library
quickwebserver - Implementation of HTTP web server in the QuickJS Runtime
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.
c2html - Tool to add HTML syntax highlighting to C code snippets.
µWebSockets - Simple, secure & standards compliant web server for the most demanding of applications
httpserver.h - Single header library for writing non-blocking HTTP servers in C

