No description
|
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
|
||
|---|---|---|
| examples | ||
| src | ||
| .clang-format | ||
| .dockerignore | ||
| .gitignore | ||
| .woodpecker.yaml | ||
| build.sh | ||
| CONFIG.md | ||
| Dockerfile | ||
| kuba.png | ||
| LICENSE | ||
| QUICKSTART.md | ||
| README.md | ||
kuba
A relatively light-weight web application written in C that programatically renders dynamic HTML using Umka.
Dependencies
- libumka (currently only supports any version starting from commit 3ee7fc0, which is the master branch as of writing).
- libmicrohttpd
Todo
- Basic Umka compiler
- Dynamically loading multiple Umka scripts.
- Reading route information (when should that specific Umka file be rendered?)
- HTTP server
- Simple (mostly PoC) implementation
- Virtual Hosts (separated handlers)
- TLS support*
- Modification of flags passed to MHD_start_daemon
- Dual-stack (IPv4 & IPv6), should be as simple as passing a flag to MHD.
- External plugins (possibly using dlsym & dlopen?) to open up support for e.g. a MySQL wrapper.
* not sure whether i'm even going to implement this.
Note
- Project has not been extensively tested and was "made 4 fun". Use at own risk.
- There are some unresolved memory leaks, and although they are pretty insignificant, they exist.
- Project is public domain (https://unlicense.org).
- Project is mostly inspired by kcgi/PHP
- Initially planned to use FastCGI, but pairing fcgi together with Umka caused unexplainable segfaults (tf?) so I went for a standalone HTTP server instead.