kCalDAV is a simple, safe, and minimal CalDAV server depending only on kcgi, SQLite, and expat. It is open source. For the time being, it works only for simple setups—for example, a calendar collection shared between Mozilla Lightning, Mac OS X iCal, and iOS (iPhone) clients. It compiles and runs on OpenBSD, Linux, and Mac OS X. (Any others? Let me know!)

  1. Install dependencies kcgi, SQLite, expat, and libbsd if using Linux.
  2. Cownload the sources and verify the fingerprint.
  3. Configure for your installation by creating a Makefile.local using variables documented in the Makefile. (You will need to do this: installation paths for CGI scripts differ vastly!)
  4. Configure with ./configure. Compile with make, install with make install, then install the CGI script and its data files with make installcgi.
  5. If using Apache, make sure that HTTP authorisation is not interpreted by the web server. (Example.)
  6. Read kcaldav(8).

The kcaldav(8) manual has a complete description of supported CalDAV features. You'll also want to read kcaldav.passwd(1). If these manpages lack information or clarity, that's a bug. For bug-reports and comments on usage (please let me know!), contact Kristaps. For developers, you can peruse the database schema if you'd like to work on kCalDAV.

(See all releases.)