# Combine Org-brain and Org-roam together

**URL:** <https://org-roam.discourse.group/t/combine-org-brain-and-org-roam-together/932>\
**Category:** Tips\
**Created:** [November 4, 2020, 9:42pm UTC](https://org-roam.discourse.group/t/combine-org-brain-and-org-roam-together/932 "2020-11-04T21:42:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cool\_ran](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/cool_ran/32/130_2.png) [@cool\_ran](https://org-roam.discourse.group/u/cool_ran)\
**Post date:** [November 4, 2020, 9:42pm UTC](https://org-roam.discourse.group/t/combine-org-brain-and-org-roam-together/932/1 "2020-11-04T21:42:05Z")

</div>

I have some structure notes before the born of `org-roam`. I often  
search for some ideas in `org-brain` even though I now mostly in  
`org-roam`. I somehow found a way to combine the search result from  
`org-brain` and `org-roam`.

One thing about this combination is that I can take advantage of the  
headline support from `org-brain`. **This is not possible for current  
 `org-roam`. I cannot use `org-roam-find-file` to see the headline  
information in any `org-roam` buffer.**

With this combo, I can write down structure notes directly into  
org-brain, which can reduce the number of files for `org-roam` in long  
runs.

Here’s the code snippet. What’s your thoughts?

```auto
    (defvar helm-source-org-roam
      (helm-make-source "Org-roam" 'helm-source-sync
        :candidates (mapcar #'car (org-roam--get-title-path-completions))
        :action (lambda (candidate)
                 (org-roam-find-file candidate nil nil t))))

    (require 'org-brain)
    (defvar helm-source-org-brain
      (helm-make-source "Org-brain" 'helm-source-sync
        :candidates (org-brain--all-targets)
        :action 'helm-brain--actions))

    (defun wr/idea ()
      (interactive)
      (helm :sources '(helm-source-org-roam
                       helm-source-org-brain)))

```

* * *

[editted on 2020-11-06]:

When I reply to this post: [Links with Org-IDs are not showing up in backlinks](https://org-roam.discourse.group/t/links-with-org-ids-are-not-showing-up-in-backlinks/939)

I find that the title of the linked headline is shown in my searching candidates. It seems that the current version of roam is fully supporting headline using org-id.

[editted on 2020-11-06 2nd revision]

No, headline info is still not available to the search query.

---

<div class="post-metadata">

**Author:** ![feyke](https://avatars.discourse-cdn.com/v4/letter/f/9d8465/32.png) [@feyke](https://org-roam.discourse.group/u/feyke)\
**Post date:** [August 4, 2021, 7:16am UTC](https://org-roam.discourse.group/t/combine-org-brain-and-org-roam-together/932/2 "2021-08-04T07:16:43Z")

</div>

Absolutely agree.  
Because the main idea behind programs like org-roam is to help your brain in learning.  
WIthout proper visualization help even of such strong tool is org-roam, in fact, very small (in solving complex tasks)

Thus for me more useful this normie tool (creator of org-brain was inspired by it) [https://www.thebrain.com/](https://www.thebrain.com/)
