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.

[maintain] [Publish]

ockcal tries to be the simplest possible calendar that can work


[Skip to Readme]

Properties

Versions 0.1.0.0
Change log None available
Dependencies base (>=4.7 && <4.8), directory (>=1.2 && <1.3), system-command (>=0.0 && <0.1), time (>=1.4 && <1.5) [details]
License GPL-3.0-only
Copyright (c) 2015 Lukas Epple
Author sternenseemann
Maintainer git@lukasepple.de
Category Utils, Utilities
Home page https://github.com/lukasepple/ockcal
Source repo head: git clone git://github.com/lukasepple/ockcal.git
Uploaded by sternenseemann at 2015-02-01T15:04:26Z

Downloads

Maintainer's Corner

Package maintainers

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