Trilium

TriliumNextAGPL-3.0活跃维护

本地优先的层级笔记工具,支持笔记树、知识图谱和富文本编辑,适合搭建个人知识库。

Build your personal knowledge base with Trilium Notes

v0.107.0发布于 2026-11-08 22:06 UTC38,806star +78 / 7 天2,625fork同步于 2026-11-10 11:20 UTC

怎么上手

由 README 提炼,执行前请确认
git clone https://github.com/TriliumNext/Trilium.git
cd Trilium
pnpm install
pnpm run --filter desktop electron-forge:make --arch=x64 --platform=win32
硬件要求按 README 说明

README 未说明硬件要求;作为跨平台桌面与服务端应用,未提及显存或 GPU 型号限制。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

开源跨平台层级笔记应用,专注构建大型个人知识库

本地优先的层级笔记工具,支持笔记树、知识图谱和富文本编辑,适合搭建个人知识库。

核心能力

  • 笔记可放入任意深度的树,并支持克隆到多个位置
  • 富文本所见即所得编辑器,支持表格、图片、数学与 Markdown 自动格式化
  • 内置全文搜索、笔记提升与快速跳转导航
  • 支持笔记版本历史与逐条笔记粒度的加密
  • 提供 REST API、脚本能力与自托管同步服务器

容易踩的坑

