maphew

Leo and Trilium

Thoughts on the threads I've sparked on Leo mailing list wrt to the familial similarities between Leo and Trilium.

>Trilium's weaknesses:

>There is no minibuffer and no way to execute commands by name. 

 True, but not fundamentally blocked. In the Awesome Trilium list is a js plugin for adding a command-palette. I imagine it's modelled after vs-code's Ctrl-Shift-P type-name-looking-for.

>There are no menus! Instead, small icons must suffice

 yeah, I'm not so fond of there being no menu at all. Mitigating that is the F1 popup quick reference for the most used keyboard shortcuts. It is excellent.

Trilium can not create external files. Unless I am mistaken, one can only export nodes.

Yes, a big difference and lack here from my perspective.

Fundamental differences (observed so far):

Leo is plain text first, and achieves rich text and media by rendering. Trilium is rich text and media first, with the primary entry mechanism through the 3rd party CKEditor which saves as html. This is the foundational split behind the whole VR and multiple panes (pains? heheh) vs single pane thinking and attendant mitigation machinery. Trilium doesn't have to think about rendering hardly at all, since it's the embedded browser that does that.

Leo uses file system for storage and Trilium uses sqlite. This gives Leo it's external files extended abilities very nearly for free. For Trilium to adopt such features would be an exercise of some effort. Otoh, being able to run sql queries across all nodes can't be anything but powerful. (In Trilium access the SQL Console via Alt-0 or the flower logo at top left; yeah, speaks to lack of menu). 

It's this db backend which enables syncing one's entire KB across all devices in a pretty much set-and-forget manner. It's almost as good as Fossil SCM in this regard. This is very, very attractive.

Another Trilium limit: there's only a single knowledge database. ALL your Trilium work is one place. There is discussion on a future with multiple db but nothing substantive that I've seen. I'm new to the space and might be missing the action though.)

– Posted to https://groups.google.com/g/leo-editor/c/qJ4Moj44G4c/m/CG6ndLKNAQAJ