The ockcal package

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.

[maintain]

ockcal tries to be the simplest possible calendar that can work


[Skip to ReadMe]

Properties

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

Downloads

Maintainers' corner

For package maintainers and hackage trustees


Readme for ockcal-0.1.0.0

[back to package description]

ockcal - the simplest possible calendar

Installation

  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!

Usage

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!

wow
    such plain text
 many editor
   very simple
 amaze!

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.

Credits

Inspired by Steve Losch's t.

License

GPL