selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Trilium Notes logo

Self-host Trilium Notes

v0.107.0

Open-source hierarchical notes for personal knowledge bases

BetaOpen SourceAGPL-3.0
sudo docker run -t -i -p 127.0.0.1:8080:8080 -v ~/trilium-data:/home/node/trilium-data triliumnext/trilium:[VERSION]
Updated5 days ago
LanguageTypescript
Setup difficultyEasy
MobilePWA
ThemeDark mode
Stars
38 926
Port
8080 (Web UI / HTTP server of the container (unless configured otherwise))
Docker
triliumnext/trilium
Trilium Notes screenshot 1Trilium Notes screenshot 2Trilium Notes screenshot 3Trilium Notes screenshot 4Trilium Notes screenshot 5Trilium Notes screenshot 6Trilium Notes screenshot 7

What is Trilium Notes?

Trilium Notes alternatives

Should you self-host Trilium Notes?

Trilium Notes scores 85/100 on selfhost.directory (how scoring works) and ranks #1 of 83 in Notes & Editors. It has 38 926 GitHub stars, +655 in the last 30 days.

It shipped 15 stable releases in the past year. The latest, v0.107.0, came out on 8 November 2026. New versions land roughly every 4 weeks.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Memos (85/100, 64 451 stars). Trilium Notes scores higher overall. See Trilium Notes vs Memos side by side.

Trilium Notes README

How to install Trilium Notes

Install Trilium Notes with Docker

sudo docker run -t -i -p 127.0.0.1:8080:8080 -v ~/trilium-data:/home/node/trilium-data triliumnext/trilium:[VERSION]

Docker CLI variant; bind to 0.0.0.0:8080 for global access. The --user directive is unsupported for the standard image, use USER_UID/USER_GID.

How to configure Trilium Notes

  • TRILIUM_DATA_DIRPath to the data directory inside the container (default: /home/node/trilium-data)
  • TRILIUM_NETWORK_HOST"0.0.0.0"Server host binding

    values: string

  • TRILIUM_NETWORK_PORT"8080"Server port

    values: string

  • TRILIUM_UIDUID to use for the container process in the rootless image (passed to Docker's --user flag)
  • TRILIUM_GIDGID to use for the container process in the rootless image (passed to Docker's --user flag)

Trilium Notes releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

How is my data protected?

Notes are unencrypted by default; a note marked as encrypted is stored using AES-128-CBC.

Can I share my database over a network drive?

No, sharing the SQLite database over a network drive risks corruption because of imperfect file locks.

How well does the application scale with a large amount of notes?

It should handle at least 100,000 notes, but syncing many very large files can fail since it is a knowledge base rather than a file store.

Where is the data stored?

In an SQLite database inside the application folder, chosen for performance and features such as cloning notes.

Can multiple people collaborate on the same notes?

No, it is a single-user app: you can sync your own notes across devices and publish read-only notes, but not co-edit in real time.

Is there a hosted or cloud version?

No official hosted version exists yet; you self-host the desktop or server, though third parties such as PikaPods offer managed hosting.

Do I need a server to use Trilium?

No. The desktop application alone is enough to start; a server only adds browser access and multi-device synchronization.

Is there a mobile application?

There is no official mobile app, but a server instance can be opened in a browser and installed as a PWA; TriliumDroid is an unofficial Android client.

Is Trilium free?

Yes. It is free and open-source under AGPL-3.0 with no paid tiers, accounts or paywalls, and you may self-host and modify it.

More in Notes & Editors

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…