Loading...
Loading...
Universal migration from Obsidian, Notion, Logseq, markdown, CSV, JSON, Roam
npx skill4agent add garrytan/gbrain migrate| Source | Format | Strategy |
|---|---|---|
| Obsidian | Markdown + | Direct import, convert wikilinks to gbrain links |
| Notion | Exported markdown or CSV | Parse Notion's export structure |
| Logseq | Markdown with | Convert block refs to page links |
| Plain markdown | Any .md directory | Import directory into gbrain directly |
| CSV | Tabular data | Map columns to frontmatter fields |
| JSON | Structured data | Map keys to page fields |
| Roam | JSON export | Convert block structure to pages |
gbrain extract links --source db --dry-run | head -20 # preview
gbrain extract links --source db # commitextract links[[relative/path]][[relative/path|Display Text]][text](page.md)../.md#tagMIGRATION REPORT -- [source] -> GBrain
=======================================
Source: [format] ([file count] files, [size])
Mapping: [field mapping summary]
Sample Test (N files):
- Imported: N/N
- Round-trip verified: N/N
- Cross-refs converted: N
Bulk Import:
- Total imported: N
- Skipped (duplicates/errors): N
- Links created: N
- Tags migrated: N
Verification:
- Page count match: [yes/no]
- Health check: [pass/fail]
- Search test: [query] -> [result count] hits