/Todoist-to-Markdown

Convert a Todoist JSON dump to Obsidian Markdown

Primary LanguagePythonMIT LicenseMIT

Convert a Todoist JSON export into Obsidian Markdown

Footnotes are used to keep comments, descriptions, and attachments associated with a task in the markdown.

In the footers, comments are displayed in blockquotes while descriptions are just plaintext.

Before in Todoist

Todoist

After in Obsidian

Obsidian

Usage

Obtain a JSON dump of your Todoist account from Export for Todoist by Darek Kay under the MIT License

Run the script: python parse_todoist.py <json_file>

Attachments

To download attachments, install Full Offline Backup for Todoist by joanbm under the GNU General Public License v3.0

Clone the repo and install it with pip install -e ./full-offline-backup-for-todoist

Copy creds.sample.json to creds.json and edit with your Todoist information.

Run the parse_todoist.py script again and it will download the attachments this time. If you run the script after having already downloaded attachments, make sure to delete the attachments folder first so that it doesn't contain duplicates.