Go to file
Elian Doran fc7b6a6846
ci: follow vitest 5's project uniqueness and blob report path
Two breakages that the typecheck failure was hiding, since every step after it
in the "Test development" job was skipped and the CKEditor job never got as far
as uploading anything.

The root config globs both `packages/*/vitest.config.ts` and
`packages/*/vite.config.ts`. ckeditor5 is the only package with both, and its
vite.config.ts merely builds the library — it declares no tests at all. Vitest 4
registered it anyway as a second project sharing the package's name; vitest 5
rejects the duplicate outright and `pnpm scripts:test` cannot start:

    Error: Project name "@triliumnext/ckeditor5" from
    "packages/ckeditor5/vitest.config.ts" is not unique.

Blob reports also moved from `.vitest-reports/` to `.vitest/blob/`, alongside
the attachments that moved to `.vitest/`. The shard jobs were writing them where
nothing looked, so the upload failed with "No files were found" — after the
tests themselves had passed. The merge job reads the same path and would have
failed next.

Verified by running what CI runs: both shards, then `--mergeReports --coverage`,
which replays 127 files / 1626 tests and clears the gate at
99.91/99.54/100/99.98.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-07 23:31:58 +02:00
.claude/skills test(ckeditor5): run browser mode on Playwright instead of webdriverio 2026-09-07 23:19:52 +02:00
.github ci: follow vitest 5's project uniqueness and blob report path 2026-09-07 23:31:58 +02:00
.vscode make browser reference platform-agnostic and reliant on defaults 2026-02-23 12:29:29 +01:00
apps test(client): move the formatter benchmark onto the vitest 5 bench API 2026-09-07 23:19:53 +02:00
docs test(ckeditor5): run browser mode on Playwright instead of webdriverio 2026-09-07 23:19:52 +02:00
packages test: hoist vi.mock() calls to module scope 2026-09-07 23:19:53 +02:00
patches Merge remote-tracking branch 'origin/main' into copilot/switch-to-mapbox-gl 2026-08-03 23:40:41 +03:00
scripts chore(flatpak): trim the filterSources comment to the binding constraints 2026-09-01 14:09: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 fix(patches): pin patches/ to eol=lf for pnpm 12's diff parser 2026-09-06 11:33:01 +02:00
.gitignore test(ckeditor5): run browser mode on Playwright instead of webdriverio 2026-09-07 23:19:52 +02: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 test(ckeditor5): run browser mode on Playwright instead of webdriverio 2026-09-07 23:19:52 +02: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 test(ckeditor5): run browser mode on Playwright instead of webdriverio 2026-09-07 23:19:52 +02:00
LICENSE revert unintended license changes 2024-01-28 23:09:57 +01:00
package.json test(ckeditor5): run browser mode on Playwright instead of webdriverio 2026-09-07 23:19:52 +02:00
pnpm-lock.yaml test(ckeditor5): run browser mode on Playwright instead of webdriverio 2026-09-07 23:19:52 +02:00
pnpm-workspace.yaml chore(deps): drop the comment above the @parcel/watcher allowBuilds entry 2026-09-07 22:35:33 +02: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: follow vitest 5's project uniqueness and blob report path 2026-09-07 23:31:58 +02: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.