Show HN: I built a web framework in C
Lavandula Lavandula is a lightweight, fast, and intuitive C web framework designed for building modern web applications quickly. It focuses on simplicity, performance, and productivity, providing all the essentials without the bloat of heavier frameworks. Example #include “lavandula.h” // define a route for your app appRoute(home) { return ok(“Hello, World”); } int main() { // initialise your app App app = createApp(); // register a route in your app get(&app, “/home”, home); // run the app runApp(&app); } Features Controller and routing system HTTP endpoint support (GET, POST, etc) Controller local/global middleware pipeline Minimal dependencies (pure C) Quick project scaffolding via the CLI Built-in unit testing framework Environment variable support Built-in logging SQLite…