从 zadam/Trilium 迁移无需特殊步骤,直接安装新版即可复用现有数据库;构建桌面端需先安装 pnpm 依赖;同步功能需自建同步服务器或使用第三方托管服务。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.107.0
  1. v0.107.0最新正式版2026-11-08 · 2026-11-08 22:06 UTC

    v0.107.0

    [!NOTE] If you enjoyed this release, consider showing a token of appreciation by:

    [!TIP] For Linux users: Trilium is now available on Flathub!

    This is the release where a text note stops being a single document. Notes can be embedded, quoted and referenced inside other notes and edited where they appear, laid out in columns and tabs, and mixed with drawings, attached files and video. Tables in text notes get the tools they had been missing, from merged cells to sorting, and the old layout is gone, a year after the new one replaced it.

    Around the editor, the parts of the app that everyone touches were rebuilt: the context menus and the note autocomplete, the full search and the jump dialog, the launch bar and the tree. Shared pages look like the app again and render collections with their own views, and the calendar and geo map collections get the properties dialogs the board already had.

    The AI integration becomes something to trust with a real database: every tool call asks before it reads or changes a note, a ChatGPT Codex subscription can stand in for an API key, and local models get web search through a search engine of your choice. On phones, iOS has a new layout and both apps navigate without a sidebar.

    💡 Key highlights

    The text editor became a block editor

    A text note used to be a document: one body of rich text, with other notes reachable only through links. It is now a composition. A note can embed another note and let you edit it where it sits, quote a few of its blocks and keep the quote current, or point at one paragraph of it instead of at the whole note.

    • Editable transclusion: an included text or code note is edited inside the host note with the full editor, and one undo history covers both.
    • Live excerpts quote blocks of another note. They stay in sync, and an edit made in the excerpt is saved back to the source.
    • Block references link to a paragraph, heading, table or range of blocks. The target opens scrolled to the block and highlighted, and on a shared page every block has a public link of its own.

    Layout caught up with content. Multicolumn layouts put two to four columns side by side and stack them on narrow screens. Drawing canvases are sketched in place with Excalidraw and saved with the note. Files are attached in one step, as inline embeds for PDFs and spreadsheets or as links, and YouTube videos and web audio or video play inside the note. A block handle moves blocks, images and tables, a "+" on an empty line opens the slash commands, and one link dialog serves web links, note links and anchors from a popover at the cursor.

    The include box itself was reworked: a compact title row with a caption, fullscreen, a link from the embed to its note and back, Markdown included as source, split or preview, code with folding and line numbers, and resizing by dragging a corner or an edge.

    Contributed by @adoriandoran.

    Tables in text notes

    Tables were the editor's weak spot: no merged cells, no sorting, and anything past a few rows meant switching to a spreadsheet note. The table context menu now merges and unmerges cells, distribute

  2. v0.106.12026-10-23 · 2026-10-23 21:07 UTC
    查看更新说明

    v0.106.1

    [!IMPORTANT] This is a security release for the server and Docker images. If you run Trilium as a server, especially one reachable from the internet, update as soon as possible.

    🔒 Security

    1. Updated Node.js in the Docker images to 24.22.1 (22.23.4 for the legacy image), taking in the Node.js security releases of 21 October 2026:
      1. Brotli decoder out-of-bounds write (CVE-2026-111497). Trilium decompresses Brotli-encoded request bodies before authentication, so on earlier versions any client that could reach the server could send a malicious request. Outbound requests (link previews, image downloads, web search) were also affected through the responses they receive.
      2. Revoked eMudhra/emSign certificate authorities. The certificate store bundled with Node.js trusted certificate authorities whose keys were compromised. This allowed a man-in-the-middle with the right network access to impersonate HTTPS servers that Trilium connects to (sync with another instance, link previews, LLM providers).
      3. Other fixes to TLS, HTTP and DNS handling from the same Node.js release.

    [!TIP] If you enjoyed this release, consider showing a token of appreciation by:

  3. web-clipper-v1.2.0-rc1pre-release2026-10-12 · 2026-10-12 15:41 UTC
    查看更新说明

    [!IMPORTANT] The extension keeps working with older Trilium versions. A few features also need Trilium v0.107.0 or newer (not yet released, however a nightly can be used if desired), marked with 🆕 Trilium v0.107 below. Saving a PDF is the only one that refuses to run on an older server; it asks you to update Trilium instead.

    For Chrome instructions: https://docs.triliumnotes.org/user-guide/setup/web-clipper#for-chrome The Firefox the instructions are out of date, there the process is just to click on the file and it will immediately ask whether to install it.


    ✨ What's new

    👀 See what you save before saving it

    The popup is redesigned around a preview card: the note's title (editable), the website, and a preview of the content.

    • Modes, offered only when they apply: Selection when text is selected, Page when the page can be read, PDF on a PDF tab, and Bookmark always. The card opens on the most specific one.
    • Article or whole page. Page mode has an Article / Whole page switch. Whole page keeps galleries, dashboards and card grids that article extraction would trim away (#9611). The keyboard shortcut and the context menu save the article, or the whole page when there is no article, instead of failing.
    • A note about the page in every mode (#5350). A text box at the top of the card holds your note. It is placed above the clipped content as a note admonition. Ctrl+Enter saves from any field.
    • Bookmark replaces "Link with a note". The title is a field of its own instead of being guessed from your note's first sentence, so titles no longer break on "e.g." or "v1.2".
    • Code in the preview is styled like the share theme and set in JetBrains Mono (#2092). Embedded YouTube videos show as a chip instead of a player that cannot run.
    • The outcome stays in the popup. "Saving to Trilium…", then Open note (and Close saved tabs after saving tabs), or the reason it failed. This also works where no notification can appear on the page: browser pages, extension stores and Firefox's PDF viewer.
    • Pages the extension cannot read say so and offer what still works, instead of failing silently.
    📄 Better page extraction
    • Pages are now read with Defuddle instead of Readability. It keeps the lead image that news sites put outside the article body and drops duplicate responsive copies of the same picture (#2621).
    • The extractor loads only when a page is actually read, not on every page you visit. The script that runs on each page is now 11 kB.
    • Saving works in tabs that were open before the extension was installed or updated.
    📸 Full-page screenshots

    A new Full page capture, available from the popup, the context menu and a bindable shortcut.

    • Fixed headers, cookie banners and chat buttons appear once, not in every slice. Sticky elements stay in place, and scrollbars are left out.
    • Long pages are saved as several images of at most 8,192 px each, up to 100 captures. If a page is cut off, the clipper says so.
    • In Firefox, the page is captured without scrolling through it.
    • Screenshots are shrunk by width only, so a tall page is no longer squeezed into a thin strip. 🆕 Trilium v0.107
    • The capture buttons are renamed after what they capture: Area, Visible, Full page and All tabs.
    📑 Save PDFs (#1209)

    On a tab showing a PDF, the popup offers a PDF mode. The PDF is downloaded with your cookies (so a PDF behind a login works) and saved as a file note, which Trilium opens in its PDF viewer and indexes for sea

  4. v0.106.02026-09-25 · 2026-09-25 18:21 UTC
    查看更新说明

    v0.106.0

    [!NOTE] If you enjoyed this release, consider showing a token of appreciation by:

    [!TIP] For Linux users: Trilium is now available on Flathub!

    [!IMPORTANT] For Docker users: If the Docker container appears unhealthy after the upgrade, recreate the container if you are using an auto-updater and check you have no healthcheck override in the Docker compose.

    💡 Key highlights

    📋 Kanban board overhaul by @adoriandoran

    The board has been rebuilt to handle real projects. Give each column an icon, a color or a card limit, collapse the columns you're not working on, and archive them once they're done. New notes that don't belong to a column yet land in an optional Inbox column. Cards can be created from a template (e.g. a Bug template for a bug tracker), and Board properties controls which attributes the cards show and in what order. You can also switch the attribute the board is grouped by at any time, and each grouping keeps its own columns.

    As a board grows, sort columns automatically by title, date or any attribute, and narrow the board with the filter box in the header, which accepts the full search syntax. Select several cards with Ctrl/Shift+click to move, edit or delete them together. Use Copy reference to link to a card or column from any note. The whole board works from the keyboard (Alt+F1 lists the shortcuts) and by touch on mobile, and a column with thousands of cards now stays smooth.

    This concludes the phase two of the board collection, more features to come.

    🔎 Significant improvements to search

    1. Matching by @perfectra1n
      1. Punctuation-aware exact matching: =sync finds (sync), sync,, "sync" (#10616)
      2. Fuzzy tolerance now scales with term length (0/1/2 edits); a substring is no longer treated as a typo
      3. ~* matches fragments again; fuzzy fallback extended to note body content
      4. Link previews and reference-link target titles are indexed and searchable
      5. Diacritics normalized for highlighting too, not just matching
      6. Ranking: results ordered by match quality (exact phrase > proximity > word > prefix > substring > fuzzy), bounded so content never outranks a title match.
    2. Results view by @perfectra1n
      1. Google-style snippet cards with breadcrumb and matched-attribute badges (#5667, #6225)
      2. Always-visible result count + synced 10/20/50/100 page-size option
      3. Fuzzy matches highlighted distinctly (dotted orange) from exact ones; %= regex terms highlight correctly (#5332)
    3. Jump to match by @perfectra1n: clicking a result opens the note at the first match with the find bar pre-filled; collapsed sections expand automatically (#3098, #10616). Jump to Note stays a title-only navigator (no misleading content snippet).
    4. Improved the speed of the jump-to-note significantly by optimizing the search itself, but also by honoring the option to disable fuzzy search in autocompletion (which was disabled by default but not used at all).

    🗺️ Geomap now features a built-in location search, current position indicator and shapes

  5. v0.105.02026-08-19 · 2026-08-19 18:19 UTC
    查看更新说明

    v0.105.0

    [!IMPORTANT] If you enjoyed this release, consider showing a token of appreciation by:

    The release that makes Trilium lighter, more visual and easier to organise: images shrink themselves, attributes get a home of their own, and your backups can finally be restored.

    [!WARNING] Before you upgrade. This release contains changes that can break an existing setup.

    1. MCP now requires authentication and can optionally be accessed over the network. → Reconfigure your existing MCP clients with credentials.
    2. General HTML support in text notes is now disabled by default. This makes copy-paste from websites behave well, without grabbing unwanted tags such as input boxes. → Re-enable via Options → Text notes → Preserve unsupported HTML tags.
    3. **<div>**s in text notes are now unwrapped instead of being preserved as-is, regardless of settings. This prevents broken behaviour when entering new paragraphs, and bugs such as being unable to exit a code block.

    ✨ Highlights

    Know what's in your database — and take it back

    Two new tools answer the same question from opposite ends: what is actually taking up all that room?

    • Space Usage draws it as a treemap — notes, revisions and attachments sized by how much space they take — so the thing quietly eating your disk is visible at a glance instead of guessed at. The cleanup tool then acts on what you find: erase deleted notes, trim old revisions, drop unused attachments and compact the database.
    • Compress images goes after the usual culprit, resizing oversized pictures and re-saving them smaller — from a note, the tree, the attachments list, the image viewer or the cleanup run itself. It tells you what it found before it starts and what it saved when it finishes.

    Automatic compression on upload, paste and import now keeps PNGs as PNGs, leaves already-compressed pictures alone, and runs off the thread serving the app, so a large import no longer freezes Trilium. (@adoriandoran)

    Attributes finally have a home

    A dedicated Attributes sidebar tab shows owned, inherited and promoted attributes in one clear list, and lets you edit them in place. System attributes are marked with an icon in the sidebar and

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    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 | Vietnamese

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

    Looking for "Trillium Notes"? The project's canonical spelling is "Trilium Notes", with one l.

    ⏬ 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

    Quick Links

    🎁 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

    👏 Shoutouts

    Trilium would not be possible without the technologies behind it:

    • CKEditor 5 - the visual editor behind text notes.
    • CodeMirror - code editor with support for huge amount of languages.
    • Mermaid - renders the diagrams of Mermaid notes; its parsers are the model for their syntax highlighting.
    • codemirror-lang-mermaid - the base of the Mermaid syntax highlighting.
    • Excalidraw - the infinite whiteboard used in Canvas notes.
    • Mind Elixir - providing the mind map functionality.
    • Leaflet - for rendering geographical maps.
    • Tabulator - for the interactive table used in collections.
    • FancyTree - feature-rich tree library without real competition.

    🤝 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.