Script for migration from Samepage.io into Atlassina Confluence.
You need a Git client and Node.JS installed on your computer.
- run
git clone https://github.com/dherbolt/SIO2Confluence.git
- run
npm install
In config.json
- set your Samepage.io and Confluence username and password
- set Samepage
sourcePageUrl
, e.g. https://samepage.io/abc123/page-123456
- set Confluence
targetSpace
, e.g. KERCONtargetPage
, e.g. My Page
and next time, you can
- run
npm run start <sourcePageUrl> <targetPage>
npm run export-from-sio <sourcePageUrl>
npm run export-from-sio <sourcePageUrl> continue
-- try to reuse valid results from previous exportnpm run import-to-confluence <folder> <targetPage>
npm run to-html <folder>
npm run download-only <sourcePageUrl>