diff --git a/config.org b/config.org index 0874512..08a7cd2 100644 --- a/config.org +++ b/config.org @@ -35,6 +35,7 @@ - [[#graph-browser][Graph browser]] - [[#roam-link-font-face][Roam link font face]] - [[#roam-capture-template][Roam capture template]] + - [[#org-roam-server][Org Roam Server]] - [[#export-backends][Export backends]] - [[#doom-specific][Doom specific]] - [[#magit][Magit]] @@ -412,7 +413,7 @@ First, set a directory where =org-roam= will index things. Instruct =org-roam= to use =firefox-developer-edition= to open the graph: #+BEGIN_SRC emacs-lisp -(setq org-roam-graph-viewer (executable-find "firefox")) +(setq org-roam-graph-viewer (executable-find "firefox-developer-edition")) #+END_SRC *** Roam link font face @@ -476,6 +477,16 @@ directory instead of at the root. :head "#+TITLE: %<%Y-%m-%d>")))) #+END_SRC +*** Org Roam Server + +=org-roam-server= provides a fancy JS interface to visualize the graph. Just +needs to be loaded, along with its dependency =simple-httpd=. + +#+BEGIN_SRC emacs-lisp +(use-package! simple-httpd) +(use-package! org-roam-server) +#+END_SRC + ** Export backends Sometimes I need to export an Org subtree to a file, which is quite easy with diff --git a/init.el b/init.el index c512ece..6364bc2 100644 --- a/init.el +++ b/init.el @@ -86,7 +86,7 @@ :tools ;;ansible ;;debugger ; FIXME stepping through code, to help you add bugs - direnv + ;;direnv docker ;;editorconfig ; let someone else argue about tabs vs spaces ;;ein ; tame Jupyter notebooks with emacs @@ -172,14 +172,14 @@ yaml ; JSON, but readable :email - ;;(mu4e) + (mu4e) ;;notmuch ;;(wanderlust +gmail) :app ;;calendar ;;irc ; how neckbeards socialize - ;;(rss +org) ; emacs as an RSS reader + (rss +org) ; emacs as an RSS reader ;;twitter ; twitter client https://twitter.com/vnought :config diff --git a/packages.el b/packages.el index f4e9446..6bba80f 100644 --- a/packages.el +++ b/packages.el @@ -48,10 +48,12 @@ ;; solaire mode breaks TUI when using the emacs daemon... (package! solaire-mode :disable t) +(package! simple-httpd) +(package! org-roam-server + :recipe (:host github :repo "org-roam/org-roam-server")) ;; C/C++ mode adds this, and I don't really need it (package! irony :disable t) - (package! beancount-mode :recipe (:host github :repo "beancount/beancount-mode") :pin "dcb317ed0a7582243f30ffc44aaf31717a81502b")