Ulfius is a web framework to build REST APIs, webservices or any HTTP endpoint in C language.
It can stream large amounts of data, integrate JSON data with Jansson, and create websocket services.
This is free and open source software.
Key Features
- Create web applications in C programs with a small memory footprint, as in embedded systems applications.
- Create webservices in HTTP or HTTPS mode, stream data, or implement server websockets:
- Create a webservice in a separate thread, the endpoint is identified by its method (ex: GET, POST, PUT, DELETE, etc.) and its URL path with its optional parameters (ex: /api/doc/@id). The webservice is executed in a callback function.
- Stream large amount of data with a reduced memory footprint.
- Websocket service, the websocket messages exchange is executed in dedicated callback functions.
- Client requests:
- Client http[s] and smtp requests execution, the response is parsed in a dedicated structure.
- Client websocket request execution, the websocket messages exchange is executed in dedicated callback functions.
- Based on GNU Libmicrohttpd for the backend web server, Jansson for the json manipulation library, and Libcurl for the http/smtp client API.
Website: babelouest.github.io/ulfius
Support: GitHub Code Repository
Developer: Nicolas Mora
License: GNU Lesser General Public License v2.1
Ulfius is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| C Web Frameworks | |
|---|---|
| Kore | Secure web application framework for writing web APIs in C or Python |
| facil.io | High performance web application C framework |
| Onion | Library to create simple HTTP servers and web applications |
| Ulfius | HTTP Framework for REST Applications in C |
| libreactor | Extendable event driven high performance C-abstractions |
| Duda | Event-driven and high performant web services framework |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

