Open ArneBab opened 3 years ago
This is an interesting idea, yes. I'd generally recommend using org-ql
as the base rather than org-rifle
. See, e.g.
The hard parts, it seems to me, are providing enough data to be useful outside of Emacs, and allowing users to easily jump to the entries in Emacs. However, for your use case, maybe that's not necessary. And using org-ql
you can easily return whatever data you want from a query.
org-rifle is hands-down the best way to find information in org-mode files.
To make it easier to use it for a general shared knowledge-base, the requirement to run it from within Emacs is limiting, though, because that excludes many wonderful colleagues who do not use Emacs as their environment. Therefore it would be great to have a command-line client to org-rifle.
Maybe a wrapper around Emacs which directly runs org-rifle to make Emacs transparent in the process.
Something like the following script (named
know
) that can be linked into ~/.local/bin and gets its configuration from a setup.el-file in the directory it is installed in:setup.el:
With this you can always call
know
from anywhere in the commandline and rifle through the knowledge base. It’s much nicer than searching in a shared wiki.I have the know.org file in versiontracking, so my knowledge-base entries are accessible to others after the next push.