My Org Roam Notes Workflow (2021)
hugocisneros.com
hugocisneros.com
Relevant emacs init code here (a lot of hacks to get exporting to ox-hugo to work and improve performance): https://github.com/alexkehayias/emacs.d/blob/master/init.el#...
I find navigating notes with an interactive graph as not that useful for others. I mostly use org-roam-ui myself to spot notes with no links but otherwise there's way too many nodes to do anything other than randomly click around.
Hello! Please feel free to start a discussion on https://github.com/kaushalmodi/ox-hugo/discussions listing the things you need to tweak in ox-hugo to make it work with Org Roam.
In the past 3 months or so, I have been adding test Org files received from Org Roam users and they seem to be exporting alright.
Tests: https://github.com/kaushalmodi/ox-hugo/tree/main/test/site/c...
I'd welcome more tests there :)
> and improve performance [your config link]
From your config, I see this[1] overriding `org-hugo-link--headline-anchor-maybe`. I am following a general Emacs Lisp convention of naming internal-use functions and variables with `--` in the names. Unfortunately, that advice won't do anything with the latest ox-hugo as I replaced that particular internal function with something else in past few months as I was improving the anchoring scheme to support an Org Roam user with linking headings based on UUID.
At that point I had added this documentation on Anchors[2] in ox-hugo manual. If you set `org-hugo-anchor-functions` to nil, or add a dummy function to it that just returns "", it would do the same thing as you are doing in your advice right now (not tested).
*Note that will basically break the ability to refer to other sub headings by UUID, CUSTOM_ID or any other mechanism.*
---
I'd welcome contributions to ox-hugo code, documentation so that it can help other Org Roam users too. Even if it doesn't make it into the repo, having a discussion related to ox-hugo + Org Roam issues/tips+tricks in the ox-hugo Discussions forum will be useful to others.
Thanks!
---
[1]: https://github.com/alexkehayias/emacs.d/blob/3b546048cc60976...
So org-roam notes are personal notes, your own digital information from mail to feeds, passing through financial transactions, attached files, ... there is not use-case for sharing, it's not a wiki. However you can export certain notes to html (eventually selecting them out of org-ql queries) and such html can be a page of a wiki, a page whose source can be in a git repo with push and pull to keep it up to date, but that's not a pre-coocked thing, it's just easy to do since all ingredients are already made.
You can for instance export toward GitIt wiki, or hack DokuWiki mode etc, being inside Emacs makes things far easier.
Imagine I’m on a team of five and each of us have information that we consider public, private, company, and company/private. The last two being info that should stay with the company and not with me when I leave, and information that should stay with the company and with me when I leave (perhaps research or best practices we adopted in our use of language Foo or technology Bar [“how we integrate CUDA” or “rules for smooth DB migrations”], where it’s not company proprietary but the company should have continued access.)
I can easily see how I could use org to organize my own information, but if I use it to create a silo of information that only I can access and that, from the company perspective, dies with me when I resign, that feels selfishly sub-optimal.
(Perhaps “public” and “company/private” are the same category in effect, but user1’s private and user2’s private are definitely different. I’d be willing to take any reasonable restriction such as segregation must be on a per-file basis.)
It uses a SQLite database to keep track of files and UUIDs, so multiple user access is going to be difficult.
Isn’t the main problem with org roam or similar solutions that the file names are random?
I quite like having searchable names. I’m a bit worried that when the database is lost I have a problem recovering the metadata.
For example, when calling org-roam-node-find to create a new note, say I type "This is My New Note". The file created is named "this_is_my_new_note.org".
Here's an article regarding workflow from the maintainer that I found quite helpful: https://jethrokuan.github.io/org-roam-guide/
Actually using org-attach and linking I essentially chased to use the classic filesystem + file manager for almost all my in-home activities, everything is accessed via org-roam-node-find and works beautifully well.
[1]: https://github.com/kaushalmodi/dotfiles/blob/master/logseq/l...