mirror of
https://github.com/mattermost/focalboard.git
synced 2024-11-27 08:31:20 +02:00
42ddbbdd69
* chore: update docs URL for import/export/migrate * chore: reference `.boardarchive` in import scripts & READMEs |
||
---|---|---|
.. | ||
.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
, pickMarkdown & CSV
as the export format, select true to include subpages. - 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.boardarchive
- In Focalboard, click
Settings
, thenImport archive
and selectarchive.boardarchive
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.