Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Kcgi – minimal CGI and FastCGI library for C/C++ (bsd.lv)
13 points by katzeilla on June 21, 2021 | hide | past | favorite | 1 comment


I briefly toyed around with Kcgi when I was setting up a neat little Libravatar[0] implementation[1] I found.

[0]: https://www.libravatar.org/

[1]: https://github.com/tleguern/libravatar.cgi

I eventually dropped that implementation in favor of a pure static implementation in pure Nginx, but it was less unpleasant to work with than other (Fast)CGI libraries I've tried.

It goes well with the rest of the BCHS stack[2] of OpenBSD, C, OpenBSD httpd, and Sqlite. Some say that BCHS is impractical due to an aversion of writing C for server-side applications, but I find it perfectly adequate for tiny CGI programs that don't need a big framework.

[2]: https://learnbchs.org/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: