Trilium Notes¶
英文 | 简体中文 | 正体中文 | 俄文 | 日文 | 意大利文 | 西班牙文
Trilium Notes 是一款免费且开源、跨平台的阶层式笔记应用程序,专注于建立大型个人知识库。
想快速了解,请查看screenshots:
📖 文件¶
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¶
- Getting Started Guide
- Installation Instructions
- Docker Setup
- Upgrading TriliumNext
- Basic Concepts and Features
- Patterns of Personal Knowledge Base
🎁 功能¶
- 笔记可组织成任意深度的树形结构。单一笔记可放在树中的多个位置(参见 笔记复制/克隆)
- 丰富的所见即所得(WYSIWYG)笔记编辑器,支持表格、图片与数学公式,并具备 Markdown 的自动格式
- 支持编辑程序代码笔记, ,包含语法高亮
- 快速、轻松地在笔记间导航、全文搜索,以及笔记聚焦(hoisting)
- 无缝的笔记版本管理
- 笔记属性可用于笔记的组织、查询与高级脚本
- 接口提供英文、德文、西班牙文、法文、罗马尼亚文与中文(简体与正体)
- 直接整合OpenID 与 TOTP 以实现更安全的登录
- 与自架的同步服务器进行同步
- 另有3rd party service for hosting synchronisation server
- 将笔记分享(公开发布)到互联网
- 以每则笔记为粒度的强大 笔记加密
- 手绘/示意图:基于 Excalidraw (笔记类型为「canvas」)
- 用于可视化笔记及其关系的关系图与链接图
- 思维导图:基于Mind Elixir
- 具有定位钉与 GPX 轨迹的地图
- 脚本 - 参见 高级展示
- 用于自动化的 REST API
- 在可用性与效能上均可良好扩展,支持超过 100,000 笔笔记
- 为手机与平板优化的移动前端
- 内置深色主题
- Evernote 导入与 Markdown 导入与导出
- 用于快速保存网页内容的 Web Clipper
- 可自定义的 UI(侧边栏按钮、用户自定义小组件等)
- 度量指标(Metrics),并附有 Grafana 仪表板
✨ 想要更多 TriliumNext 的主题、脚本、外挂与资源,亦可参考以下第三方资源/社群:
- awesome-trilium (第三方主题、脚本、外挂与更多)。
- TriliumRocks! (教学、指南等等)。
⚠️ 为什么是 TriliumNext?¶
The original Trilium developer (Zadam) has graciously given the Trilium repository to the community project which resides at https://github.com/TriliumNext
⬆️ 从 Trilium 迁移?¶
从既有的 zadam/Trilium 例项迁移到 TriliumNext/Notes 不需要特别的迁移步骤。只要照一般方式安装 TriliumNext/Notes(#-安装),它就会直接使用你现有的数据库。
版本至多至 v0.90.4 与 zadam/trilium 最新版本 v0.63.7兼容。之后的 TriliumNext 版本已提升同步版本号(与上述不再兼容)。
💬 与我们交流¶
欢迎加入官方社群。我们很乐意听到你对功能、建议或问题的想法!
- Matrix(同步讨论)
General
Matrix 房间也桥接到 XMPP- GitHub Discussions(异步讨论)。
- GitHub Issues(回报错误与提出功能需求)。
🏗 安装¶
Windows / macOS¶
从最新释出页面下载你平台的二进制文件,解压缩后执行 trilium
可执行文件。
Linux¶
如果你的发行版如下表所列,请使用该发行版的套件。
你也可以从最新释出页面下载对应平台的二进制文件,解压缩后执行 trilium
可执行文件。
TriliumNext 也提供 Flatpak,惟尚未发布到 FlatHub。
查看器(任何操作系统)¶
若你有(如下所述的)服务器安装,便可直接存取网页界面(其与桌面应用几乎相同)。
目前仅支持(并实测)最新版的 Chrome 与 Firefox。
移动装置¶
若要在行动装置上使用 TriliumNext,你可以透过移动查看器存取服务器安装的移动版接口(见下)。
See issue https://github.com/TriliumNext/Trilium/issues/4962 for more information on mobile app support.
如果你偏好原生 Android 应用,可使用 TriliumDroid。回报问题或缺少的功能,请至其储存库。
服务器¶
若要在你自己的服务器上安装 TriliumNext(包括从 Docker Hub 使用 Docker 部署),请遵循服务器安装文件。
💻 贡献¶
翻译¶
如果你是母语人士,欢迎前往我们的 Weblate 页面协助翻译 Trilium。
以下是目前的语言覆盖状态:
程序代码¶
下载储存库,使用 pnpm
安装相依套件,接着启动服务器(于 http://localhost:8080 提供服务):
文件¶
下载储存库,使用 pnpm
安装相依套件,接着启动编辑文件所需的环境:
git clone https://github.com/TriliumNext/Trilium.git
cd Trilium
pnpm install
pnpm edit-docs:edit-docs
建置桌面可执行文件¶
下载储存库,使用 pnpm
安装相依套件,然后为 Windows 建置桌面应用:
git clone https://github.com/TriliumNext/Trilium.git
cd Trilium
pnpm install
pnpm run --filter desktop electron-forge:make --arch=x64 --platform=win32
更多细节请参见开发文件。
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.
👏 鸣谢¶
- zadam for the original concept and implementation of the application.
- Larsa for designing the application icon.
- nriver for his work on internationalization.
- Thomas Frei for his original work on the Canvas.
- antoniotejada for the original syntax highlight widget.
- Dosu for providing us with the automated responses to GitHub issues and discussions.
- Tabler Icons for the system tray icons.
Trilium would not be possible without the technologies behind it:
- CKEditor 5 - the visual editor behind text notes. We are grateful for being offered a set of the premium features.
- CodeMirror - code editor with support for huge amount of languages.
- 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.
- jsPlumb - visual connectivity library. Used in relation maps and link maps
🤝 支持我们¶
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:
🔑 授权条款¶
Copyright 2017–2025 zadam、Elian Doran 与其他贡献者
本程序系自由软件:你可以在自由软件基金会(Free Software Foundation)所发布的 GNU Affero 通用公众授权条款(GNU AGPL)第 3 版或(由你选择)任何后续版本之条款下重新散布或修改本程序。