reddit / emacs
Taking org-roam on the go with logseq
celeritasCelery · 2022-05-13 14:18
I wrote this post last year about using org-roam with logseq. A lot has changed since then! We have org-roam v2 and logseq has mobile apps now. So I rewrote my post after a couple of people asked me about it. Integration is getting better every month. Having full access to my notes on my phone is amazing!
https://coredumped.dev/2021/05/26/taking-org-roam-everywhere-with-logseq/
zupatol · 2022-05-13 21:27
I remember your post from last year. If this one is updated, you shouldn't leave last year's date at the top.
celeritasCelery · 2022-05-13 21:56
Good call. I updated it.
Edit: actually that changed the URL, I am just going to add a note at the top.
trae · 2022-05-13 23:33
Wow. This is a game changer! I didn't realize that logseq supports org markup.
My only concern is iCloud sync, I've had less than stellar results with iCloud. You've motivated me to fix my broken iCloud and give it a go! Thanks!
TheSnowIsCold-46 · 2022-05-14 00:10
Will read later as I just discovered logseq and am using it for mobile. It causes issues with unique IDs for me because it seems to be baking up some of my roam notes for some reason. Not all of them just some that I imported from emacs. I also need to figure out how to make logseq or emacs gen new IDs if I create a page in logseq.
I agree having this mobile app is really nice! Will read your article later and excited to explore this more
wakatara · 2022-05-14 04:00
I love that you've done this, but for me the fundamental problems is still the org-roam vs logseq backlinks (and links) situation. Any idea how you might change org-roam to grok logseq backlinks in the code there? (rather than the periodici import procdeure you mentioned).
I had a data loss incident with an earlier alpha/beta of the mobile client on logseq so had sort of migrated back to org-roam, but defintely planning on giving this a go.
​
Out of curiosity though, have you tried other file syncing system versus iCloud (which I am meh on)... for example, how this runs with, say... Dropbox or google cloud. (I imagine Dropbox would work best, but the way logseq "caches" pages to read and then writrs to them and then conflict resolution between my mobile client and desktop makes me a bit sweaty (to be honest, this is one thing I need to give Notion credit for, I've never had a sync conflct between entering on mobile or desktop with Notion - though it's a different beast obviously.).
celeritasCelery · 2022-05-14 04:28
> Any idea how you might change org-roam to grok logseq backlinks in the code there?
If you look at the [code](https://github.com/org-roam/org-roam/blob/2657f0b444194e1de6957f9cfc112383980d62f9/org-roam-mode.el#L490-L500) you can see that it is explicitly filtering for links that are `type` "id". It may be just as simple as removing that requirement, but I have not tested it.
> I had a data loss incident with an earlier alpha/beta of the mobile client on logseq so had sort of migrated back to org-roam
That is a risk. I keep all my notes in git repo so that even if some data loss happens, I can always restore to a recent safe point.
> Out of curiosity though, have you tried other file syncing system versus iCloud
I have not since iCloud works for my needs. But you can store the notes anywhere on your filesystem, which means you could use Dropbox on desktop. I think that this need special support on mobile though. It looks like this has been [requested](https://discuss.logseq.com/t/sync-directly-with-onedrive-dropbox-googledrive-icloud/4685) and might be [coming soon](https://github.com/logseq/logseq/issues/822).
paretoOptimalDev · 2022-05-14 04:29
Oh it's finally working again?!?!
trae · 2022-05-14 19:49
Working well so far. Any way to do quick capture on the phone that goes to an inbox file? Right now it seems to go into the journal.
celeritasCelery · 2022-05-15 01:19
If you open editor settings and disable “journals” then you can set a home page that will be used as an inbox file.
gravygrowinggreen · 2022-05-16 22:18
This looks great, but the capture template keeps creating a ":Target needs to be specified error". This is almost certainly user error on my part.
EDIT: for anyone who has a similar problem, for me, it was because the template provided on the post OP linked is for Org-Roam v1. I use Org Roam v2, and had to update the template. I used https://systemcrafters.net/build-a-second-brain-in-emacs/capturing-notes-efficiently/ i used this link to work my way through the required template changes.
emacsomancer · 2022-05-18 04:31
logseq seems very interesting (esp. being written in Clojure). I've just been using org-roam in native emacs within Termux, which isn't too bad (with syncthing syncing between machines). I'm wary of introducing additional layers of complexity...
celeritasCelery · 2022-05-19 00:10
indeed you are correct. I have have since fixed that. Thanks for pointing that out!
ObviousRegister · 2022-06-28 22:05
>, which isn't too bad (with syncthing syncing between machines). I'm wary of introducing additional layers of complexity...
I'm really interested in this setup! Did you happen to document it somewhere?
emacsomancer · 2022-06-28 23:16
Yes, in fact. See: https://babbagefiles.xyz/org-roam-on-android/
ObviousRegister · 2022-06-29 18:25
Thanks!
dangtran47 · 2022-07-22 14:12
It's cool. But my Logseq graph does not show org-mode nodes, and the Logseq journals do not sync with org-mode journals (it creates 2 different files with the same name). Does anyone know how to fix it?
celeritasCelery · 2022-07-23 03:59
There are some open issues with the graph and org-mode. See this for example
https://github.com/logseq/logseq/issues/3281
MethAddictedMonkey · 2022-08-22 08:33
How do we use the "[awesome bit of elisp from Bill Burdick](https://gist.github.com/zot/ddf1a89a567fea73bc3c8a209d48f527) that will turn notes you created with logseq into org-roam nodes"?
Where does it go in the .emacs.d?
celeritasCelery · 2022-08-24 16:22
You can just copy all that code into `.emacs.d/init.el`. then I set bill/logseq-folder to `org-roam-directory`. Then I can call `bill/check-logseq` to run it.
verdigris2014 · 2022-10-10 06:29
I've been a long time emacs/org-mode user. Beorg is a pretty good app if you want to try using Org for to-dos and schedules. I've settled on using drop box for cloud sharing my org files
LogSeq also seems pretty great and a more user aproachable tool than emacs. I want to use it cross platform and on my iphone. Seems Icloud is the best sharing option here.
Unfortunately iCloud is the least friendly for sharing with linux.
So cross platform sharing is not the best at present.
I did find an issue with the bills script for adding ID. It finds all the org files that ios puts in the bak directory and adds them to org-roam on emacs. Not an issue for logsec, but makes org-roam harder to manage.
verdigris2014 · 2022-10-10 06:31
I added (add-to-list 'load-path "\~/.config/emacs/lisp/") to my \~/.config/emacs/init.el file.
Then I created that directory and dropped Bill Burdocks .el file into it.
MethAddictedMonkey · 2022-12-06 14:56
Thanks for your reply! When you say call `bill/check-logseq` to run it what do you mean by **call**?
I have tried `M-x bill/check-logseq` but that did not work.
Also for the set `bill/logseq-folder` to `org-roam-directory` do you mean in Bill Burdick's code? In my case my Org-Roam and Logseq are in `~/Dropbox/Logseq` .
I tried:
`(defvar bill/logseq-folder org-roam-directory (file-truename "~/Dropbox/Logseq"))`
celeritasCelery · 2022-12-07 22:15
What do you mean by "did not work"? Did it not run or did it give an error?
MethAddictedMonkey · 2022-12-10 08:42
It did not run with `M-x bill/check-logseq`