Standards-based CLI and terminal calendar that syncs with CalDAV through vdirsyncer
open sourceMITself-hostablefree
khal is an open source command-line and terminal calendar. It reads and writes events as iCalendar files in a vdir folder, so vdirsyncer can synchronize them with CalDAV servers and other calendar programs. You add events quickly from the command line, list upcoming events and agendas, and use ikhal, its interactive terminal interface, to browse and edit calendars and events. It's written in Python 3.10+, runs on Linux, macOS and other Unix-like systems but not on Windows, is packaged for most distributions and Homebrew, and is MIT licensed. It's part of the pimutils tools alongside todoman and vdirsyncer.
Ways to install
Package managers
Problems it solves
- a calendar I can use from the terminal
- add events to my CalDAV calendar from the command line
- see today's agenda in my terminal
- a terminal calendar that syncs with my own CalDAV server
- manage my calendar without a GUI on Linux
- browse and edit calendar events in a TUI
- keep my calendar as plain iCalendar files on disk
Features
- reads and writes iCalendar events in a vdir
- CalDAV sync through vdirsyncer
- quick event creation from the command line
- agenda and calendar listings
- ikhal interactive terminal UI to browse and edit events
Limitations
- Doesn't run on Microsoft Windows2
- You cannot edit the timezones of events2
- Only rudimentary support for creating and editing recurrence rules2
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what khal does.
- gcalcli Google Calendar Command Line Interface
- Google Calendar Shareable online calendar and scheduling
- Fantastical The calendar and tasks app you won't be able to live without
