This is a quick and dirty script + pandoc lua filter I used to import notes from Trilium into TiddlyWiki.
Usage instructions:
- Export root note from Trilium as HTML files in a ZIP (enter protected mode to export protected notes too).
- Extract the ZIP file to a directory.
- Put
process.sh
andwrite-wikitext.lua
in the root directory. - Edit
process.sh
to match your exported root note name (change "root" and "transformed-root"). - Edit
write-wikitext.lua
(line 93 and perhaps 95) to match your TiddlyWiki name.