Welcome!
cgi3 is an experimental, alpha-quality C toolkit to assist in creating CGI applications in C. It currently contains output buffering and sqlite3 database support. For the current list of TODOs, see the TODO page. For the current list of glaring bugs, see the BUGS page.
This page is a Fossil source code repository. Fossil is still quite young and has a couple bugs and missing features, so don't expect everything on this site to work. (In fact, Fossil is cgi3's conceptual father.)
License
Currently most of this code is released into the Public Domain. Some of it has a BSD-like license. The project may integrate code using other licenses, depending on how starved it is for features. While the Fossil source tree contains 90% of the functionality that cgi3 aims for, it is GPL and thus we cannot simply swipe code for this tree. (But Fossil's code still remains a useful reference point.)
Downloading this code
There are two options for downloading. The first is to log in as the anonymous use and follow the /leaves link. Then find the top-most entry and click that. From there, you can download a zip file containing the latest checked-in source code. Versions of Fossil older than 8 February 2008 will create a zip which unpacks to the current directory, so be sure to first create and 'cd' to the proper target directory before unzipping.
Optionally, you can use fossil:
~> fossil clone \ http://anonymous:anonymous@wanderinghorse.net/cgi-bin/fossil-cgi3.cgi \ cgi3.fsl
(All on one line.)
That will copy the repository to cgi3.fsl, which you can then open with:
~> mkdir cgi3 ~> cd cgi3 ~> fossil open ../cgi3.fsl
That checks out the files under the current dir. The sources are under src/ and a Makefile for GNU Make is included.