Beaker
Beaker is a lightweight web framework written in C, designed for building simple and efficient web applications. It currently provides handling HTTP requests, routing, serving static files, rendering HTML templates and managing cookies.
Usage
Look at the files in examples for usage
Installation
$ git clone https://git.bwaaa.monster/beaker
$ cd beaker
# make install
On macOS the default install prefix is /usr/local/, because /usr/lib is protected by System Integrity Protection.
The install step produces libbeaker.dylib and removes any stale libbeaker.so from older installs.
You can always override the destination:
$ make install INSTALL_PREFIX=/some/prefix/
Roadmap
- Handle different types of POST requests
- Write documentation
- Add more robust logging
- Write more examples
