/wunderlist-to-taskwarrior

Fetch your tasks from Wunderlist and add them to TaskWarrior

Primary LanguageHaskellOtherNOASSERTION

Wunderlist to Taskwarrior

Build Status

A simple project that fetches your tasks from Wunderlist and inserts them into TaskWarrior. Can be run by the operating system to keep Taskwarrior up-to-date.

Configuration

Wunderlist lists starting with '!' are never fetched for synchronization.

All communication is done via HTTPS.

Program directory

All the configuration and persistent data resides in the program directory.

$HOME/.wunderlist-to-taskwarrior/

Wunderlist API

You must get an API key from Wunderlist before using this for your own stuff.

Create the tokens.json file in the program directory with the following contents:

{
   "clientId": "....................",
   "clientSecret": "............................................................",
   "accessToken": "............................................................"
}

You must obtain these values for yourself, the dots are just there to give you an idea of how long each field is.

Installation

# Build and install the executable.
stack install

# Run the executable.
wunderlist-to-taskwarrior

# Add the executable to your crontab.
# Make sure to use the path for the executable in your machine.
(crontab -l; echo "* * * * * /home/mg/.local/bin/wunderlist-to-taskwarrior") | crontab

In practice, the program finishes in less than two seconds.

If you have hundreds of lists or many new tasks it may take longer.