ockcal: a very simple calendar

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.


ockcal tries to be the simplest possible calendar that can work

[Skip to ReadMe]


Change logNone available
Dependenciesbase (==4.7.*), directory (==1.2.*), system-command (==0.0.*), time (==1.4.*) [details]
Copyright(c) 2015 Lukas Epple
CategoryUtils, Utilities
Home pagehttps://github.com/lukasepple/ockcal
Source repositoryhead: git clone git://github.com/lukasepple/ockcal.git
UploadedSun Feb 1 15:04:26 UTC 2015 by sternenseemann


Maintainers' corner

For package maintainers and hackage trustees

Readme for ockcal-

[back to package description]

ockcal - the simplest possible calendar


  1. Clone this Repository and cd there
  2. run cabal install
  3. Nobody will welcome you to the potential cabal hell
  4. Your calendar file is located at $HOME/.ockcal, if you want to have it somewhere else, edit calendarFile in Main.hs
  5. Have fun!


ockcal # lists the todos
ockcal add 2015-12-12 13:37:00 "Celebrate leettime" # adds the event "Celebrate leettime" on 2015-12-12 at 13:37:00

F. A. Q.

How do I sync my Calendar?

Use your favourite "Cloud" service, git-annex, Seafile, Owncloud, BTSync, syncthing etc. You could also just use good old git.

How do I view my calendar if ockcal is not available?

Just open the file with a text editor!

    such plain text
 many editor
   very simple

Why is the calendar file gets copied to a new location before writing?

This is because of Haskell's lazy IO. Haskell reads chunks of a file in on demand. This consumes less memory and spreads reading and calculating more or less homogenous across runtime.

This is actually also a feature: If a runtime error occurs whilst calculating the data to write, we still have a safe copy which in that case also would not be deleted.

Why has it this stupid name?

Because of Ockham's razor.


Inspired by Steve Losch's t.