This python tool transforms the export from Wunderlist into ics files. It creates one file per list, so you can create one calendar per list.
It is mainly tested with Nextcloud, but follows the Icalendar standard, so it should support any software which supports this.
One main downside is the handling of subtasks due to limitations of the Icalendar standard, see below for details.
- Converts all tasks in all lists
- Conserves created and completed time
- Conserves completion status
- Conserves notes
- Three different options regarding subtasks
- Python3
$ curl -LO "https://github.com/wasmitnetzen/wunder2ics/raw/master/main.py"
You can request the backup file from 'Account Settings -> Create Backup' on Wunderlist.
Wunderlist | Can I backup / export my data?
$ ./main.py --flatten-subtasks --subtasks-as-description --inherit-completed --ignore-completed /path/to/Tasks.json
It is recommended to call the tool with all three features regarding subtasks enabled.
--ignore-completed
: Ignore all completed tasks (not subtasks) during conversion. based on your situation this will accelerate your import process time noticeable.
All files will be put in the output folder, which has to be created manually in advance.
You need both the Calendar app as well as the Tasks app in Nextcloud.
- Go to the Calendar
- Create a calendar for each list you want to import
- In the Calendar app, click on "Settings & import" in the bottom left, and then on "Import calendar"
- Select the file and choose the appropriate calendar in the downdown
- Wait for the import to finish, then you can go to the Tasks app to see all your tasks
- (Optional) Fix the subtask relations
- Profit!
The Icalendar standard does not support subtasks, but both Wunderlist and Nextcloud do. There are three switches regarding subtasks in this tool:
- Flatten subtasks (
--flatten-subtasks
)
For each subtask, an additional task will be created with a title of "PARENT TITLE - SUBTASK TITLE" (This is supported by the FLOSS android app "OpenTasks", distributed by F-Droid)
- Subtasks as Description (
--subtasks-as-description
)
Each task which has subtasks will contain a list of its subtasks in its description. (this is supported by the official Nextcloud tasks app)
- Inherit Completed (
--inherit-completed
)
This switch only makes sense in combination with "Flatten subtasks". If enabled, a completed parent task will mark all its subtasks as completed as well.
If you enable all three switches, you can then quite easily manually restore the associations of tasks and their subtasks by sorting the task list alphabetically.
This tool is inspired by takafumir/wunder2reminders, which does a similar task in Ruby.