Go to file
Elian Doran b92cd6c453
docs(claude): carry the live-inspection recipes into the skills
Both were only in the auto-memory store, where they are recalled by
relevance rather than read when the matching skill loads.

measure-startup-requests gains the counterpart to its login-based
capture: timing one module graph by importing it straight off the dev
server, which needs no session. The `.catch` on that import is the whole
trick — an ES graph is fetched and instantiated before any of it is
evaluated, so a module that throws for want of a session still gives a
valid number. The CKEditor figures are kept as the worked example, since
they are what identified the module graph rather than `editor.create()`
as the "first text note is slow" cost.

inspecting-the-running-app gains the `window.glob.appContext` summoning
tip, the NixOS system-chromium executablePath (its downloaded browsers
fail on libX11), a Linux port kill next to the PowerShell one, and the
pitfall that once produced a wrong diagnosis: an async re-render between
the evaluate() that reads computed styles and the screenshot() can wipe
the state being studied, which reads as the CSS never having painted.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-30 19:26:35 +03:00
.claude/skills docs(claude): carry the live-inspection recipes into the skills 2026-08-30 19:26:35 +03:00
.github Update actions/setup-java action to v6 2026-08-28 00:22:34 +00:00
.vscode make browser reference platform-agnostic and reliant on defaults 2026-02-23 12:29:29 +01:00
apps fix(share): frame a web view source rooted at this site (closes #11261) 2026-08-30 19:14:02 +03:00
docs fix(desktop): adapt login item and clipboard APIs to Electron 44 2026-08-30 02:00:04 +00:00
packages Update dependency happy-dom to v20.11.8 (#11252) 2026-08-30 04:44:32 +03:00
patches Merge remote-tracking branch 'origin/main' into copilot/switch-to-mapbox-gl 2026-08-03 23:40:41 +03:00
scripts fix(scripts): wipe node_modules without glob 2026-08-26 22:51:23 +03:00
.editorconfig chore: formatting for CJS files 2026-03-01 20:00:23 +02:00
.envrc chore: use direnv built-in has command 2025-12-23 20:52:07 +02:00
.gitattributes chore(git): diff TypeScript sources as text 2026-06-23 15:12:35 +03:00
.gitignore fix(desktop): stop writing startup-metrics.log outside dev (closes #11165) 2026-08-23 22:04:55 +03:00
.mailmap chore(mailmap): fold two author aliases into the canonical address 2026-08-18 15:43:32 +03:00
.mcp.json feat(mcp): require an ETAPI token on /mcp 2026-07-25 20:35:54 +03:00
.npmrc build(npm): use specific overrides instead of legacy-peer-deps 2025-01-27 07:54:48 +01:00
.nvmrc Update Node.js to v24.20.0 2026-08-29 00:36:05 +00:00
.nxignore chore(nx): remove dist & node_modules from .nxignore 2025-06-15 14:52:27 +03:00
CLAUDE.md docs(claude): carry three working rules over from session memory 2026-08-30 19:14:24 +03:00
CODE_OF_CONDUCT Create CODE_OF_CONDUCT 2022-02-12 13:17:49 +01:00
codecov.yml chore: remove the express-partial-content package 2026-08-07 19:17:58 +03:00
CONTRIBUTING.md docs: address CONTRIBUTING.md review feedback 2026-08-17 13:47:43 -07:00
contributors.json contributor list: update display name 2026-04-27 20:52:18 +03:00
docker-compose.rootless.yml feat(ci): add rootless dockerfiles 2025-05-13 18:51:18 +00:00
docker-compose.yml Update docker-compose.yml with new container image 2025-07-08 16:51:10 +01:00
edit-docs-config.yaml Refactor edit-docs to use edit-docs-config.yaml 2026-01-12 22:08:27 -08:00
eslint.config.mjs fix(lint): stop ESLint running out of memory on build artifacts 2026-08-12 23:44:14 +03:00
eslint.format.config.mjs fix(lint): stop ESLint running out of memory on build artifacts 2026-08-12 23:44:14 +03:00
flake.lock fix(nix): make flake more robust, reduce log spam 2026-07-25 10:56:59 +02:00
flake.nix perf(server): bundle to ESM with code splitting 2026-08-25 11:00:55 +03:00
LICENSE revert unintended license changes 2024-01-28 23:09:57 +01:00
package.json Update dependency happy-dom to v20.11.8 (#11252) 2026-08-30 04:44:32 +03:00
pnpm-lock.yaml fix(deps): resolve @electron/node-gyp to vanilla node-gyp from npm (#11258) 2026-08-30 05:43:07 +03:00
pnpm-workspace.yaml fix(deps): resolve @electron/node-gyp to vanilla node-gyp from npm 2026-08-30 02:21:20 +00:00
README.md docs: update Evernote import doc link to new docs path 2026-08-15 11:39:07 +08:00
renovate.json ci(pdfjs): own the pdf.js bump end to end 2026-08-08 16:08:23 +03:00
SECURITY.md docs(security): scope out the CSRF token being readable from the page 2026-08-21 13:44:43 +03:00
tsconfig.base.json fix: resolve TypeScript 6 typecheck issues 2026-03-31 19:22:16 +00:00
tsconfig.json chore: remove the express-partial-content package 2026-08-07 19:17:58 +03:00
vitest.config.ts ci(nix): sync the flake's Electron pin automatically 2026-08-08 15:55:22 +03:00

Trilium Notes

GitHub Sponsors LiberaPay patrons
Docker Pulls GitHub Downloads (all assets, all releases)
Translation status

Arabic | Chinese (Simplified Han script) | Chinese (Traditional Han script) | Czech | English (United Kingdom) | English | French | German | Greek | Indonesian | Irish | Italian | Japanese | Korean | Polish | Romanian | Russian | Spanish | Ukrainian | Urdu | Uyghur

Trilium Notes is a free and open-source, cross-platform hierarchical note taking application with focus on building large personal knowledge bases.

Trilium Screenshot

Download

  • Latest release stable version, recommended for most users.
  • Nightly build unstable development version, updated daily with the latest features and fixes.

📚 Documentation

Visit our comprehensive documentation at docs.triliumnotes.org

Our documentation is available in multiple formats:

  • Online Documentation: Browse the full documentation at docs.triliumnotes.org
  • In-App Help: Press F1 within Trilium to access the same documentation directly in the application
  • GitHub: Navigate through the User Guide in this repository

🎁 Features

Check out the following third-party resources/communities for more TriliumNext related goodies:

Why TriliumNext?

The original Trilium developer (Zadam) has graciously given the Trilium repository to the community project which resides at https://github.com/TriliumNext

⬆️Migrating from Zadam/Trilium?

There are no special migration steps to migrate from a zadam/Trilium instance to a TriliumNext/Trilium instance. Simply install TriliumNext/Trilium as usual and it will use your existing database.

Versions up to and including v0.90.4 are compatible with the latest zadam/trilium version of v0.63.7. Any later versions of TriliumNext/Trilium have their sync versions incremented which prevents direct migration.

💬 Discuss with us

Feel free to join our official conversations. We would love to hear what features, suggestions, or issues you may have!

🏗 Installation

Windows / MacOS

Download the binary release for your platform from the latest release page, unzip the package and run the trilium executable.

Linux

If your distribution is listed in the table below, use your distribution's package.

Packaging status

You may also download the binary release for your platform from the latest release page, unzip the package and run the trilium executable.

TriliumNext is also provided as a Flatpak, but not yet published on FlatHub.

Browser (any OS)

If you use a server installation (see below), you can directly access the web interface (which is almost identical to the desktop app).

Currently only the latest versions of Chrome & Firefox are supported (and tested).

Mobile

To use TriliumNext on a mobile device, you can use a mobile web browser to access the mobile interface of a server installation (see below).

See issue https://github.com/TriliumNext/Trilium/issues/4962 for more information on mobile app support.

TriliumDroid

If you prefer a native Android app, you can use TriliumDroid. Report bugs and missing features at their repository. Note: It is best to disable automatic updates on your server installation (see below) when using TriliumDroid since the sync version must match between Trilium and TriliumDroid.

Pocket Trilium

If you want a full-featured native Android app, check out Pocket Trilium. It runs a complete Trilium instance on your phone, supports full offline use, and allows you to sync with your server.

Trinote

If you want a native iOS app, you can use Trinote, an open-source client for your self-hosted Trilium / TriliumNext server. It lets you browse and organize your note tree, search for notes on the server, read and edit all note types (text, code, mindmap, spreadsheet, geomap, canvas, etc.), and keeps notes available and editable offline. Here's the repo if you're interested in contributing and here's the discord server if you have any feedback or suggestions you want to discuss.

Server

To install TriliumNext on your own server (including via Docker from Dockerhub) follow the server installation docs.

💻 Contribute

Translations

If you are a native speaker, help us translate Trilium by heading over to our Weblate page.

Here's the language coverage we have so far:

Translation status

Code

Download the repository, install dependencies using pnpm and then run the server (available at http://localhost:8080):

git clone https://github.com/TriliumNext/Trilium.git
cd Trilium
pnpm install
pnpm run server:start

Documentation

Download the repository, install dependencies using pnpm and then run the environment required to edit the documentation:

git clone https://github.com/TriliumNext/Trilium.git
cd Trilium
pnpm install
pnpm edit-docs:edit-docs

Alternatively, if you have Nix installed:

# Run directly
nix run .#edit-docs

# Or install to your profile
nix profile install .#edit-docs
trilium-edit-docs

Building the Executable

Download the repository, install dependencies using pnpm and then build the desktop app for Windows:

git clone https://github.com/TriliumNext/Trilium.git
cd Trilium
pnpm install
pnpm run --filter desktop electron-forge:make --arch=x64 --platform=win32

For more details, see the development docs.

Developer Documentation

Please view the documentation guide for details. If you have more questions, feel free to reach out via the links described in the "Discuss with us" section above.

💖 Sponsors

NetPerfect logo
NetPerfect

EV certificate & Windows CI
CKEditor logo
CKEditor

Premium editor features
Dosu logo
Dosu

Automated GitHub support

👏 Shoutouts

Trilium would not be possible without the technologies behind it:

🤝 Support

Trilium is built and maintained with hundreds of hours of work. Your support keeps it open-source, improves features, and covers costs such as hosting.

Consider supporting the main developer (eliandoran) of the application via:

🔑 License

Copyright 2017-2025 zadam, Elian Doran, and other contributors

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.