Go to file
Elian Doran 72182bc25f
fix(lint): stop ESLint running out of memory on build artifacts
`cap sync` copies the whole standalone bundle into the native mobile
projects, and those copies are gitignored but sit outside a `dist`, so
the ignore lists missed them. They accounted for 187 MB of the 204 MB
that `dev:format-check` was parsing — including three copies each of
Spreadsheet (5.6 MB), typescript (3.5 MB) and pdf.worker (2.4 MB).
Feeding minified single-line bundles to @stylistic/indent and max-len
exhausted the default heap, so the run only ever died once you had built
for mobile. Nothing tracked under apps/mobile/{android,ios} is lintable,
so excluding them costs no coverage.

Peak RSS drops from 2.0 GB to 634 MB and the run finishes in 26 s.

Also excludes vendored third-party code from the format config, which is
a hazard rather than just noise: `dev:format-fix` would have reformatted
the pdf.js viewer, breaking both vendored_viewer.spec.ts and the patch
matching in update-viewer.ts.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-12 23:44:14 +03:00
.claude/skills docs(skills): add one for profiling the client 2026-08-12 00:05:24 +03:00
.github fix(llm): point the price-table script at core, where the table now lives 2026-08-09 20:01:19 +03:00
.vscode make browser reference platform-agnostic and reliant on defaults 2026-02-23 12:29:29 +01:00
apps fix(text): cut selection into sub-note loses the selection (closes #9890) 2026-08-12 23:35:11 +03:00
docs Translated using Weblate (Irish) 2026-08-12 12:26:33 +00:00
packages fix(text): cut selection into sub-note loses the selection (closes #9890) 2026-08-12 23:35:11 +03:00
patches Merge remote-tracking branch 'origin/main' into copilot/switch-to-mapbox-gl 2026-08-03 23:40:41 +03:00
scripts perf(dev): give each dev server its own Vite dep cache 2026-08-10 18:05:32 +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 ci: shard the CKEditor suite so coverage data cannot exhaust the browser 2026-08-01 20:36:12 +03:00
.mailmap chore(scripts): tweak criteria for contributors 2026-04-19 15:34:14 +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.19.0 2026-08-06 00:28:52 +00:00
.nxignore chore(nx): remove dist & node_modules from .nxignore 2025-06-15 14:52:27 +03:00
CLAUDE.md build: name the native compiler @typescript/native, and record why the compat package is unusable 2026-08-09 18:10:36 +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
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 build(nix): pin Electron 43.3.0 in the flake 2026-08-08 12:58:29 +00:00
LICENSE revert unintended license changes 2024-01-28 23:09:57 +01:00
package.json Update dependency eslint to v10.8.1 (#10982) 2026-08-11 10:58:13 +03:00
pnpm-lock.yaml Update dependency @anthropic-ai/claude-agent-sdk to v0.3.226 (#10981) 2026-08-11 10:58:56 +03:00
pnpm-workspace.yaml Update ai sdk 2026-08-11 00:25:49 +00:00
README.md docs: update acknowlegment for icons 2026-07-23 15:11:36 +03:00
renovate.json ci(pdfjs): own the pdf.js bump end to end 2026-08-08 16:08:23 +03:00
SECURITY.md fix(llm): vet the provider endpoint address before connecting to it 2026-08-12 00:36:18 +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.