Fork me on GitHub balde

balde

A microframework for C based on GLib and bad intentions.

balde is easy...

#include <balde.h>
 
balde_response_t*
hello(balde_app_t *app, balde_request_t *request)
{
    return balde_make_response("Hello World! I'm the balde! :D");
}
 
int
main(int argc, char **argv)
{
    balde_app_t *app = balde_app_init();
    balde_app_add_url_rule(app, "hello", "/", BALDE_HTTP_GET,
        hello);
    balde_app_run(app);
    balde_app_free(app);
    return 0;
}

balde is fast

It is designed to be fast, simple, and memory efficient. Most of its architecture is based on other microframeworks, like Flask, and it can run on any web server that supports SCGI and/or FastCGI.

With balde you can serve hundreds of requests per second with a minimal memory footprint and all the performance features provided by SCGI and FastCGI.

Features

Online tests

All the code pushed to our Github repository is tested by Semaphore, and the results can be seen here:

Build Status

Contribute

The balde project is a work in progress. If you are interested in help on its development you can fork our GitHub repository here and submit a pull-request with your modifications.

License

balde is free software, released under the LGPL 2.1 license.