TriliumNext
Hierarchical, self-hosted knowledge base with a JavaScript scripting layer, per-note encryption, and support for mind maps, sketches, and relation maps. Scales to 100k+ notes
Quick Start
docker run -p 127.0.0.1:8080:8080 triliumnext/trilium Overview
TriliumNext is a self-hosted note-taking application built around a hierarchical tree structure. Notes live in a tree that goes as deep as you need, and a single note can appear in multiple branches through cloning, which suits building interconnected knowledge bases rather than flat document collections.
The editor handles rich text, code with syntax highlighting, math, tables, Excalidraw sketches, mind maps, relation maps, and geo maps. Notes carry attributes for querying and organisation. A JavaScript scripting layer lets you write automations that run inside the application itself, and a REST API connects Trilium to external tools. Users frequently script things like auto-tagging, index generation, or pulling external data into notes.
The system scales to 100,000 notes without meaningful performance degradation. Per-note encryption protects sensitive content individually rather than requiring a blanket vault password. Sync runs through a self-hosted server, and notes can optionally be published to a public URL for sharing.
TriliumNext is the community fork of the original Trilium, handed off by its creator in 2023. The lead maintainer (eliandoran) has kept development moving quickly, with 36,000 GitHub stars and daily commits. The main complaint across Reddit and reviews is the mobile experience, which trails the desktop and web versions in polish.
Use Cases
Specific ways to use TriliumNext for your workflow.
Deployment Strategy
Recommended ways to host TriliumNext in your own environment.