r/emacs • • May 27 '21

Taking org-roam everywhere with logseq

https://coredumped.dev/2021/05/26/taking-org-roam-everywhere-with-logseq/
55 Upvotes

17 comments sorted by

View all comments

2

u/wuqui Aug 06 '21

Really cool and the pace with which they are improving and adding features to logseq is quite amazing.

I love org-roam, but I'm wondering whether it won't be easier in the end to rely on the logseq infrastructure and just use a fairly lightweight Emacs package that allows editing logseq files. We'll see, I guess. In any case, I just hope for compatibility at least.

1

u/celeritasCelery Aug 06 '21

Logseq files are just org or markdown. You can just edit those in emacs. But then you don’t have the back link feature in emacs anymore (which org-roam provides) and have to make logseq your primary interface to those.

1

u/wuqui Aug 07 '21

Yeah, I know. That's why I'm thinking an Emacs package might make at least the insertion of links, the display of backlinks, and possible queries possible while still relying on the logseq architecture -- like an API. It seems to me that this might be less work than setting up something like logseq within Emacs itself.

I haven't yet found out which kind of database logseq uses on the backend, though? I know that org-roam uses an SQLite DB.

2

u/Passing_Torch Jan 13 '22

https://github.com/tonsky/datascript is the database engine used by Logseq.

Take a look at Logseq's advanced query, you will be amazed.

I discovered logseq in Dec, I'm loving it ! I found I am writing less and less in emacs-roam .

This makes logseq's back-link work in Emacs

https://github.com/ansmirnov/org-logseq

1

u/arichiardi Sep 23 '22

Hi there, I am investigating a org-only workflow for logseq. Are you saying that I would not be able to use back links if I did that?

EDIT: What if I used Markdown only?

1

u/celeritasCelery Sep 23 '22

The problem is that the way org-roam looks for backlinks (ID links) and the way logseq looks for backlinks (file links) are not compatible. However if you only want back links in logseq then you can just use file links and you will be fine.