Logo
Deploy Now

Stars

36875

Forks

2474

Watchers

276

Developer links

Trilium Notes

For people whose notes number in the tens of thousands, Trilium Notes is the hierarchical note-taking application built specifically for large personal knowledge bases - actively maintained as TriliumNext. Notes arrange into arbitrarily deep trees where every note is both content and container, and cloning lets a single note live in multiple places at once - bash notes belong under both Linux and Scripting, and Trilium refuses to make you choose. A WYSIWYG editor handles rich text, tables, math, and syntax-highlighted code blocks with Markdown-style shortcuts, while dedicated note types cover Excalidraw sketches, mind maps, geo maps with GPX tracks, relation maps that visualize connections between notes, and tables with typed columns. The attribute system is the power layer: labels attach queryable metadata (#year=1999, #author), relations create named links between notes, and both inherit down the tree - feeding full-text search, saved queries, and scripting. Scripting is Trilium's deepest differentiator: JavaScript code notes run on events like note changes or hourly schedules, build custom widgets, and add server-side logic, turning the knowledge base into a programmable platform. Protected notes encrypt sensitive content, note hoisting focuses on subtrees, and the self-hosted server syncs desktop clients across devices.

Trilium Notes
Trilium Notes

Benefits

  • Built for Six-Figure Note Counts
  • Deep tree hierarchy, hoisting, and fast full-text search keep massive knowledge bases navigable where flat-notebook apps collapse.
  • Notes That Live in Two Places
  • Cloning puts one note under multiple parents as true equals - the filing dilemma every strict tree forces simply disappears.
  • A Knowledge Base You Can Program
  • JavaScript scripting with event triggers, custom widgets, and server-side logic turns Trilium into a personal application platform.
  • Structure Emerges from Metadata
  • Inheritable labels and relations make notes queryable like a database, powering saved searches, tables, and relation maps.

Features

  • Hierarchical Trees with Cloning
  • Arbitrarily deep nesting where any note can appear in multiple places as equal instances.
  • Rich Note Types
  • WYSIWYG text, code notes, Excalidraw canvases, mind maps, geo maps with GPX, and typed tables.
  • Attributes and Relations
  • Queryable labels and named note-to-note links with inheritance down the tree.
  • Relation and Note Maps
  • Interactive visualizations of how notes connect, built on jsPlumb.
  • JavaScript Scripting
  • Event-driven code notes, custom widgets, and server-side logic through the built-in API.
  • Protected Notes and Sync
  • Per-note encryption for sensitive content plus multi-device sync via the self-hosted server.