This is a simple script to import Joplin notes into Logseq. I took inspiration from this script. It is a very simple script that takes a Joplin Markdown export and converts it to Logseq format. Upon doing so we check if assets are existing and copy them over to output folder.
- You can run the application prior to having exported anything - it will create the necessary folders for you.
- Export your Joplin notes as a
MD Markdown + Front Matter
file into a folder calledjoplin-input
. - Run the script with
go run main.go
. - The script will create a
logseq-output
folder with the converted notes. - Copy the contents of the
logseq-output
folder into your Logseq notes folder.
- Frontmatter cleanup if you pass
--frontmatter-cleanup
flag. This will remove Latitude, Longitude, Altitude, Title, Author, and make the tags usable in logse from the frontmatter.
frantic laughter - You have been warned - there is no warranty or guarantee this will work for you. It worked for me, but I make no promises.