Move your tasks From Todoist To Bear
After having clear the requirements for a notes system and comparing different options I decided to give an honest try to Bear. Now, one of the first things I need to do is move the tasks from my current system, Todoist, into it.
The first surprise I had is realising that exporting the projects and tasks from Todoist is not really straightforward, something quite disappointing if you ask me.
Luckily for us, somebody created Export for Todoist using their API. With that I was able to get a JSON describing all my data, and that's a good position to be in.
With the data in JSON format it was quite simple to process it with a Swift script. Running it allowed me to move all my project and tasks into different notes in Bear.
You can find the script on GitHub: TodoistToBear
Adding notes to Bear is quite simple thanks to its X callback url Scheme API. URL scheme APIs are not the most beautiful interface in the world but it's still useful.
As usual with these kind of scripts they're tailored for the author. It should work out of the box for anybody, but feel free to tune it for your own needs.