Skip to content

eigilhs/c-natra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C-natra

A Sinatra-style microframework for C. Very inspired by Bogart, but probably even more unsuitable for serious use (or any use at all).

#include <c-natra.h>

get("/") {
	html("<h1>Hello, World!</h1>");
	return HTTP_OK;
}

serve(8000)

More examples here.

Depends on libevent 2.x.

Releases

No releases published

Packages

No packages published