This script downloads the folders and documents in dynalist.io into a local folder structure of markdown files compatible with obsidian.md.
- Clone or download this script from GitHub
- If you don't already have it, install NodeJS. (v14.7.1 was used durring development of this script)
- Run
npm install
to install required packages.
Before running the script you will need to configure it by editing config.json
.
- credentials.token: API Token from the developer site.
- vaultPath: The path to the Obsidian vault to import into.
- destinationPath: A relative path within your vault where you would like to import your Dynalist documents.
- requestInterval: The interval between requests to the DynaList API.
- addCompletedCheckBoxes: Add completed checkboxes to completed list items regardless of whether they have a checkbox. Markdown items do not have the ability to be "complete" independent of a checkbox like Dynalist nodes.
- strictLineBreaks: Adds two spaces before line breaks to align with strict markdown.
Run node index.js
to begin the migration.