I’m very interested in Logseq (just discovered it).
Anyone have any ideas or links to existing attempts to import from Notes?
I’m keen to capture the created date (if it exists in notes) and use to inject to the note into a journal entry for the created date, and use the first line of the note as a page name / link.
The rest of the note import I guess would require some manual work. Although, using an auto linker to link the notes on import would be good, but I doubt my page titles match up with anything much in the rest of the notes.
Things is a seperate matter, and I’m not yet sold on Logseq as a things replacement, but I can see it has potential. Maybe I’ll mess around with some query and plugin writing to mimic my things workflow. I basically use this style, which is awesome: https://productivewithapurpose.com
Ok quick look at the Logseq journal format - will have to read the creation date, rename the file to the Logseq journal date format s.g. 2022_06_25.md, then check if one already exists, merge it, injecting the title: meta as the first block, then will probably just append a child block which contains the entire markdown file (as opposed to trying to smartly segment it into blocks as well).
Hmm I wonder - maybe creating a block and child block per markdown heading #, ## might be worthwhile…
The nice thing about Logseq I can experiment with the import process in different graphs until I get what I like, then merge it into my (mostly empty so far) main graph.
Ok last quick note - attachment mapping is a going to be a PITA. Not sure if I’ll give that a go, skip notes with attachments, or just leave the attachments out. Guess I’ll leave this post here for a bit first and see if anyone else has any easier suggestions
Quick google search reveals there is a python library for things Things API · GitHub
For python programmer with basic skills should be easy to convert things to markdown files.
For example I just wrote a program (Python and pipedream.com) to read my google takeout YouTube watch history and convert that into Logseq pages. Took me a few days as I’m a hobbyist.
Oh that sounds cool! I’d be interested in running that. Are you going to make it public? That would be cool to sync the watch history into the journal on a recurring basis.
I’m more interested in Notes atm. (I probably should have made this two seperate posts).
I think I’ll import them all as pages instead of journal entires, then generate journal entries that embed the page if it’s small, otherwise links to it. So I can recover the journal aspects of the notes.
+1 on sample code request; I’m starting to dig into how to import from various sources and inspiration would be cool, even if I end up doing it in a different way! Thanks!