kcgi
Mongoose
kcgi | Mongoose | |
---|---|---|
4 | 32 | |
268 | 10,602 | |
- | 1.2% | |
8.1 | 9.6 | |
about 1 month ago | 6 days ago | |
C | C | |
ISC 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.
kcgi
-
Newbie here, is it possible to use c for website backend ? And what framework?
You can use KCGI to use C or C++ as a FastCGI backend.
-
New embedded programming language with C as a host language
I like the premise of embedded generating inline c. Kinda like php for c, rather than html
I'm not sure of custom BNF per generating command. I notice they're mostly order independent, which makes it a little easier to learn, but what's the advantage over c syntax? Is it roughly that pointers etc are impossible. Maybe a c-esque syntax would be more learnable
How does the existing syntax compose, i.e. can the user run away with writing tcl-style scripts
If you don't get a lot of feedback, I would guess it is inpart due to custom syntax being an entry barrier to understanding
I don't know, I think html is easy, so people want power with php. On the other hand c is powerful and hard, by the time I'm using that, does Vely's custom syntax give me more than a set of convenient c library calls... such as https://kristaps.bsd.lv/kcgi/
In any case, I like the apis, and I think the premise has legs
-
Seriously, why is everyone doing the same thing nowadays?
It's not that hard, I use kcgi.
-
BCHS: OpenBSD, C, httpd and SQLite web stack
The C library used (https://github.com/kristapsdz/kcgi) is portable and working on linux as well. Putting this behind nginx as fastcgi seems very well doable.
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
What are some alternatives?
awesome-c - A curated list of awesome C frameworks, libraries, resources and other shiny things. Inspired by all the other awesome-... projects out there.
libwebsockets - canonical libwebsockets.org networking library
bdwgc - The Boehm-Demers-Weiser conservative C/C++ Garbage Collector (bdwgc, also known as bdw-gc, boehm-gc, libgc)
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.
nimOnAVR - Nim language test program for Arduino UNO/Nano or its compatibles
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
SDS - Simple Dynamic Strings library for 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.
svd2nim - Convert CMSIS ARM SVD files to nim register memory mappings
µWebSockets - Simple, secure & standards compliant web server for the most demanding of applications
Git - Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.
SteamVR-for-Linux - Issue tracker for the Linux port of SteamVR