Fossil SCM 2.5

Fossil is a distributed version control system, quite robust and easy to use. It manages local and remote repositories, user permissions, has a built-in wiki, bugtracker, release blog and an extendable web interface. It's github-in-a-box as all features are packed into a stand-alone executable which also doubles as server. Internally the database utilizes SQLite and allows extending that or its user interface through TCL or the builtin TH1 scripting language. An optional JSON API permits further

Rivet CGI

Rivet CGI allows Rivet applications to run as a CGI, either automatically (i.e., no modifications to the applications themselves from "mod_rivet") from Apache, as a standalone CGI under any Web server, or as a standalone HTTP server itself. It can be used to build Web applications that can be distributed and executed as a single file in either CGI or Standalone HTTP mode.