aboutsummaryrefslogtreecommitdiff

cgifun

Just an extremely simple example of a CGI program with caddy web server and zig as the CGI program.

To run: * Have caddy with CGI plugin * Have zig programming language. * zig build && caddy run * Open http://localhost:8080 in your browser

You'll see a webpage full of environment variables which are passed as part of the CGI protocol to the cgifun program.