Intro
TriliumNext Notes is an open-source, cross-platform hierarchical note taking application with focus on building large personal knowledge bases.
Cool Things I Can Do With Trilium
- Make a widget that opens or creates my daily journal note (except I made the day roll over at 5am) and creates a subnote with a randomly selected writing prompt.
- Self host trilium on my server and log in with a password on any device with a web browser. Offline editing is possible in the desktop app.
- Full text search my notes and apply bulk actions. Or save the search itself as a subtree of notes.
- Mark subtrees of notes as public and share them on the web (like this one!).
Note about ‘Next’
The original project was just called trilium, but in 2024 it entered maintenance mode. The currently-maintained and updated successor can be found at TriliumNext/Notes. So far, the Next version has added nice quality of life changes over the original.
Good Things About Trilium
- free and open source
- syncing to my self hosted server works very well
- Web interface is great. On anything with a browser I can go to the domain, log in, and edit away. The web interface supports 99% of the features desktop version.
- Pretty good wiki and documentation (example)
- Everything is stored in SQLite, so it's fast.
- Infinitely scriptable, though it has a learning curve.
- Can store images, though you shouldn't store many large images.
- Seems pretty akin to self-hosted obsidian
- The editor is pretty intuitive
- Notes accessible on phone. (barely. decent enough for reading but editing is a pain).
- Publicly sharing notes is a very powerful concept.
- Visually appealing WYSIWYG editor
- Backups are as easy as DUMPing the sqlite db.
- Custom endpoints combined with the backend script api is a very cool and powerful concept. You can expose endpoints to the public (or make them less-accessible) that do just about anything you want. See: vods.kevbot.xyz for an example.
- I've been using trilium a lot for over 11 months and I'm still figuring out new, useful features and behaviors.
Mid Things
- You can share to trilium from your phone but it's kind of basic.
- The main app is an electron app, but it's not so heavy. While you can use the web frontend in the browser instead, I'd recommend usually using the electron app.
Bad Things
- phone is awkward for editing notes. The UI just isn't really built for this and typing in particular gets wonky.
- small community?
- When you update the source code of a widget (including when you pull in a change on a sync on bootup), you have to reload the desktop app for the changes to be respected. Ctrl + R suffices for this, though.
- single user (this is fine for me)
- There's not much builtin for managing TODOs. Sure, there are checkboxes you can check. But there's not much in the way of an advanced task tracking mechanism commonly seen in other productivity apps. Things like copying tasks to the next daily note when unchecked would be cool. Or a note type that moves checked tasks bottom and struck out ala google keep.
- Note: people have built out task managers like this one, but even still it's kind of awkward.
- I don't think i can attatch audio notes? or any non-image files for that matter
- Spell check is wonky and undesirable (I disabled it)
- I wish i could better diff changes to a given note. (like git, kinda)
- there are note revisions which should be sufficient for storing history, but not so good for, say, rolling back individual lines.
- it doesn't really have #tags from what i can tell? you can do
@
stuff but it's different?- there are labels for a note. inside a note you can link to other notes, but you can't really use tags inside a note. As in, typing #math inside a note has no special meaning. Though I could apply the label #math to the note's attributes.
- Internal links to bookmarked notes may link you to the note inside the Bookmarks section of the special “Hidden Tree”.