Introducing a new way to review your PRs.

Read the announcement

triliumnext / trilium

Build your personal knowledge base with Trilium Notes

View on GitHub

20 documents · Updated Nov 23, 2026

overview

Knowledge Base updated: 2026-11-22

TriliumNext knowledge base

TriliumNext is a pnpm workspace for a self-hosted, hierarchical note-taking system. Its main parts are the Node server, browser client, desktop and standalone runtimes, web clipper, shared packages, and build/deployment tooling.

Authoritative note, relation, attachment, revision, and configuration state is managed by the server and trilium-core; browser and native clients present and synchronize that state through shared contracts and server APIs. Embedded editors and renderers are reusable workspace packages.

System map

flowchart TD
  User[User] --> Client[Browser client]
  User --> Desktop[Electron desktop]
  User --> Standalone[Standalone browser runtime]
  User --> Clipper[Web clipper extension]
  Desktop --> Client
  Standalone --> Client
  Clipper --> Server[Node server]
  Client --> Server
  Server --> Core[trilium-core]
  Server --> Share[Share subsystem]
  Core --> DB[(Database and files)]
  Client --> Editors[Editor and viewer packages]
  Editors --> Shared[commons contracts]
  Server --> Shared
  Build[Build and release automation] --> Desktop
  Build --> Deploy[Containers and deployment targets]
  Showcase[Showcase asset pipeline] --> Build

Glossary

  • Becca — the core entity layer used for note-related domain state.
  • Shaca — the share-side entity model used by public-content handling.
  • SNote — a share-context note representation.
  • TriliumNext — the workspace application and its client/server platform.

Codebase-wide invariants

Routing table