mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-21 13:38:56 +02:00
213e976cb5
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com> |
||
---|---|---|
.. | ||
.eslintrc.json | ||
.gitignore | ||
importNotion.ts | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json | ||
utils.ts |
Notion importer
This node app converts a Notion CSV and markdown export into a Focalboard archive. To use:
- From a Notion Board, open the ... menu at the top right
- Select
Export
and pickMarkdown & CSV
as the export format - Save it locally, and unzip the folder e.g. to
notion-export
- Run
npm install
from withinfocalboard/webapp
- Run
npm install
from withinfocalboard/import/notion
- Run
npx ts-node importNotion.ts -i <path to the notion-export folder> -o archive.focalboard
- In Focalboard, click
Settings
, thenImport archive
and selectarchive.focalboard
Import scope
Currently, the script imports all cards from a single board, including their properties and markdown content.
The Notion export format does not preserve property types, so the script currently imports all card properties as a Select type. You can change the type after importing into Focalboard.
Contribute code to expand this.