Logseq + Obsidian
< Next Topic | Back to topic list | Previous Topic >
Posted by Luhmann
Jun 12, 2021 at 04:29 AM
I am so pleased with how things are working that I decided to import my Roam Research database over. Here is how I did it:
1. Export to markdown and delete all files that are zero or 3 bytes. (Roam generates thousands of empty files.)
2. Open export folder as a new vault in Obsidian. Then run the conversion rules for tags and highlights. (But not TODOs, since Logseq handles those differently.)
3. Use BBEdit’s multi-file search to replace {{\[\[TODO\]\]}} with TODO and {{\[\[DONE\]\]}} with DONE everywhere in the vault. This gets things working with Logseq’s Tasks.
4. Convert all my daily journal files to the Logseq naming convention. This was tricky.
a. I used Name Mangler for the Mac to do it, first converting each month by name. January > 01_, February > 02_, etc. (12 operations in total.)
b. then I removed all the ordinals using (?<=[0-9])(?:st|nd|rd|th), (1 operation)
c. Then I moved the dates to the beginning, using ^(.*?)\s(2.*?)\.md as the search and $2_$1.md as the replacement.
d. Finally I converted the single digit days to two digits using _([1-9])\.md as the search and _0$1.md as the replacement.
These all go in the “journals” folder
4. Move all the remaining files into the “pages” folder.
That’s it. There are a few loos ends still, but things are basically working.
Posted by Luhmann
Jun 12, 2021 at 02:12 PM
A recent update to Logseq seems to fix a big problem with the built-in Roam import. Now it uses “-” instead of “#” for bullet items.
Posted by Paul Korm
Jun 12, 2021 at 07:56 PM
Obsidian has had “WYSIWYG editor (like Typora)” on its roadmap as a “short-term” focus for a while. I think Erica and Shida have been busy trying to get the mobile app finalized first.
https://trello.com/b/Psqfqp7I/obsidian-roadmap
Posted by Luhmann
Jun 12, 2021 at 11:32 PM
Not clear what that means though. Typora is not an outliner, and does not have the kind of experience Roam Research or Dynalist or Workflowy have - which is essential for my personal work habits. Logseq amazingly offers one all of this! I’m so impressed with what they’ve done…
Posted by Luhmann
Jun 13, 2021 at 04:23 AM
I was mostly excited that Logseq would allow me to work with Obsidian to have my notes on my phone, but I actually think Logseq is better than Roam in many ways. For instance:
1. in Roam I had to learn all kinds of fancy queries to try to organize my tasks, but Logseq has basic task management built in.
2. In Roam I had to use a plugin to have my attachments accessible in Dropbox, but in Logseq all my attachments stay right on my computer (or in iCloud).
3. In Roam it was often difficult to navigate back to the previous page, but the back/forward navigation buttons always work for me in Logseq.
4. In Roam I had a constant problem with pages that were either lower case or upper case bifurcating my links, but Logseq avoids that problem by changing the title case of the page to whatever the last link going there used. (If I type [[Apple]] it will be Apple, but if I later type [[apple]] the page will change to [[apple]] rather than creating a new page. Which solves the problem for me.)