<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Georg Krause - NixOS, Terminal</title><link href="https://www.georg-krause.net/" rel="alternate"/><link href="https://www.georg-krause.net/feeds/nixos-terminal.atom.xml" rel="self"/><id>https://www.georg-krause.net/</id><updated>2026-11-04T00:00:00+01:00</updated><subtitle>coding - music - building stuff</subtitle><entry><title>Calendar and Contacts in the terminal</title><link href="https://www.georg-krause.net/calendar-and-contacts-in-the-terminal.html" rel="alternate"/><published>2026-11-04T00:00:00+01:00</published><updated>2026-11-04T00:00:00+01:00</updated><author><name>Georg Krause</name></author><id>tag:www.georg-krause.net,2026-11-04:/calendar-and-contacts-in-the-terminal.html</id><summary type="html">&lt;p&gt;I am a person living mostly in the terminal, as long as its effortless possible.
Of course I also want my calendars and contacts available there. I have a setup
for years already, but since I got a new player to the game, I think it's a good
idea to …&lt;/p&gt;</summary><content type="html">&lt;p&gt;I am a person living mostly in the terminal, as long as its effortless possible.
Of course I also want my calendars and contacts available there. I have a setup
for years already, but since I got a new player to the game, I think it's a good
idea to write down how it works.&lt;/p&gt;
&lt;p&gt;All my calendars and contacts are stored in a Nextcloud. Actually the
address book is shared in my closer family, while each one of us has their own
calendar, which is also shared for transparency and collaborative editing.&lt;/p&gt;
&lt;p&gt;On our Android phones we use the amazing &lt;a href="https://www.davx5.com/"&gt;DAVx5&lt;/a&gt; to
synchronize all those information into the default calendar and address book app
of Android. That's the easy part!&lt;/p&gt;
&lt;p&gt;Now I want to be able to edit appointments or get a mail address from my contact
book on my notebook as well and at the beginning I would just open Nextclouds
web interface. This worked alright, but I do not enjoy having to use the mouse.
I want my tools to be usable with the keyboard. Some years ago I found the two
projects &lt;a href="https://lostpackets.de/khal/"&gt;khal&lt;/a&gt;, which is a text-based user
interface for calendars and &lt;a href="https://github.com/lucc/khard"&gt;khard&lt;/a&gt;, which is TUI
for contacts.&lt;/p&gt;
&lt;p&gt;In order to make both work, the data needs to be locally available. Both are
just frontends to files stored on the hard drive, to display your week schedule
or edit a contact. Changes are written back to files again. So the missing block
here is a synchronization tool, which luckily is also provided by the developers
of khal and is called &lt;a href="https://vdirsyncer.pimutils.org/en/stable/"&gt;vdirsyncer&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I have this setup running now for several years already and it works pretty
good. The only bigger paint point is creating new events using khal in my
multi-calendar setup, which is a little bit tedious. Also over time khal got
quite slow starting up, so I was curious if there are alternatives out there,
and of course there are. My first search yielded the following projects:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;calcure: https://github.com/anufrievroman/calcure&lt;/li&gt;
&lt;li&gt;calcurse: https://calcurse.org (source: https://github.com/lfos/calcurse)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Sadly I think those are not really compatible with the vdir setup I have in
order to use khal. But those tools are critical to organize my life, so I did
not want to break my old setup. I wanted to have khal and the new application
both being available editing the same data, so I can test the new application,
maybe report or fix some bugs and switch back to the working setup whenever
needed.&lt;/p&gt;
&lt;p&gt;Furthermore, I have some automations build on top of khal that I did not want
to lose or rework all at once.&lt;/p&gt;
&lt;p&gt;After some more looking around, I found &lt;a href="https://github.com/zackb/yoro"&gt;yoro&lt;/a&gt;.
And this is amazing. Its superfast, it has color and picture support and it's a
drop-in-replacement for khal.&lt;/p&gt;
&lt;p&gt;So I built a nix package, installed it, started using it and after a few days I
don't think I ever had to open khal. Its still around as a fallback and for my
automation scripting for now.&lt;/p&gt;
&lt;p&gt;But it got even better: From my phone and Nextclouds web interface I am used to
view the calendar in the week view. It allows me to see each day in detail but
in the context of the whole week. Yoro was providing an agenda and month view.
&lt;a href="https://github.com/zackb/yoro/issues/1"&gt;So I created an issue&lt;/a&gt;, asking for the
feature or if the developer would accept a contribution and one day later a new
version was released providing a week view. Yey!&lt;/p&gt;
&lt;p&gt;While I was writing this down and looking for the homepages of the projects, I
figured there is a successor of vdirsyncer, called
&lt;a href="https://pimsync.whynothugo.nl/"&gt;pimsync&lt;/a&gt;. I do not have any issues with
vdirsyncer, but since a successor to it is available I might at least give it a
try at some point.&lt;/p&gt;</content><category term="NixOS, Terminal"/></entry></feed>