khal icon indicating copy to clipboard operation
khal copied to clipboard

Feature: Ncurses Weekly/Monthly view

Open guyest opened this issue 7 years ago • 6 comments

I have been quite impressed by and satisfied with khal for its interoperability with CalDAV via vdirsyncer and its general pythonic approach that keeps is use simple and intuitive. That said, even those command-line geeks just sort of a neck-beard, a glance at a screen displaying the most pertinent information is preferable to a specifically crafted query---and the real power is in having the option for both.

For this reason, I have been considering what it would take to create an urwid backed graphical calendar for the terminal with the main goal of showing a "Google Calendar"-style weekly and monthly overview with events overlaid on the corresponding days by color. I understand that there is ikhal and that even this uses urwid, but I do not believe the functionality I describe is present there. The closest thing that I have seen to this is in the output generated by gcalcli, but this is not compatible with vdirsyncer which is most compliant with the CalDAV standard IMO.

If something like this is within scope for ikhal, I would be happy to base any of my efforts off of that codebase (particularly if there is more broad interest in contributing from others). Otherwise, I may try a more agnostic approach that only cares about having a CalDAV server to talk to or a vdir (though that is basically what it would be in either case). In any event, what I would really like to see is a mutt for calendars. I think khal is the closest thing to it with calcurse being another serious contender, but neither of them yet have the full maturity of an ncurses cli-app and I think the feature I describe here would be a significant step in that direction.

guyest avatar Nov 21 '18 22:11 guyest

Hi guygma, this is indeed one of the most requested features for khal and ikhal, see #311 and #251. Feel free to work on this and send a PR. Let me know if you need any help on this.

geier avatar Dec 17 '18 22:12 geier

Thanks for the context @geier. Until this happens, I just know khal will not be all that I need it to be for it to positively affect my workflow. Terminal apps and TUIs are great for many reasons, but less so when they fundamentally lack an important subset of functionality that we have come to expect from using their GUI counterparts. I think with ncurses/urwid all the tools to implement this are in place, so i am indeed going to put some effort into making this happen.

What could be helpful from you is a bit of context as to where I should start looking for the right pieces of code with which I need to interact in order to generate a proof of principle implementation. My first goal will just be display and we can return to interactive addition/modification of events once we have that locked down pretty well.

guyest avatar Dec 18 '18 03:12 guyest

I dream of a simple UI switch between khal and calcurse...

Tonus1 avatar Feb 10 '19 23:02 Tonus1

Any news on this front? Such feature is the only thing I miss in khal.

euglevi avatar Feb 27 '23 16:02 euglevi

calcure now supports ics files if that's useful.

ceuk avatar Feb 27 '23 17:02 ceuk

Thank you, exactly for this reason I am paying close attention to the development of calcure. The biggest issue for me at the moment is that it does not support timezones well. And I feel it would still be nice if khal were to implement a nicest weekly/monthly view.

euglevi avatar Feb 27 '23 20:02 euglevi