Docs
Obsidian
Obsidian
Notion to Obsidian with notion-downloader.
How to set up a Obsidian vault that uses notion-downloader to pull content from Notion.
Notion to Obsidian with notion-downloader
This guide explains how to set up a Obsidian vault that uses notion-downloader to pull content from Notion.
- Reference template repository: https://github.com/FranciscoMoretti/notion-to-obsidian.
Steps
- Install
notion-downloader:
npm install notion-downloader-
Get your
NOTION_TOKENandROOT_IDfrom the Notion Setup guide. -
Create the downloader configuration:
Run
npx notion-downloader initand use these options indownloader.jsoncreated:
{
...
"conversion": {
...
"outputPaths": {
"markdown": "./content/",
"assets": "./content/assets/"
},
"markdownPrefixes": {
"markdown": "",
"assets": "assets/"
},
"layoutStrategy": {
"markdown": "hierarchical",
"assets": "flat"
},
"namingStrategy": "default",
...
}
...
}Your Obsidian vault should point to the
contentfolder. You can changecontentto any other folder name.
This config puts all assets in the
assetsfolder. See the configuration reference for more options.
-
Add your Notion token:
a. In a
.envfile:NOTION_TOKEN=your_token_hereb. Or use it directly with the CLI.
-
Run the downloader:
npx notion-downloader pull