This is a quick and dirty script to convert a Journey export into markdown files with frontmatter.
-
Journey > Preferences > Database > Bulk Export > Select Journal Entries
-
Choose Format ZIP, and the options you want then click OK.
-
Extract the ZIP. The result will be a directory of JSON files and images.
journey-convert --source ~/path/to/journey/json/files --dest ~/markdown/dest/path --allKeys
By default only some keys of the JSON files are converted to frontmatter, if you're worried about data loss, you can use --allKeys
to keep everything, but it may be a bit noisy.
This command will convert all of the Journey JSON files to markdown, and copy any referenced photos into the corresponding directory.
I made this as a quick and dirty script to convert my own Journey entries into markdown to use with my self hosted Nextcloud installation and the vscode-journal
extension for VS Code.
You can use this to convert your Journey entries to plain markdown files in an organized directory, but it may not be reliable, so don't blame me if anything goes wrong. Feel free to modify the script for your own use.