KH

khal

Command-line calendar built on CalDAV

Calendar & Contacts ★ 3.1k stars Medium setup MIT

khal is a standards-based command-line calendar program that reads and writes iCalendar files and works with vdirsyncer to synchronize against self-hosted CalDAV servers. It offers an interactive console interface.

Key features

  • Command-line CalDAV calendar
  • Works with vdirsyncer
  • Interactive console interface

Strengths

  • Released under the MIT license
  • Active community (3.1k GitHub stars)
  • Written in Python
  • Tiny footprint — runs in 64 MB RAM

Is khal secure?

OSV.dev has no published security advisories for khal's repository. No known vulnerabilities is not proof of security: it means none have been publicly catalogued.

Source: OSV.dev, checked 2026-10-14. How this is measured.

khal replaces

Health badge

Maintain khal? Add its health score to your README. The badge links back to this page.

SelfHostIndex: 69 · good

Markdown
[![SelfHostIndex health score for khal](https://selfhostindex.com/badge/khal.svg)](https://selfhostindex.com/app/khal/)
HTML
<a href="https://selfhostindex.com/app/khal/"><img src="https://selfhostindex.com/badge/khal.svg" alt="SelfHostIndex health score for khal"></a>
reStructuredText
.. image:: https://selfhostindex.com/badge/khal.svg
   :alt: SelfHostIndex health score for khal
   :target: https://selfhostindex.com/app/khal/

The score is recomputed on every nightly rebuild from public repository data — see how it is calculated.

Compare khal

9 head-to-head comparisons.

Similar calendar & contacts apps