Try describing what you need:

TriliumNext Notes logo

TriliumNext Notes

★ 39.1k

A self-hosted alternative to Notion, Evernote, Onenote

GNU Affero General Public License v3.0Open Source — No PaywallSingle Container — single container — minimal hosting footprintBinary · Package · Flatpak +1No external DB14+ active committers (12mo)

About

Trilium Notes is a cross-platform note-taking application aimed at people who want to build and manage large personal knowledge bases. It organizes content into deep hierarchical trees and supports...

Community Ratings

No ratings yet

Features

  • hierarchical note trees
  • note cloning
  • rich WYSIWYG editor
  • code note editing
  • full-text search
  • note versioning
  • attributes and scripting
  • OpenID and TOTP login
  • synchronization with self-hosted server
  • REST API

Details

Last Updated
Nov 26, 2026
Created
May 23, 2017
Install Methods
binarypackage-managerflatpakdocker
Requirements
Chrome or Firefox for the browser-based interfaceA server installation for browser and mobile access
Default Port
8080From the project's Compose file
Authentication
oidc-sso2fa
API
REST
Backup & Export
native-exportfile-backup
Runtime / Stack
NodejsDockerK8S
Privacy & Independence
Cloud: Optional
User Model
Multi-User
Theming
Dark modeCustom themes
Deployment

Deployment: Docker Compose ✓Single Container — minimal hosting footprintsingle container

Run TriliumNext Notes yourself

Pick how much you want to manage.

5 more ways to host

Some links earn us a commission. netcup pays us one and is our preferred VPS host. Hostinger is a paid sponsor and is listed first.

Is this your project? Sponsor a listing

Run TriliumNext Notes with Docker Compose

Compose file from the TriliumNext Notes project repository.

1 service

no resource limits declared

needs persistent storage (3 volumes)

docker-compose.yml · @ a70d6e3 · scanned Nov 3, 2026

# Running `docker-compose up` will create/use the "trilium-data" directory in the user home
# Run `TRILIUM_DATA_DIR=/path/of/your/choice docker-compose up` to set a different directory
# To run in the background, use `docker-compose up -d`
services:
  trilium:
    # Optionally, replace `latest` with a version tag like `v0.90.3`
    # Using `latest` may cause unintended updates to the container
    image: triliumnext/trilium:latest
    # Restart the container unless it was stopped by the user
    restart: unless-stopped
    environment:
      - TRILIUM_DATA_DIR=/home/node/trilium-data
    ports:
      # By default, Trilium will be available at http://localhost:8080
      # It will also be accessible at http://<host-ip>:8080
      # You might want to limit this with something like Docker Networks, reverse proxies, or firewall rules,
      # however be aware that using UFW is known to not work with default Docker installations, see:
      # https://docs.docker.com/engine/network/packet-filtering-firewalls/#docker-and-ufw
      - '8080:8080'
    volumes:
      # Unless TRILIUM_DATA_DIR is set, the data will be stored in the "trilium-data" directory in the home directory.
      # This can also be changed with by replacing the line below with `- /path/of/your/choice:/home/node/trilium-data
      - ${TRILIUM_DATA_DIR:-~/trilium-data}:/home/node/trilium-data
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro

This file may be out of date. Check the TriliumNext Notes documentation for current setup steps.

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Sep 5, 2026

Alternatives to TriliumNext Notes

TiddlyWiki logo

TiddlyWiki

8.7k
TiddlyWiki is a non-linear personal web notebook and interactive wiki that can run as a single HTML file in the browser or as a Node.js application.
WikisNote Taking AppsKnowledge Management+2
Details
Joplin logo

Joplin

57.4k
Joplin is a free, open source note-taking and to-do application for managing searchable Markdown notes, notebooks, tags, and synchronization across devices.
Note Taking AppsPermissive LicenseTask Management+2
4 Containers
Details
Many Notes logo

Many Notes

1.1k
Many Notes is a Markdown note-taking web application for creating, importing, organizing, and sharing vault-based notes.
Note Taking AppsWikisKnowledge Management+2
Details
Standard Notes logo

Standard Notes

6.7k
An end-to-end encrypted note-taking app with cross-device sync, self-hosting support, and publishing features.
Note Taking AppsKnowledge ManagementSelf Hosting Solutions+3
Open Core
Details
Feather Wiki logo

Feather Wiki

98
Lightning fast and infinitely extensible tool for creating personal non-linear notebooks, databases, and wikis that is entirely self-contained, runs in your browser, and is only 58 kilobytes in size.
WikisCopyleft LicenseNote Taking Apps+3
Fully FOSS
Details
memEx logo

memEx

2
Structured personal knowledge base, inspired by zettlekasten and org-mode.
Knowledge ManagementCopyleft LicenseNote Taking Apps+2
Details
flatnotes logo

flatnotes

3.3k
A self-hosted, database-less note-taking web app that stores notes as markdown files in a flat folder.
Note Taking AppsWikisKnowledge Management+3
Details
Logseq logo

Logseq

45.7k
Logseq is an open-source knowledge management and collaboration platform for notes, tasks, PDF annotation, and organizing information.
Fully FOSSKnowledge ManagementNote Taking Apps+1
Fully FOSS
Details
opensidian logo

opensidian

417
An open-source, vault-compatible cross-platform markdown notes app with Obsidian-like behavior.
Note Taking AppsKnowledge ManagementFully FOSS+1
Fully FOSS
Details
SiYuan logo

SiYuan

47.4k
SiYuan is a privacy-first personal knowledge management system with block-level references, Markdown WYSIWYG editing, and self-hosted deployment options.
Knowledge ManagementCopyleft LicenseNote Taking Apps+1
3 ContainersOpen Core
Details
SilverBullet logo

SilverBullet

6.6k
SilverBullet is a self-hosted, browser-based personal knowledge management platform with a programmable Markdown editor.
Note Taking AppsPastebinsPermissive License+4
Single Container
Details
Zim logo

Zim

2.2k
Zim is a graphical desktop wiki editor for organizing notes, journals, task lists, and other plain-text wiki pages.
WikisNote Taking AppsKnowledge Management+3
Details

Related Software

tiddlypwa logo

tiddlypwa

40
Secure offline storage and cross-device synchronization solution for TiddlyWiki 5
WikisNote Taking AppsKnowledge Management+2
Fully FOSS
Details
Alexandrie logo

Alexandrie

4.0k
Alexandrie is a self-hosted, open-source knowledge base and wiki platform with an extended Markdown editor.
4 Containers
Details
tsuzuri logo

tsuzuri

357
Tsuzuri is a terminal-based block markdown notebook that keeps notes as plain Markdown files.
Note Taking AppsKnowledge Management
Details
plumio logo

plumio

141
plumio is a self-hosted markdown editor with live preview, document encryption, and multi-user, multi-organization support.
Note Taking AppsDocument ManagementKnowledge Management+1
Single Container
Details
Jotty logo

Jotty

2.1k
A self-hosted app for managing personal checklists and notes.
Note Taking AppsTask ManagementCopyleft License+2
Single Container
Details
OpenHabitTracker logo

OpenHabitTracker

311
A privacy-focused app for taking Markdown notes, planning tasks, and tracking habits.
Task ManagementTime TrackingCopyleft License+2
Details
Focalboard logo

Focalboard

26.6k
Focalboard is an open source, self-hosted project management tool for tracking and organizing work.
Task ManagementDev Project ManagementKnowledge Management+3
Details