Skip to content

Build your personal knowledge base with Trilium Notes

chore(rebrand): change product name

Elian Dorand8b85aad7c7e
diff --git a/README.md b/README.md
index 288bc3467f..11391c89e4 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# TriliumNext Notes
+# Trilium Notes
![GitHub Sponsors](https://img.shields.io/github/sponsors/eliandoran?style=flat-square)
![Docker Pulls](https://img.shields.io/docker/pulls/triliumnext/notes?style=flat-square)
@@ -7,7 +7,7 @@
[English](./README.md) | [Chinese](./docs/README-ZH_CN.md) | [Russian](./docs/README.ru.md) | [Japanese](./docs/README.ja.md) | [Italian](./docs/README.it.md) | [Spanish](./docs/README.es.md)
-TriliumNext Notes is a free and open-source, cross-platform hierarchical note taking application with focus on building large personal knowledge bases.
+Trilium Notes is a free and open-source, cross-platform hierarchical note taking application with focus on building large personal knowledge bases.
See [screenshots](https://triliumnext.github.io/Docs/Wiki/screenshot-tour) for quick overview:
@@ -153,7 +153,7 @@ Please view the [documentation guide](./docs/Developer%20Guide/Developer%20Guide
## 👏 Shoutouts
* [CKEditor 5](https://github.com/ckeditor/ckeditor5) - best WYSIWYG editor on the market, very interactive and listening team
-* [FancyTree](https://github.com/mar10/fancytree) - very feature rich tree library without real competition. TriliumNext Notes would not be the same without it.
+* [FancyTree](https://github.com/mar10/fancytree) - very feature rich tree library without real competition. Trilium Notes would not be the same without it.
* [CodeMirror](https://github.com/codemirror/CodeMirror) - code editor with support for huge amount of languages
* [jsPlumb](https://github.com/jsplumb/jsplumb) - visual connectivity library without competition. Used in [relation maps](https://triliumnext.github.io/Docs/Wiki/relation-map.html) and [link maps](https://triliumnext.github.io/Docs/Wiki/note-map.html#link-map)
diff --git a/apps/client/package.json b/apps/client/package.json
index 43cdea2d92..77c7a559d1 100644
--- a/apps/client/package.json
+++ b/apps/client/package.json
@@ -5,7 +5,7 @@
"private": true,
"license": "AGPL-3.0-only",
"author": {
- "name": "TriliumNext Notes Team",
+ "name": "Trilium Notes Team",
"email": "[email protected]",
"url": "https://github.com/TriliumNext/Notes"
},
diff --git a/apps/client/src/components/tab_manager.ts b/apps/client/src/components/tab_manager.ts
index fa83470ce7..0416071c6a 100644
--- a/apps/client/src/components/tab_manager.ts
+++ b/apps/client/src/components/tab_manager.ts
@@ -688,7 +688,7 @@ export default class TabManager extends Component {
const titleFragments = [
// it helps to navigate in history if note title is included in the title
await activeNoteContext.getNavigationTitle(),
- "TriliumNext Notes"
+ "Trilium Notes"
].filter(Boolean);
document.title = titleFragments.join(" - ");
diff --git a/apps/client/src/translations/cn/translation.json b/apps/client/src/translations/cn/translation.json
index cf852e56bd..ccc04e21b7 100644
--- a/apps/client/src/translations/cn/translation.json
+++ b/apps/client/src/translations/cn/translation.json
@@ -1,6 +1,6 @@
{
"about": {
- "title": "关于 TriliumNext Notes",
+ "title": "关于 Trilium Notes",
"close": "关闭",
"homepage": "项目主页:",
"app_version": "应用版本:",
diff --git a/apps/client/src/translations/de/translation.json b/apps/client/src/translations/de/translation.json
index ea17f05751..694e7934f4 100644
--- a/apps/client/src/translations/de/translation.json
+++ b/apps/client/src/translations/de/translation.json
@@ -1,6 +1,6 @@
{
"about": {
- "title": "Über TriliumNext Notes",
+ "title": "Über Trilium Notes",
"close": "Schließen",
"homepage": "Startseite:",
"app_version": "App-Version:",
@@ -639,7 +639,7 @@
"reload_frontend": "Frontend neu laden",
"show_hidden_subtree": "Versteckten Teilbaum anzeigen",
"show_help": "Hilfe anzeigen",
- "about": "Über TriliumNext Notes",
+ "about": "Über Trilium Notes",
"logout": "Abmelden",
"show-cheatsheet": "Cheatsheet anzeigen",
"toggle-zen-mode": "Zen Modus"
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index 2518198074..6d3ad07a29 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -1,6 +1,6 @@
{
"about": {
- "title": "About TriliumNext Notes",
+ "title": "About Trilium Notes",
"close": "Close",
"homepage": "Homepage:",
"app_version": "App version:",
@@ -643,7 +643,7 @@
"reload_frontend": "Reload Frontend",
"show_hidden_subtree": "Show Hidden Subtree",
"show_help": "Show Help",
- "about": "About TriliumNext Notes",
+ "about": "About Trilium Notes",
"logout": "Logout",
"show-cheatsheet": "Show Cheatsheet",
"toggle-zen-mode": "Zen Mode"
diff --git a/apps/client/src/translations/es/translation.json b/apps/client/src/translations/es/translation.json
index a5935f50ee..45d1a6115d 100644
--- a/apps/client/src/translations/es/translation.json
+++ b/apps/client/src/translations/es/translation.json
@@ -1,6 +1,6 @@
{
"about": {
- "title": "Acerca de TriliumNext Notes",
+ "title": "Acerca de Trilium Notes",
"close": "Cerrar",
"homepage": "Página principal:",
"app_version": "Versión de la aplicación:",
@@ -643,7 +643,7 @@
"reload_frontend": "Recargar interfaz",
"show_hidden_subtree": "Mostrar subárbol oculto",
"show_help": "Mostrar ayuda",
- "about": "Acerca de TriliumNext Notes",
+ "about": "Acerca de Trilium Notes",
"logout": "Cerrar sesión",
"show-cheatsheet": "Mostrar hoja de trucos",
"toggle-zen-mode": "Modo Zen"
diff --git a/apps/client/src/translations/fr/translation.json b/apps/client/src/translations/fr/translation.json
index 74335e9362..2ea871fc93 100644
--- a/apps/client/src/translations/fr/translation.json
+++ b/apps/client/src/translations/fr/translation.json
@@ -1,6 +1,6 @@
{
"about": {
- "title": "À propos de TriliumNext Notes",
+ "title": "À propos de Trilium Notes",
"close": "Fermer",
"homepage": "Page d'accueil :",
"app_version": "Version de l'application :",
@@ -639,7 +639,7 @@
"reload_frontend": "Recharger l'interface",
"show_hidden_subtree": "Afficher le Sous-arbre caché",
"show_help": "Afficher l'aide",
- "about": "À propos de TriliumNext Notes",
+ "about": "À propos de Trilium Notes",
"logout": "Déconnexion",
"show-cheatsheet": "Afficher l'aide rapide",
"toggle-zen-mode": "Zen Mode"
diff --git a/apps/client/src/translations/ro/translation.json b/apps/client/src/translations/ro/translation.json
index 25b073e9ee..537b434204 100644
--- a/apps/client/src/translations/ro/translation.json
+++ b/apps/client/src/translations/ro/translation.json
@@ -1,6 +1,6 @@
{
"about": {
- "title": "Despre TriliumNext Notes",
+ "title": "Despre Trilium Notes",
"homepage": "Site web:",
"app_version": "Versiune aplicație:",
"db_version": "Versiune bază de date:",
@@ -572,7 +572,7 @@
"system-default": "Fontul predefinit al sistemului"
},
"global_menu": {
- "about": "Despre TriliumNext Notes",
+ "about": "Despre Trilium Notes",
"advanced": "Opțiuni avansate",
"configure_launchbar": "Configurează bara de lansare",
"logout": "Deautentificare",
diff --git a/apps/client/src/translations/tw/translation.json b/apps/client/src/translations/tw/translation.json
index c25504510d..8a93a22817 100644
--- a/apps/client/src/translations/tw/translation.json
+++ b/apps/client/src/translations/tw/translation.json
@@ -1,6 +1,6 @@
{
"about": {
- "title": "關於 TriliumNext Notes",
+ "title": "關於 Trilium Notes",
"homepage": "項目主頁:",
"app_version": "軟件版本:",
"db_version": "資料庫版本:",
diff --git a/apps/desktop/electron-forge/forge.config.ts b/apps/desktop/electron-forge/forge.config.ts
index 315cc7d498..b433ee4d71 100644
--- a/apps/desktop/electron-forge/forge.config.ts
+++ b/apps/desktop/electron-forge/forge.config.ts
@@ -160,8 +160,8 @@ const config: ForgeConfig = {
for (const outputPath of packageResult.outputPaths) {
const localeDirs = isMac
? [
- path.join(outputPath, "TriliumNext Notes.app/Contents/Resources"),
- path.join(outputPath, "TriliumNext Notes.app/Contents/Frameworks/Electron Framework.framework/Resources")
+ path.join(outputPath, `${PRODUCT_NAME}.app/Contents/Resources`),
+ path.join(outputPath, `${PRODUCT_NAME}.app/Contents/Frameworks/Electron Framework.framework/Resources`)
]
: [ path.join(outputPath, 'locales') ];
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index 4448f7e59b..6ad210d468 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -1,7 +1,7 @@
{
"name": "@triliumnext/desktop",
"version": "0.95.0",
- "description": "Build your personal knowledge base with TriliumNext Notes",
+ "description": "Build your personal knowledge base with Trilium Notes",
"private": true,
"main": "main.cjs",
"dependencies": {
@@ -36,7 +36,7 @@
},
"license": "AGPL-3.0-only",
"author": {
- "name": "TriliumNext Notes Team",
+ "name": "Trilium Notes Team",
"email": "[email protected]",
"url": "https://github.com/TriliumNext/Notes"
},
diff --git a/apps/desktop/src/app-info.ts b/apps/desktop/src/app-info.ts
index 9ec58a4440..96fd6eee5b 100644
--- a/apps/desktop/src/app-info.ts
+++ b/apps/desktop/src/app-info.ts
@@ -1,4 +1,4 @@
/**
* The Electron product name (can be used for the window WMClass or passed down to the Electron packager).
*/
-export const PRODUCT_NAME = "TriliumNext Notes";
+export const PRODUCT_NAME = "Trilium Notes";
diff --git a/apps/edit-docs/demo/root/Trilium Demo.html b/apps/edit-docs/demo/root/Trilium Demo.html
index 59ef348b70..3da4da4985 100644
--- a/apps/edit-docs/demo/root/Trilium Demo.html
+++ b/apps/edit-docs/demo/root/Trilium Demo.html
@@ -17,7 +17,7 @@
<img style="aspect-ratio:150/150;" src="Trilium Demo_icon-color.svg" width="150"
height="150">
</figure>
- <p><strong>Welcome to TriliumNext Notes!</strong>
+ <p><strong>Welcome to Trilium Notes!</strong>
</p>
<p>This is initial "demo" document provided by TriliumNext by default to
diff --git a/apps/edit-docs/demo/root/Trilium Demo_icon-color.svg b/apps/edit-docs/demo/root/Trilium Demo_icon-color.svg
index 1737128914..943f1bfe89 100644
--- a/apps/edit-docs/demo/root/Trilium Demo_icon-color.svg
+++ b/apps/edit-docs/demo/root/Trilium Demo_icon-color.svg
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg enable-background="new 0 0 256 256" version="1.1" viewBox="0 0 256 256" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
- <title>TriliumNext Notes</title>
+ <title>Trilium Notes</title>
<style type="text/css">
.st0{fill:#95C980;}
.st1{fill:#72B755;}
diff --git a/apps/server/src/assets/images/icon-black.svg b/apps/server/src/assets/images/icon-black.svg
index f710dce46e..4b9a74e917 100644
--- a/apps/server/src/assets/images/icon-black.svg
+++ b/apps/server/src/assets/images/icon-black.svg
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg enable-background="new 0 0 256 256" version="1.1" viewBox="0 0 256 256" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
- <title>TriliumNext Notes</title>
+ <title>Trilium Notes</title>
<path fill="black" d="m232.6 27.598c-17.706 0.092041-40.298 3.7127-58.258 10.104-1.7959 0.63909-3.5465 1.3043-5.2402 1.998-3.1 1.2-6.0988 2.6016-8.7988 4.1016-2.2 1.2-4.3016 2.4988-6.1016 3.7988-21.6 15.5-27.9 44.2-28.6 65.4l14.9-10.5 14.301-10 51.199-35.9-49.1 39.301-14.1 11.299-14.801 11.801c20.4 6.5 52.4 9.7992 74.9-6.3008 3.1886-2.319 6.4708-5.1162 9.7559-8.459 0.14708-0.08175 0.29689-0.1571 0.44336-0.24023 2.3386-2.3386 4.7705-4.8714 7.0215-7.5898 0.02928-0.033868 0.05864-0.065681 0.08789-0.099609 0.0964-0.038723 0.1948-0.072111 0.29102-0.11133 14.544-16.737 27.833-39.152 32.252-55.658 0.67979-2.5395 1.1487-4.9387 1.3809-7.1562 0.11607-1.1088 0.17422-2.173 0.16797-3.1855-1.0438-0.3625-2.1849-0.68557-3.4121-0.9707-1.2272-0.28513-2.542-0.53096-3.9336-0.74024s-2.8595-0.38069-4.3965-0.51562c-3.0739-0.26987-6.4198-0.39341-9.9609-0.375zm-202.79 20.252c-11.737-0.05-22.113 1.4004-28.312 4.6504 0.9 5.6625 4.3309 13.419 9.3125 21.77v0.001953c3.3209 5.5664 7.332 11.395 11.74 17.043v0.001953c6.6127 8.4716 14.122 16.534 21.547 22.684 2.3 1.9 4.5008 3.5996 6.8008 5.0996 0.048555 0.0124 0.097907 0.019 0.14648 0.03125 1.7845 1.2837 3.569 2.2777 5.3535 3.1699 20.8 10.4 45.5 3.7984 62.1-4.1016l-14.301-7.2988-13.6-6.9004-48.127-24.607 49.928 21.707 14.5 6.3008 15.199 6.5996c-3.4-18.3-14.099-44-35.799-54.9-3.3-1.6-6.9004-3.1004-10.9-4.4004-2.9-0.9-5.8996-1.7-9.0996-2.5-11.65-2.75-24.751-4.2996-36.488-4.3496zm97.488 73.85 3.6992 13.9 3.5996 13.201 12.801 47.6-15.9-47-4.5-13.4-4.8008-14.199c-10.3 13.4-21.3 36.199-15.5 57.199 0.8747 3.11 2.1333 6.3182 3.6719 9.709 0.01066 0.06374 0.01836 0.12769 0.0293 0.19141 1.1 2.5 2.3988 5.0992 3.7988 7.6992 10.4 18.8 27.701 38.501 39.701 42.801 0.00763-0.00936 0.01581-0.01991 0.02344-0.0293 0.02502 0.00909 0.05119 0.02035 0.07617 0.0293 8.8-10.8 16.8-42.601 15.9-65.701-0.1-2.7-0.30117-5.2992-0.70117-7.6992-0.3-1.9-0.69922-3.8-1.1992-5.5-5.6-20.2-25.199-32.601-40.699-38.801z"/>
</svg>
\ No newline at end of file
diff --git a/apps/server/src/assets/images/icon-color.svg b/apps/server/src/assets/images/icon-color.svg
index 1737128914..943f1bfe89 100644
--- a/apps/server/src/assets/images/icon-color.svg
+++ b/apps/server/src/assets/images/icon-color.svg
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg enable-background="new 0 0 256 256" version="1.1" viewBox="0 0 256 256" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
- <title>TriliumNext Notes</title>
+ <title>Trilium Notes</title>
<style type="text/css">
.st0{fill:#95C980;}
.st1{fill:#72B755;}
diff --git a/apps/server/src/assets/images/icon-purple.svg b/apps/server/src/assets/images/icon-purple.svg
index d270daf7a9..dae45a4222 100644
--- a/apps/server/src/assets/images/icon-purple.svg
+++ b/apps/server/src/assets/images/icon-purple.svg
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg enable-background="new 0 0 256 256" version="1.1" viewBox="0 0 256 256" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
- <title>TriliumNext Notes</title>
+ <title>Trilium Notes</title>
<g>
<path d="m202.9 112.7c-22.5 16.1-54.5 12.8-74.9 6.3l14.8-11.8 14.1-11.3 49.1-39.3-51.2 35.9-14.3 10-14.9 10.5c0.7-21.2 7-49.9 28.6-65.4 1.8-1.3 3.9-2.6 6.1-3.8 2.7-1.5 5.7-2.9 8.8-4.1 27.1-11.1 68.5-15.3 85.2-9.5 0.1 16.2-15.9 45.4-33.9 65.9-2.4 2.8-4.9 5.4-7.4 7.8-3.4 3.5-6.8 6.4-10.1 8.8z" fill="#ab60e3"/>
<path d="m213.1 104c-22.2 12.6-51.4 9.3-70.3 3.2l14.1-11.3 49.1-39.3-51.2 35.9-14.3 10c0.5-18.1 4.9-42.1 19.7-58.6 2.7-1.5 5.7-2.9 8.8-4.1 27.1-11.1 68.5-15.3 85.2-9.5 0.1 16.2-15.9 45.4-33.9 65.9-2.3 2.8-4.8 5.4-7.2 7.8z" fill="#8038b8"/>
diff --git a/apps/server/src/assets/images/icon-white.svg b/apps/server/src/assets/images/icon-white.svg
index 9deea5707c..035b37ec82 100644
--- a/apps/server/src/assets/images/icon-white.svg
+++ b/apps/server/src/assets/images/icon-white.svg
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg enable-background="new 0 0 256 256" version="1.1" viewBox="0 0 256 256" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
- <title>TriliumNext Notes</title>
+ <title>Trilium Notes</title>
<path fill="white" d="m232.6 27.598c-17.706 0.092041-40.298 3.7127-58.258 10.104-1.7959 0.63909-3.5465 1.3043-5.2402 1.998-3.1 1.2-6.0988 2.6016-8.7988 4.1016-2.2 1.2-4.3016 2.4988-6.1016 3.7988-21.6 15.5-27.9 44.2-28.6 65.4l14.9-10.5 14.301-10 51.199-35.9-49.1 39.301-14.1 11.299-14.801 11.801c20.4 6.5 52.4 9.7992 74.9-6.3008 3.1886-2.319 6.4708-5.1162 9.7559-8.459 0.14708-0.08175 0.29689-0.1571 0.44336-0.24023 2.3386-2.3386 4.7705-4.8714 7.0215-7.5898 0.02928-0.033868 0.05864-0.065681 0.08789-0.099609 0.0964-0.038723 0.1948-0.072111 0.29102-0.11133 14.544-16.737 27.833-39.152 32.252-55.658 0.67979-2.5395 1.1487-4.9387 1.3809-7.1562 0.11607-1.1088 0.17422-2.173 0.16797-3.1855-1.0438-0.3625-2.1849-0.68557-3.4121-0.9707-1.2272-0.28513-2.542-0.53096-3.9336-0.74024s-2.8595-0.38069-4.3965-0.51562c-3.0739-0.26987-6.4198-0.39341-9.9609-0.375zm-202.79 20.252c-11.737-0.05-22.113 1.4004-28.312 4.6504 0.9 5.6625 4.3309 13.419 9.3125 21.77v0.001953c3.3209 5.5664 7.332 11.395 11.74 17.043v0.001953c6.6127 8.4716 14.122 16.534 21.547 22.684 2.3 1.9 4.5008 3.5996 6.8008 5.0996 0.048555 0.0124 0.097907 0.019 0.14648 0.03125 1.7845 1.2837 3.569 2.2777 5.3535 3.1699 20.8 10.4 45.5 3.7984 62.1-4.1016l-14.301-7.2988-13.6-6.9004-48.127-24.607 49.928 21.707 14.5 6.3008 15.199 6.5996c-3.4-18.3-14.099-44-35.799-54.9-3.3-1.6-6.9004-3.1004-10.9-4.4004-2.9-0.9-5.8996-1.7-9.0996-2.5-11.65-2.75-24.751-4.2996-36.488-4.3496zm97.488 73.85 3.6992 13.9 3.5996 13.201 12.801 47.6-15.9-47-4.5-13.4-4.8008-14.199c-10.3 13.4-21.3 36.199-15.5 57.199 0.8747 3.11 2.1333 6.3182 3.6719 9.709 0.01066 0.06374 0.01836 0.12769 0.0293 0.19141 1.1 2.5 2.3988 5.0992 3.7988 7.6992 10.4 18.8 27.701 38.501 39.701 42.801 0.00763-0.00936 0.01581-0.01991 0.02344-0.0293 0.02502 0.00909 0.05119 0.02035 0.07617 0.0293 8.8-10.8 16.8-42.601 15.9-65.701-0.1-2.7-0.30117-5.2992-0.70117-7.6992-0.3-1.9-0.69922-3.8-1.1992-5.5-5.6-20.2-25.199-32.601-40.699-38.801z"/>
</svg>
\ No newline at end of file
diff --git a/apps/server/src/assets/llm/prompts/base_system_prompt.md b/apps/server/src/assets/llm/prompts/base_system_prompt.md
index a353f21b74..a79427687b 100644
--- a/apps/server/src/assets/llm/prompts/base_system_prompt.md
+++ b/apps/server/src/assets/llm/prompts/base_system_prompt.md
@@ -1,6 +1,6 @@
-# TriliumNext Base System Prompt
+# Trilium Base System Prompt
-You are an AI assistant integrated into TriliumNext Notes, a powerful note-taking application that helps users build personal knowledge bases with features like:
+You are an AI assistant integrated into Trilium Notes, a powerful note-taking application that helps users build personal knowledge bases with features like:
- Hierarchical note organization with support for placing notes in multiple locations
- Rich text editing with WYSIWYG and Markdown support
- Code notes with syntax highlighting
@@ -10,9 +10,9 @@ You are an AI assistant integrated into TriliumNext Notes, a powerful note-takin
- Relation maps for visualizing connections between notes
- Synchronization between devices
-Your primary goal is to help users find information in their notes, answer questions based on their knowledge base, and provide assistance with using TriliumNext Notes features. Be sure to summarize the notes and include the title of the notes when providing a summary.
+Your primary goal is to help users find information in their notes, answer questions based on their knowledge base, and provide assistance with using Trilium Notes features. Be sure to summarize the notes and include the title of the notes when providing a summary.
-IMPORTANT: When working with notes in TriliumNext:
+IMPORTANT: When working with notes in Trilium:
- Each note has a unique system ID (e.g., "abc123def456") which is different from its title
- When tools require a noteId parameter, always use the system ID, not the title
- Always use search tools first to find notes and get their IDs before performing operations on them
diff --git a/apps/server/src/assets/llm/prompts/providers/anthropic_tool_prompt.md b/apps/server/src/assets/llm/prompts/providers/anthropic_tool_prompt.md
index 765617bc1f..646b8d6080 100644
--- a/apps/server/src/assets/llm/prompts/providers/anthropic_tool_prompt.md
+++ b/apps/server/src/assets/llm/prompts/providers/anthropic_tool_prompt.md
@@ -1,5 +1,5 @@
```
-In this environment you have access to a set of tools that help you interact with TriliumNext Notes, a hierarchical note-taking application for building personal knowledge bases. You can use these tools to search notes, navigate the note hierarchy, analyze queries, and provide thoughtful responses based on the user's knowledge base.
+In this environment you have access to a set of tools that help you interact with Trilium Notes, a hierarchical note-taking application for building personal knowledge bases. You can use these tools to search notes, navigate the note hierarchy, analyze queries, and provide thoughtful responses based on the user's knowledge base.
You can invoke tools by writing an "<function_calls>" block like the following as part of your reply to the user:
<function_calls>
@@ -16,7 +16,7 @@ String and scalar parameters should be specified as is, while lists and objects
[TOOL_DEFINITIONS]
-You are an AI assistant integrated into TriliumNext Notes, a powerful note-taking application that helps users build personal knowledge bases with features like:
+You are an AI assistant integrated into Trilium Notes, a powerful note-taking application that helps users build personal knowledge bases with features like:
- Hierarchical note organization with support for placing notes in multiple locations
- Rich text editing with WYSIWYG and Markdown support
- Code notes with syntax highlighting
@@ -26,7 +26,7 @@ You are an AI assistant integrated into TriliumNext Notes, a powerful note-takin
- Relation maps for visualizing connections between notes
- Synchronization between devices
-Your primary goal is to help users find information in their notes, answer questions based on their knowledge base, and provide assistance with using TriliumNext Notes features.
+Your primary goal is to help users find information in their notes, answer questions based on their knowledge base, and provide assistance with using Trilium Notes features.
When responding to queries:
1. For complex queries, decompose them into simpler parts and address each one
diff --git a/apps/server/src/assets/llm/prompts/providers/ollama_tool_prompt.md b/apps/server/src/assets/llm/prompts/providers/ollama_tool_prompt.md
index 1361396798..f18acb717f 100644
--- a/apps/server/src/assets/llm/prompts/providers/ollama_tool_prompt.md
+++ b/apps/server/src/assets/llm/prompts/providers/ollama_tool_prompt.md
@@ -1,5 +1,5 @@
```
-In this environment you have access to a set of tools that help you interact with TriliumNext Notes, a hierarchical note-taking application for building personal knowledge bases. You can use these tools to search notes, navigate the note hierarchy, analyze queries, and provide thoughtful responses based on the user's knowledge base.
+In this environment you have access to a set of tools that help you interact with Trilium Notes, a hierarchical note-taking application for building personal knowledge bases. You can use these tools to search notes, navigate the note hierarchy, analyze queries, and provide thoughtful responses based on the user's knowledge base.
You can invoke tools by writing a JSON object with the following format:
{
@@ -12,7 +12,7 @@ You can invoke tools by writing a JSON object with the following format:
[TOOL_DEFINITIONS]
-You are an AI assistant integrated into TriliumNext Notes, a powerful note-taking application that helps users build personal knowledge bases with features like:
+You are an AI assistant integrated into Trilium Notes, a powerful note-taking application that helps users build personal knowledge bases with features like:
- Hierarchical note organization with support for placing notes in multiple locations
- Rich text editing with WYSIWYG and Markdown support
- Code notes with syntax highlighting
@@ -22,7 +22,7 @@ You are an AI assistant integrated into TriliumNext Notes, a powerful note-takin
- Relation maps for visualizing connections between notes
- Synchronization between devices
-Your primary goal is to help users find information in their notes, answer questions based on their knowledge base, and provide assistance with using TriliumNext Notes features.
+Your primary goal is to help users find information in their notes, answer questions based on their knowledge base, and provide assistance with using Trilium Notes features.
When responding to queries:
1. For complex queries, decompose them into simpler parts and address each one
diff --git a/apps/server/src/assets/llm/prompts/providers/openai_tool_prompt.md b/apps/server/src/assets/llm/prompts/providers/openai_tool_prompt.md
index 3cd1a0b21f..561bf6f732 100644
--- a/apps/server/src/assets/llm/prompts/providers/openai_tool_prompt.md
+++ b/apps/server/src/assets/llm/prompts/providers/openai_tool_prompt.md
@@ -1,5 +1,5 @@
```
-In this environment you have access to a set of tools that help you interact with TriliumNext Notes, a hierarchical note-taking application for building personal knowledge bases. You can use these tools to search notes, navigate the note hierarchy, analyze queries, and provide thoughtful responses based on the user's knowledge base.
+In this environment you have access to a set of tools that help you interact with Trilium Notes, a hierarchical note-taking application for building personal knowledge bases. You can use these tools to search notes, navigate the note hierarchy, analyze queries, and provide thoughtful responses based on the user's knowledge base.
You can invoke tools by writing an "<tool_calls>" block like the following as part of your reply to the user:
<tool_calls>
@@ -20,7 +20,7 @@ String and scalar parameters should be specified as is, while lists and objects
[TOOL_DEFINITIONS]
-You are an AI assistant integrated into TriliumNext Notes, a powerful note-taking application that helps users build personal knowledge bases with features like:
+You are an AI assistant integrated into Trilium Notes, a powerful note-taking application that helps users build personal knowledge bases with features like:
- Hierarchical note organization with support for placing notes in multiple locations
- Rich text editing with WYSIWYG and Markdown support
- Code notes with syntax highlighting
@@ -30,7 +30,7 @@ You are an AI assistant integrated into TriliumNext Notes, a powerful note-takin
- Relation maps for visualizing connections between notes
- Synchronization between devices
-Your primary goal is to help users find information in their notes, answer questions based on their knowledge base, and provide assistance with using TriliumNext Notes features.
+Your primary goal is to help users find information in their notes, answer questions based on their knowledge base, and provide assistance with using Trilium Notes features.
When responding to queries:
1. For complex queries, decompose them into simpler parts and address each one
diff --git a/apps/server/src/assets/openapi.json b/apps/server/src/assets/openapi.json
index 36f1529091..b019c4a659 100644
--- a/apps/server/src/assets/openapi.json
+++ b/apps/server/src/assets/openapi.json
@@ -1 +1 @@
-{"openapi":"3.1.1","info":{"title":"Trilium Notes - Sync server API","version":"0.94.0","description":"This is the internal sync server API used by Trilium Notes / TriliumNext Notes.\n\n_If you're looking for the officially supported External Trilium API, see [here](https://triliumnext.github.io/Docs/Wiki/etapi.html)._\n\nThis page does not yet list all routes. For a full list, see the [route controller](https://github.com/TriliumNext/Notes/blob/v0.91.6/src/routes/routes.ts).","contact":{"name":"TriliumNext issue tracker","url":"https://github.com/TriliumNext/Notes/issues"},"license":{"name":"GNU Free Documentation License 1.3 (or later)","url":"https://www.gnu.org/licenses/fdl-1.3"}},"paths":{"/api/setup/sync-seed":{"get":{"tags":["auth"],"summary":"Sync documentSecret value","description":"First step to logging in.","operationId":"setup-sync-seed","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"syncVersion":{"type":"integer","example":34},"options":{"type":"object","properties":{"documentSecret":{"type":"string"}}}}}}}}},"security":[{"user-password":[]}]}},"/api/anthropic/models":{"post":{"summary":"List available models from Anthropic","operationId":"anthropic-list-models","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"baseUrl":{"type":"string","description":"Optional custom Anthropic API base URL"}}}}}},"responses":{"200":{"description":"List of available Anthropic models","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"chatModels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}}}},"embeddingModels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}}}}}}}}},"500":{"description":"Error listing models"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/app-info":{"get":{"summary":"Get installation info","operationId":"app-info","externalDocs":{"description":"Server implementation","url":"https://github.com/TriliumNext/Notes/blob/v0.91.6/src/services/app_info.ts"},"responses":{"200":{"description":"Installation info","content":{"application/json":{"schema":{"type":"object","properties":{"appVersion":{"type":"string","example":"0.91.6"},"dbVersion":{"type":"integer","example":228},"nodeVersion":{"type":"string","description":"value of process.version"},"syncVersion":{"type":"integer","example":34},"buildDate":{"type":"string","example":"2024-09-07T18:36:34Z"},"buildRevision":{"type":"string","example":"7c0d6930fa8f20d269dcfbcbc8f636a25f6bb9a7"},"dataDirectory":{"type":"string","example":"/var/lib/trilium"},"clipperProtocolVersion":{"type":"string","example":"1.0"},"utcDateTime":{"$ref":"#/components/schemas/UtcDateTime"}}}}}}},"security":[{"session":[]}]}},"/api/branches/{branchId}":{"delete":{"summary":"Delete branch (note clone)","operationId":"branches-delete","parameters":[{"name":"branchId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/BranchId"}},{"name":"taskId","in":"query","required":true,"schema":{"type":"string"},"description":"Task group identifier"},{"name":"eraseNotes","in":"query","schema":{"type":"boolean"},"required":false,"description":"Whether to erase the note immediately"},{"name":"last","in":"query","schema":{"type":"boolean"},"required":true,"description":"Whether this is the last request of this task group"}],"responses":{"200":{"description":"Branch successfully deleted","content":{"application/json":{"schema":{"type":"object","properties":{"noteDeleted":{"type":"boolean","description":"Whether the last note clone was deleted"}}}}}}},"security":[{"session":[]}],"tags":["data"]}},"/api/llm/embeddings/similar/{noteId}":{"get":{"summary":"Find similar notes based on a given note ID","operationId":"embeddings-similar-by-note","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"type":"string"}},{"name":"providerId","in":"query","required":false,"schema":{"type":"string"},"default":"openai","description":"Embedding provider ID"},{"name":"modelId","in":"query","required":false,"schema":{"type":"string"},"default":"text-embedding-3-small","description":"Embedding model ID"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"default":10,"description":"Maximum number of similar notes to return"},{"name":"threshold","in":"query","required":false,"schema":{"type":"number","format":"float"},"default":0.7,"description":"Similarity threshold (0.0-1.0)"}],"responses":{"200":{"description":"List of similar notes","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"similarNotes":{"type":"array","items":{"type":"object","properties":{"noteId":{"type":"string"},"title":{"type":"string"},"similarity":{"type":"number","format":"float"}}}}}}}}},"400":{"description":"Invalid request parameters"},"404":{"description":"Note not found"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/search":{"post":{"summary":"Search for notes similar to provided text","operationId":"embeddings-search-by-text","parameters":[{"name":"providerId","in":"query","required":false,"schema":{"type":"string"},"default":"openai","description":"Embedding provider ID"},{"name":"modelId","in":"query","required":false,"schema":{"type":"string"},"default":"text-embedding-3-small","description":"Embedding model ID"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"default":10,"description":"Maximum number of similar notes to return"},{"name":"threshold","in":"query","required":false,"schema":{"type":"number","format":"float"},"default":0.7,"description":"Similarity threshold (0.0-1.0)"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Text to search with"}}}}}},"responses":{"200":{"description":"List of similar notes","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"similarNotes":{"type":"array","items":{"type":"object","properties":{"noteId":{"type":"string"},"title":{"type":"string"},"similarity":{"type":"number","format":"float"}}}}}}}}},"400":{"description":"Invalid request parameters"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/providers":{"get":{"summary":"Get available embedding providers","operationId":"embeddings-get-providers","responses":{"200":{"description":"List of available embedding providers","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"providers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"isEnabled":{"type":"boolean"},"priority":{"type":"integer"},"config":{"type":"object"}}}}}}}}}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/providers/{providerId}":{"patch":{"summary":"Update embedding provider configuration","operationId":"embeddings-update-provider","parameters":[{"name":"providerId","in":"path","required":true,"schema":{"type":"string"},"description":"Provider ID to update"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether provider is enabled"},"priority":{"type":"integer","description":"Priority order (lower is higher priority)"},"config":{"type":"object","description":"Provider-specific configuration"}}}}}},"responses":{"200":{"description":"Provider updated successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}}}}}},"400":{"description":"Invalid provider ID or configuration"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/reprocess":{"post":{"summary":"Reprocess embeddings for all notes","operationId":"embeddings-reprocess-all","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID to use for reprocessing"},"modelId":{"type":"string","description":"Model ID to use for reprocessing"},"forceReprocess":{"type":"boolean","description":"Whether to reprocess notes that already have embeddings"}}}}}},"responses":{"200":{"description":"Reprocessing started","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"jobId":{"type":"string"},"message":{"type":"string"}}}}}},"400":{"description":"Invalid provider ID or configuration"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/queue-status":{"get":{"summary":"Get status of the embedding processing queue","operationId":"embeddings-queue-status","parameters":[{"name":"jobId","in":"query","required":false,"schema":{"type":"string"},"description":"Optional job ID to get status for a specific processing job"}],"responses":{"200":{"description":"Queue status information","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"status":{"type":"string","enum":["idle","processing","paused"]},"progress":{"type":"number","format":"float","description":"Progress percentage (0-100)"},"details":{"type":"object"}}}}}}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/stats":{"get":{"summary":"Get embedding statistics","operationId":"embeddings-stats","responses":{"200":{"description":"Embedding statistics","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"stats":{"type":"object","properties":{"totalEmbeddings":{"type":"integer"},"providers":{"type":"object"},"modelCounts":{"type":"object"},"lastUpdated":{"type":"string","format":"date-time"}}}}}}}}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/failed":{"get":{"summary":"Get list of notes that failed embedding generation","operationId":"embeddings-failed-notes","responses":{"200":{"description":"List of failed notes","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"failedNotes":{"type":"array","items":{"type":"object","properties":{"noteId":{"type":"string"},"title":{"type":"string"},"error":{"type":"string"},"failedAt":{"type":"string","format":"date-time"}}}}}}}}}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/retry/{noteId}":{"post":{"summary":"Retry generating embeddings for a failed note","operationId":"embeddings-retry-note","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"type":"string"},"description":"Note ID to retry"},{"name":"providerId","in":"query","required":false,"schema":{"type":"string"},"description":"Provider ID to use (defaults to configured default)"},{"name":"modelId","in":"query","required":false,"schema":{"type":"string"},"description":"Model ID to use (defaults to provider default)"}],"responses":{"200":{"description":"Retry result","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"}}}}}},"400":{"description":"Invalid request"},"404":{"description":"Note not found"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/retry-all-failed":{"post":{"summary":"Retry generating embeddings for all failed notes","operationId":"embeddings-retry-all-failed","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID to use (defaults to configured default)"},"modelId":{"type":"string","description":"Model ID to use (defaults to provider default)"}}}}}},"responses":{"200":{"description":"Retry started","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"jobId":{"type":"string"}}}}}}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/rebuild-index":{"post":{"summary":"Rebuild the vector store index","operationId":"embeddings-rebuild-index","responses":{"200":{"description":"Rebuild started","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"jobId":{"type":"string"}}}}}}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/index-rebuild-status":{"get":{"summary":"Get status of the vector index rebuild operation","operationId":"embeddings-rebuild-status","parameters":[{"name":"jobId","in":"query","required":false,"schema":{"type":"string"},"description":"Optional job ID to get status for a specific rebuild job"}],"responses":{"200":{"description":"Rebuild status information","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"status":{"type":"string","enum":["idle","in_progress","completed","failed"]},"progress":{"type":"number","format":"float","description":"Progress percentage (0-100)"},"message":{"type":"string"},"details":{"type":"object","properties":{"startTime":{"type":"string","format":"date-time"},"processed":{"type":"integer"},"total":{"type":"integer"}}}}}}}}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/sessions":{"post":{"summary":"Create a new LLM chat session","operationId":"llm-create-session","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"Title for the chat session"},"systemPrompt":{"type":"string","description":"System message to set the behavior of the assistant"},"temperature":{"type":"number","description":"Temperature parameter for the LLM (0.0-1.0)"},"maxTokens":{"type":"integer","description":"Maximum tokens to generate in responses"},"model":{"type":"string","description":"Specific model to use (depends on provider)"},"provider":{"type":"string","description":"LLM provider to use (e.g., 'openai', 'anthropic', 'ollama')"},"contextNoteId":{"type":"string","description":"Note ID to use as context for the session"}}}}}},"responses":{"200":{"description":"Successfully created session","content":{"application/json":{"schema":{"type":"object","properties":{"sessionId":{"type":"string"},"title":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}}}}}}},"security":[{"session":[]}],"tags":["llm"]},"get":{"summary":"List all chat sessions","operationId":"llm-list-sessions","responses":{"200":{"description":"List of chat sessions","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"lastActive":{"type":"string","format":"date-time"},"messageCount":{"type":"integer"}}}}}}}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/sessions/{sessionId}":{"get":{"summary":"Retrieve a specific chat session","operationId":"llm-get-session","parameters":[{"name":"sessionId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Chat session details","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"messages":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["user","assistant","system"]},"content":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}}},"createdAt":{"type":"string","format":"date-time"},"lastActive":{"type":"string","format":"date-time"}}}}}},"404":{"description":"Session not found"}},"security":[{"session":[]}],"tags":["llm"]},"delete":{"summary":"Delete a chat session","operationId":"llm-delete-session","parameters":[{"name":"sessionId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Session successfully deleted"},"404":{"description":"Session not found"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/chat/{chatNoteId}":{"patch":{"summary":"Update a chat's settings","operationId":"llm-update-chat","parameters":[{"name":"chatNoteId","in":"path","required":true,"schema":{"type":"string"},"description":"The ID of the chat note (formerly sessionId)"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"Updated title for the session"},"systemPrompt":{"type":"string","description":"Updated system prompt"},"temperature":{"type":"number","description":"Updated temperature setting"},"maxTokens":{"type":"integer","description":"Updated maximum tokens setting"},"model":{"type":"string","description":"Updated model selection"},"provider":{"type":"string","description":"Updated provider selection"},"contextNoteId":{"type":"string","description":"Updated note ID for context"}}}}}},"responses":{"200":{"description":"Session successfully updated","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"}}}}}},"404":{"description":"Session not found"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/chat/{chatNoteId}/messages":{"post":{"summary":"Send a message to an LLM and get a response","operationId":"llm-send-message","parameters":[{"name":"chatNoteId","in":"path","required":true,"schema":{"type":"string"},"description":"The ID of the chat note (formerly sessionId)"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The user message to send to the LLM"},"options":{"type":"object","description":"Optional parameters for this specific message","properties":{"temperature":{"type":"number"},"maxTokens":{"type":"integer"},"model":{"type":"string"},"provider":{"type":"string"}}},"includeContext":{"type":"boolean","description":"Whether to include relevant notes as context"},"useNoteContext":{"type":"boolean","description":"Whether to use the session's context note"}}}}}},"responses":{"200":{"description":"LLM response","content":{"application/json":{"schema":{"type":"object","properties":{"response":{"type":"string"},"sources":{"type":"array","items":{"type":"object","properties":{"noteId":{"type":"string"},"title":{"type":"string"},"similarity":{"type":"number"}}}},"sessionId":{"type":"string"}}}}}},"404":{"description":"Session not found"},"500":{"description":"Error processing request"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/indexes/stats":{"get":{"summary":"Get stats about the LLM knowledge base indexing status","operationId":"llm-index-stats","responses":{"200":{"description":"Index stats successfully retrieved"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/indexes":{"post":{"summary":"Start or continue indexing the knowledge base","operationId":"llm-start-indexing","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"force":{"type":"boolean","description":"Whether to force reindexing of all notes"}}}}}},"responses":{"200":{"description":"Indexing started successfully"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/indexes/failed":{"get":{"summary":"Get list of notes that failed to index","operationId":"llm-failed-indexes","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100}}],"responses":{"200":{"description":"Failed indexes successfully retrieved"}},"security":[{"session":[]}],"tags":["llm"]},"put":{"summary":"Retry indexing all failed notes","operationId":"llm-retry-all-indexes","responses":{"200":{"description":"Retry of all failed indexes successfully initiated"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/indexes/notes/{noteId}":{"put":{"summary":"Retry indexing a specific note that previously failed","operationId":"llm-retry-index","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Index retry successfully initiated"}},"security":[{"session":[]}],"tags":["llm"]},"post":{"summary":"Index a specific note for LLM knowledge base","operationId":"llm-index-note","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Note indexed successfully"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/indexes/notes/similar":{"get":{"summary":"Find notes similar to a query string","operationId":"llm-find-similar-notes","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string"}},{"name":"contextNoteId","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":5}}],"responses":{"200":{"description":"Similar notes found successfully"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/indexes/context":{"get":{"summary":"Generate context for an LLM query based on the knowledge base","operationId":"llm-generate-context","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string"}},{"name":"contextNoteId","in":"query","required":false,"schema":{"type":"string"}},{"name":"depth","in":"query","required":false,"schema":{"type":"integer","default":2}}],"responses":{"200":{"description":"Context generated successfully"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/chat/{chatNoteId}/messages/stream":{"post":{"summary":"Stream a message to an LLM via WebSocket","operationId":"llm-stream-message","parameters":[{"name":"chatNoteId","in":"path","required":true,"schema":{"type":"string"},"description":"The ID of the chat note to stream messages to (formerly sessionId)"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string","description":"The user message to send to the LLM"},"useAdvancedContext":{"type":"boolean","description":"Whether to use advanced context extraction"},"showThinking":{"type":"boolean","description":"Whether to show thinking process in the response"}}}}}},"responses":{"200":{"description":"Streaming started successfully"},"404":{"description":"Session not found"},"500":{"description":"Error processing request"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/login/sync":{"post":{"tags":["auth"],"summary":"Log in using documentSecret","description":"The `hash` parameter is computed using a HMAC of the `documentSecret` and `timestamp`.","operationId":"login-sync","externalDocs":{"description":"HMAC calculation","url":"https://github.com/TriliumNext/Notes/blob/v0.91.6/src/services/utils.ts#L62-L66"},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"$ref":"#/components/schemas/UtcDateTime"},"hash":{"type":"string"},"syncVersion":{"type":"integer","example":34}}}}}},"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"syncVersion":{"type":"integer","example":34},"options":{"type":"object","properties":{"documentSecret":{"type":"string"}}}}}}}},"400":{"description":"Sync version / document secret mismatch","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Non-matching sync versions, local is version ${server syncVersion}, remote is ${requested syncVersion}. It is recommended to run same version of Trilium on both sides of sync"}}}}}},"401":{"description":"Timestamp mismatch","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Auth request time is out of sync, please check that both client and server have correct time. The difference between clocks has to be smaller than 5 minutes"}}}}}}}}},"/api/notes/{noteId}":{"get":{"summary":"Retrieve note metadata","operationId":"notes-get","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/NoteId"}}],"responses":{"200":{"description":"Note metadata","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Note"},{"$ref":"#/components/schemas/Timestamps"}]}}}}},"security":[{"session":[]}],"tags":["data"]},"delete":{"summary":"Delete note","operationId":"notes-delete","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/NoteId"}},{"name":"taskId","in":"query","required":true,"schema":{"type":"string"},"description":"Task group identifier"},{"name":"eraseNotes","in":"query","schema":{"type":"boolean"},"required":false,"description":"Whether to erase the note immediately"},{"name":"last","in":"query","schema":{"type":"boolean"},"required":true,"description":"Whether this is the last request of this task group"}],"responses":{"200":{"description":"Note successfully deleted"}},"security":[{"session":[]}],"tags":["data"]}},"/api/notes/{noteId}/blob":{"get":{"summary":"Retrieve note content","operationId":"notes-blob","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/NoteId"}}],"responses":{"304":{"description":"Note content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Blob"}}}}},"security":[{"session":[]}],"tags":["data"]}},"/api/notes/{noteId}/metadata":{"get":{"summary":"Retrieve note metadata (limited to timestamps)","operationId":"notes-metadata","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/NoteId"}}],"responses":{"200":{"description":"Note metadata","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Timestamps"}}}}},"security":[{"session":[]}],"tags":["data"]}},"/api/llm/providers/ollama/models":{"get":{"summary":"List available models from Ollama","operationId":"ollama-list-models","parameters":[{"name":"baseUrl","in":"query","required":false,"schema":{"type":"string"},"description":"Optional custom Ollama API base URL"}],"responses":{"200":{"description":"List of available Ollama models","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"models":{"type":"array","items":{"type":"object"}}}}}}},"500":{"description":"Error listing models"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/openai/models":{"post":{"summary":"List available models from OpenAI","operationId":"openai-list-models","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"baseUrl":{"type":"string","description":"Optional custom OpenAI API base URL"}}}}}},"responses":{"200":{"description":"List of available OpenAI models","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"chatModels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}}}},"embeddingModels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}}}}}}}}},"500":{"description":"Error listing models"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/sync/changed":{"get":{"summary":"Pull sync changes","operationId":"sync-changed","externalDocs":{"description":"Server implementation","url":"https://github.com/TriliumNext/Notes/blob/v0.91.6/src/routes/api/sync.ts"},"parameters":[{"in":"query","name":"instanceId","required":true,"schema":{"type":"string"},"description":"Local instance ID"},{"in":"query","name":"lastEntityChangeId","required":true,"schema":{"type":"integer"},"description":"Last locally present change ID"},{"in":"query","name":"logMarkerId","required":true,"schema":{"type":"string"},"description":"Marker to identify this request in server log"}],"responses":{"200":{"description":"Sync changes, limited to approximately one megabyte.","content":{"application/json":{"schema":{"type":"object","properties":{"entityChanges":{"type":"array","items":{"$ref":"#/components/schemas/EntityChange"}},"lastEntityChangeId":{"type":"integer","description":"If `outstandingPullCount > 0`, pass this as parameter in your next request to continue."},"outstandingPullCount":{"type":"integer","example":42,"description":"Number of changes not yet returned by the remote."}}}}}}},"security":[{"session":[]}],"tags":["sync"]}},"/api/sync/update":{"put":{"summary":"Push sync changes","description":"Basic usage: set `pageCount = 1`, `pageIndex = 0`, and omit `requestId`. Supply your entity changes in the request body.","operationId":"sync-update","externalDocs":{"description":"Server implementation","url":"https://github.com/TriliumNext/Notes/blob/v0.91.6/src/routes/api/sync.ts"},"parameters":[{"in":"header","name":"pageCount","required":true,"schema":{"type":"integer"}},{"in":"header","name":"pageIndex","required":true,"schema":{"type":"integer"}},{"in":"header","name":"requestId","schema":{"type":"string","description":"ID to identify paginated requests"}},{"in":"query","name":"logMarkerId","required":true,"schema":{"type":"string"},"description":"Marker to identify this request in server log"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"instanceId":{"type":"string","description":"Local instance ID"},"entities":{"type":"array","items":{"$ref":"#/components/schemas/EntityChange"}}}}}}},"responses":{"200":{"description":"Changes processed successfully"}},"security":[{"session":[]}],"tags":["sync"]}},"/api/tree":{"get":{"summary":"Retrieve tree data","operationId":"tree","externalDocs":{"description":"Server implementation","url":"https://github.com/TriliumNext/Notes/blob/v0.91.6/src/routes/api/tree.ts"},"parameters":[{"in":"query","name":"subTreeNoteId","required":false,"schema":{"type":"string"},"description":"Limit tree data to this note and descendants"}],"responses":{"200":{"description":"Notes, branches and attributes","content":{"application/json":{"schema":{"type":"object","properties":{"branches":{"type":"array","items":{"$ref":"#/components/schemas/Branch"}},"notes":{"type":"array","items":{"$ref":"#/components/schemas/Note"}},"attributes":{"type":"array","items":{"$ref":"#/components/schemas/Attribute"}}}}}}}},"security":[{"session":[]}],"tags":["data"]}},"/login":{"post":{"tags":["auth"],"summary":"Log in using password","description":"This will give you a Trilium session, which is required for some other API endpoints. `totpToken` is only required if the user configured TOTP authentication.","operationId":"login-normal","externalDocs":{"description":"HMAC calculation","url":"https://github.com/TriliumNext/Notes/blob/v0.91.6/src/services/utils.ts#L62-L66"},"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["password"],"properties":{"password":{"type":"string"},"totpToken":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful operation"},"401":{"description":"Password / TOTP mismatch"}}}}},"components":{"schemas":{"Attribute":{"type":"object","properties":{"attributeId":{"type":"string","example":"4G1DPrI58PAb"},"noteId":{"$ref":"#/components/schemas/NoteId"},"type":{"type":"string","enum":["label","relation"]},"name":{"type":"string","example":"internalLink"},"value":{"type":"string","example":"hA8aHSpTRdZ6","description":"If type = \"relation\", a note ID. Otherwise, the attribute content."},"position":{"type":"integer","example":20},"isInheritable":{"type":"boolean"}}},"Blob":{"type":"object","properties":{"blobId":{"type":"string","example":"8iqMIB8eiY1tPYmElfjm"},"content":{"type":["string","null"],"description":"`null` if not text."},"contentLength":{"type":"integer"},"dateModified":{"$ref":"#/components/schemas/DateTime"},"utcDateModified":{"$ref":"#/components/schemas/UtcDateTime"}}},"Branch":{"type":"object","required":["branchId","noteId","parentNoteId","notePosition"],"properties":{"branchId":{"$ref":"#/components/schemas/BranchId"},"noteId":{"$ref":"#/components/schemas/NoteId"},"parentNoteId":{"$ref":"#/components/schemas/NoteId"},"notePosition":{"type":"integer","example":20},"prefix":{"type":["string","null"]},"isExpanded":{"type":"boolean"}}},"BranchId":{"type":"string","example":"WUjhaGp4EKah_ur11rSfHkzeV","description":"Equal to `{parentNoteId}_{noteId}`"},"DateTime":{"type":"string","example":"2025-02-14 08:19:59.203+0100"},"EntityChange":{"type":"object","properties":{"entityChange":{"type":"object","properties":{"entityName":{"type":"string","example":"notes","description":"Database table for this entity."},"changeId":{"type":"string","example":"changeId9630","description":"ID, referenced in `entity_changes` table."}}},"entity":{"type":"object","description":"Encoded entity data. Object has one property for each database column."}}},"Note":{"type":"object","required":["noteId","title","isProtected","type","mime","blobId"],"properties":{"noteId":{"$ref":"#/components/schemas/NoteId"},"title":{"type":"string"},"isProtected":{"type":"boolean"},"type":{"type":"string","example":"text","enum":["text","code","render","file","image","search","relationMap","book","noteMap","mermaid","canvas","webView","launcher","doc","contentWidget","mindMap","geoMap"],"description":"[Reference list](https://github.com/TriliumNext/Notes/blob/v0.91.6/src/services/note_types.ts)"},"mime":{"type":"string","example":"text/html"},"blobId":{"type":"string","example":"z4PhNX7vuL3xVChQ1m2A"}}},"NoteId":{"type":"string","example":"ur11rSfHkzeV","description":"12-character note ID. Special values: \"none\"`, `\"root\"."},"Timestamps":{"type":"object","properties":{"dateCreated":{"$ref":"#/components/schemas/DateTime"},"dateModified":{"$ref":"#/components/schemas/DateTime"},"utcDateCreated":{"$ref":"#/components/schemas/UtcDateTime"},"utcDateModified":{"$ref":"#/components/schemas/UtcDateTime"}}},"UtcDateTime":{"type":"string","example":"2025-02-13T07:42:47.698Z","description":"Result of `new Date().toISOString().replace('T', ' ')`"}},"securitySchemes":{"user-password":{"type":"apiKey","name":"trilium-cred","in":"header","description":"Username and password, formatted as `user:password`"},"session":{"type":"apiKey","in":"cookie","name":"trilium.sid"}}},"tags":[{"name":"auth","description":"Authentication"},{"name":"sync","description":"Synchronization"},{"name":"data"}]}
\ No newline at end of file
+{"openapi":"3.1.1","info":{"title":"Trilium Notes - Sync server API","version":"0.94.0","description":"This is the internal sync server API used by Trilium Notes / Trilium Notes.\n\n_If you're looking for the officially supported External Trilium API, see [here](https://triliumnext.github.io/Docs/Wiki/etapi.html)._\n\nThis page does not yet list all routes. For a full list, see the [route controller](https://github.com/TriliumNext/Notes/blob/v0.91.6/src/routes/routes.ts).","contact":{"name":"TriliumNext issue tracker","url":"https://github.com/TriliumNext/Notes/issues"},"license":{"name":"GNU Free Documentation License 1.3 (or later)","url":"https://www.gnu.org/licenses/fdl-1.3"}},"paths":{"/api/setup/sync-seed":{"get":{"tags":["auth"],"summary":"Sync documentSecret value","description":"First step to logging in.","operationId":"setup-sync-seed","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"syncVersion":{"type":"integer","example":34},"options":{"type":"object","properties":{"documentSecret":{"type":"string"}}}}}}}}},"security":[{"user-password":[]}]}},"/api/anthropic/models":{"post":{"summary":"List available models from Anthropic","operationId":"anthropic-list-models","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"baseUrl":{"type":"string","description":"Optional custom Anthropic API base URL"}}}}}},"responses":{"200":{"description":"List of available Anthropic models","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"chatModels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}}}},"embeddingModels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}}}}}}}}},"500":{"description":"Error listing models"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/app-info":{"get":{"summary":"Get installation info","operationId":"app-info","externalDocs":{"description":"Server implementation","url":"https://github.com/TriliumNext/Notes/blob/v0.91.6/src/services/app_info.ts"},"responses":{"200":{"description":"Installation info","content":{"application/json":{"schema":{"type":"object","properties":{"appVersion":{"type":"string","example":"0.91.6"},"dbVersion":{"type":"integer","example":228},"nodeVersion":{"type":"string","description":"value of process.version"},"syncVersion":{"type":"integer","example":34},"buildDate":{"type":"string","example":"2024-09-07T18:36:34Z"},"buildRevision":{"type":"string","example":"7c0d6930fa8f20d269dcfbcbc8f636a25f6bb9a7"},"dataDirectory":{"type":"string","example":"/var/lib/trilium"},"clipperProtocolVersion":{"type":"string","example":"1.0"},"utcDateTime":{"$ref":"#/components/schemas/UtcDateTime"}}}}}}},"security":[{"session":[]}]}},"/api/branches/{branchId}":{"delete":{"summary":"Delete branch (note clone)","operationId":"branches-delete","parameters":[{"name":"branchId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/BranchId"}},{"name":"taskId","in":"query","required":true,"schema":{"type":"string"},"description":"Task group identifier"},{"name":"eraseNotes","in":"query","schema":{"type":"boolean"},"required":false,"description":"Whether to erase the note immediately"},{"name":"last","in":"query","schema":{"type":"boolean"},"required":true,"description":"Whether this is the last request of this task group"}],"responses":{"200":{"description":"Branch successfully deleted","content":{"application/json":{"schema":{"type":"object","properties":{"noteDeleted":{"type":"boolean","description":"Whether the last note clone was deleted"}}}}}}},"security":[{"session":[]}],"tags":["data"]}},"/api/llm/embeddings/similar/{noteId}":{"get":{"summary":"Find similar notes based on a given note ID","operationId":"embeddings-similar-by-note","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"type":"string"}},{"name":"providerId","in":"query","required":false,"schema":{"type":"string"},"default":"openai","description":"Embedding provider ID"},{"name":"modelId","in":"query","required":false,"schema":{"type":"string"},"default":"text-embedding-3-small","description":"Embedding model ID"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"default":10,"description":"Maximum number of similar notes to return"},{"name":"threshold","in":"query","required":false,"schema":{"type":"number","format":"float"},"default":0.7,"description":"Similarity threshold (0.0-1.0)"}],"responses":{"200":{"description":"List of similar notes","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"similarNotes":{"type":"array","items":{"type":"object","properties":{"noteId":{"type":"string"},"title":{"type":"string"},"similarity":{"type":"number","format":"float"}}}}}}}}},"400":{"description":"Invalid request parameters"},"404":{"description":"Note not found"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/search":{"post":{"summary":"Search for notes similar to provided text","operationId":"embeddings-search-by-text","parameters":[{"name":"providerId","in":"query","required":false,"schema":{"type":"string"},"default":"openai","description":"Embedding provider ID"},{"name":"modelId","in":"query","required":false,"schema":{"type":"string"},"default":"text-embedding-3-small","description":"Embedding model ID"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"default":10,"description":"Maximum number of similar notes to return"},{"name":"threshold","in":"query","required":false,"schema":{"type":"number","format":"float"},"default":0.7,"description":"Similarity threshold (0.0-1.0)"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Text to search with"}}}}}},"responses":{"200":{"description":"List of similar notes","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"similarNotes":{"type":"array","items":{"type":"object","properties":{"noteId":{"type":"string"},"title":{"type":"string"},"similarity":{"type":"number","format":"float"}}}}}}}}},"400":{"description":"Invalid request parameters"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/providers":{"get":{"summary":"Get available embedding providers","operationId":"embeddings-get-providers","responses":{"200":{"description":"List of available embedding providers","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"providers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"isEnabled":{"type":"boolean"},"priority":{"type":"integer"},"config":{"type":"object"}}}}}}}}}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/providers/{providerId}":{"patch":{"summary":"Update embedding provider configuration","operationId":"embeddings-update-provider","parameters":[{"name":"providerId","in":"path","required":true,"schema":{"type":"string"},"description":"Provider ID to update"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether provider is enabled"},"priority":{"type":"integer","description":"Priority order (lower is higher priority)"},"config":{"type":"object","description":"Provider-specific configuration"}}}}}},"responses":{"200":{"description":"Provider updated successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}}}}}},"400":{"description":"Invalid provider ID or configuration"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/reprocess":{"post":{"summary":"Reprocess embeddings for all notes","operationId":"embeddings-reprocess-all","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID to use for reprocessing"},"modelId":{"type":"string","description":"Model ID to use for reprocessing"},"forceReprocess":{"type":"boolean","description":"Whether to reprocess notes that already have embeddings"}}}}}},"responses":{"200":{"description":"Reprocessing started","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"jobId":{"type":"string"},"message":{"type":"string"}}}}}},"400":{"description":"Invalid provider ID or configuration"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/queue-status":{"get":{"summary":"Get status of the embedding processing queue","operationId":"embeddings-queue-status","parameters":[{"name":"jobId","in":"query","required":false,"schema":{"type":"string"},"description":"Optional job ID to get status for a specific processing job"}],"responses":{"200":{"description":"Queue status information","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"status":{"type":"string","enum":["idle","processing","paused"]},"progress":{"type":"number","format":"float","description":"Progress percentage (0-100)"},"details":{"type":"object"}}}}}}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/stats":{"get":{"summary":"Get embedding statistics","operationId":"embeddings-stats","responses":{"200":{"description":"Embedding statistics","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"stats":{"type":"object","properties":{"totalEmbeddings":{"type":"integer"},"providers":{"type":"object"},"modelCounts":{"type":"object"},"lastUpdated":{"type":"string","format":"date-time"}}}}}}}}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/failed":{"get":{"summary":"Get list of notes that failed embedding generation","operationId":"embeddings-failed-notes","responses":{"200":{"description":"List of failed notes","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"failedNotes":{"type":"array","items":{"type":"object","properties":{"noteId":{"type":"string"},"title":{"type":"string"},"error":{"type":"string"},"failedAt":{"type":"string","format":"date-time"}}}}}}}}}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/retry/{noteId}":{"post":{"summary":"Retry generating embeddings for a failed note","operationId":"embeddings-retry-note","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"type":"string"},"description":"Note ID to retry"},{"name":"providerId","in":"query","required":false,"schema":{"type":"string"},"description":"Provider ID to use (defaults to configured default)"},{"name":"modelId","in":"query","required":false,"schema":{"type":"string"},"description":"Model ID to use (defaults to provider default)"}],"responses":{"200":{"description":"Retry result","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"}}}}}},"400":{"description":"Invalid request"},"404":{"description":"Note not found"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/retry-all-failed":{"post":{"summary":"Retry generating embeddings for all failed notes","operationId":"embeddings-retry-all-failed","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID to use (defaults to configured default)"},"modelId":{"type":"string","description":"Model ID to use (defaults to provider default)"}}}}}},"responses":{"200":{"description":"Retry started","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"jobId":{"type":"string"}}}}}}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/rebuild-index":{"post":{"summary":"Rebuild the vector store index","operationId":"embeddings-rebuild-index","responses":{"200":{"description":"Rebuild started","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"jobId":{"type":"string"}}}}}}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/embeddings/index-rebuild-status":{"get":{"summary":"Get status of the vector index rebuild operation","operationId":"embeddings-rebuild-status","parameters":[{"name":"jobId","in":"query","required":false,"schema":{"type":"string"},"description":"Optional job ID to get status for a specific rebuild job"}],"responses":{"200":{"description":"Rebuild status information","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"status":{"type":"string","enum":["idle","in_progress","completed","failed"]},"progress":{"type":"number","format":"float","description":"Progress percentage (0-100)"},"message":{"type":"string"},"details":{"type":"object","properties":{"startTime":{"type":"string","format":"date-time"},"processed":{"type":"integer"},"total":{"type":"integer"}}}}}}}}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/sessions":{"post":{"summary":"Create a new LLM chat session","operationId":"llm-create-session","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"Title for the chat session"},"systemPrompt":{"type":"string","description":"System message to set the behavior of the assistant"},"temperature":{"type":"number","description":"Temperature parameter for the LLM (0.0-1.0)"},"maxTokens":{"type":"integer","description":"Maximum tokens to generate in responses"},"model":{"type":"string","description":"Specific model to use (depends on provider)"},"provider":{"type":"string","description":"LLM provider to use (e.g., 'openai', 'anthropic', 'ollama')"},"contextNoteId":{"type":"string","description":"Note ID to use as context for the session"}}}}}},"responses":{"200":{"description":"Successfully created session","content":{"application/json":{"schema":{"type":"object","properties":{"sessionId":{"type":"string"},"title":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}}}}}}},"security":[{"session":[]}],"tags":["llm"]},"get":{"summary":"List all chat sessions","operationId":"llm-list-sessions","responses":{"200":{"description":"List of chat sessions","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"lastActive":{"type":"string","format":"date-time"},"messageCount":{"type":"integer"}}}}}}}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/sessions/{sessionId}":{"get":{"summary":"Retrieve a specific chat session","operationId":"llm-get-session","parameters":[{"name":"sessionId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Chat session details","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"messages":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["user","assistant","system"]},"content":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}}},"createdAt":{"type":"string","format":"date-time"},"lastActive":{"type":"string","format":"date-time"}}}}}},"404":{"description":"Session not found"}},"security":[{"session":[]}],"tags":["llm"]},"delete":{"summary":"Delete a chat session","operationId":"llm-delete-session","parameters":[{"name":"sessionId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Session successfully deleted"},"404":{"description":"Session not found"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/chat/{chatNoteId}":{"patch":{"summary":"Update a chat's settings","operationId":"llm-update-chat","parameters":[{"name":"chatNoteId","in":"path","required":true,"schema":{"type":"string"},"description":"The ID of the chat note (formerly sessionId)"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"Updated title for the session"},"systemPrompt":{"type":"string","description":"Updated system prompt"},"temperature":{"type":"number","description":"Updated temperature setting"},"maxTokens":{"type":"integer","description":"Updated maximum tokens setting"},"model":{"type":"string","description":"Updated model selection"},"provider":{"type":"string","description":"Updated provider selection"},"contextNoteId":{"type":"string","description":"Updated note ID for context"}}}}}},"responses":{"200":{"description":"Session successfully updated","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"}}}}}},"404":{"description":"Session not found"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/chat/{chatNoteId}/messages":{"post":{"summary":"Send a message to an LLM and get a response","operationId":"llm-send-message","parameters":[{"name":"chatNoteId","in":"path","required":true,"schema":{"type":"string"},"description":"The ID of the chat note (formerly sessionId)"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The user message to send to the LLM"},"options":{"type":"object","description":"Optional parameters for this specific message","properties":{"temperature":{"type":"number"},"maxTokens":{"type":"integer"},"model":{"type":"string"},"provider":{"type":"string"}}},"includeContext":{"type":"boolean","description":"Whether to include relevant notes as context"},"useNoteContext":{"type":"boolean","description":"Whether to use the session's context note"}}}}}},"responses":{"200":{"description":"LLM response","content":{"application/json":{"schema":{"type":"object","properties":{"response":{"type":"string"},"sources":{"type":"array","items":{"type":"object","properties":{"noteId":{"type":"string"},"title":{"type":"string"},"similarity":{"type":"number"}}}},"sessionId":{"type":"string"}}}}}},"404":{"description":"Session not found"},"500":{"description":"Error processing request"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/indexes/stats":{"get":{"summary":"Get stats about the LLM knowledge base indexing status","operationId":"llm-index-stats","responses":{"200":{"description":"Index stats successfully retrieved"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/indexes":{"post":{"summary":"Start or continue indexing the knowledge base","operationId":"llm-start-indexing","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"force":{"type":"boolean","description":"Whether to force reindexing of all notes"}}}}}},"responses":{"200":{"description":"Indexing started successfully"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/indexes/failed":{"get":{"summary":"Get list of notes that failed to index","operationId":"llm-failed-indexes","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100}}],"responses":{"200":{"description":"Failed indexes successfully retrieved"}},"security":[{"session":[]}],"tags":["llm"]},"put":{"summary":"Retry indexing all failed notes","operationId":"llm-retry-all-indexes","responses":{"200":{"description":"Retry of all failed indexes successfully initiated"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/indexes/notes/{noteId}":{"put":{"summary":"Retry indexing a specific note that previously failed","operationId":"llm-retry-index","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Index retry successfully initiated"}},"security":[{"session":[]}],"tags":["llm"]},"post":{"summary":"Index a specific note for LLM knowledge base","operationId":"llm-index-note","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Note indexed successfully"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/indexes/notes/similar":{"get":{"summary":"Find notes similar to a query string","operationId":"llm-find-similar-notes","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string"}},{"name":"contextNoteId","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":5}}],"responses":{"200":{"description":"Similar notes found successfully"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/indexes/context":{"get":{"summary":"Generate context for an LLM query based on the knowledge base","operationId":"llm-generate-context","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string"}},{"name":"contextNoteId","in":"query","required":false,"schema":{"type":"string"}},{"name":"depth","in":"query","required":false,"schema":{"type":"integer","default":2}}],"responses":{"200":{"description":"Context generated successfully"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/llm/chat/{chatNoteId}/messages/stream":{"post":{"summary":"Stream a message to an LLM via WebSocket","operationId":"llm-stream-message","parameters":[{"name":"chatNoteId","in":"path","required":true,"schema":{"type":"string"},"description":"The ID of the chat note to stream messages to (formerly sessionId)"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string","description":"The user message to send to the LLM"},"useAdvancedContext":{"type":"boolean","description":"Whether to use advanced context extraction"},"showThinking":{"type":"boolean","description":"Whether to show thinking process in the response"}}}}}},"responses":{"200":{"description":"Streaming started successfully"},"404":{"description":"Session not found"},"500":{"description":"Error processing request"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/login/sync":{"post":{"tags":["auth"],"summary":"Log in using documentSecret","description":"The `hash` parameter is computed using a HMAC of the `documentSecret` and `timestamp`.","operationId":"login-sync","externalDocs":{"description":"HMAC calculation","url":"https://github.com/TriliumNext/Notes/blob/v0.91.6/src/services/utils.ts#L62-L66"},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"$ref":"#/components/schemas/UtcDateTime"},"hash":{"type":"string"},"syncVersion":{"type":"integer","example":34}}}}}},"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"syncVersion":{"type":"integer","example":34},"options":{"type":"object","properties":{"documentSecret":{"type":"string"}}}}}}}},"400":{"description":"Sync version / document secret mismatch","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Non-matching sync versions, local is version ${server syncVersion}, remote is ${requested syncVersion}. It is recommended to run same version of Trilium on both sides of sync"}}}}}},"401":{"description":"Timestamp mismatch","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Auth request time is out of sync, please check that both client and server have correct time. The difference between clocks has to be smaller than 5 minutes"}}}}}}}}},"/api/notes/{noteId}":{"get":{"summary":"Retrieve note metadata","operationId":"notes-get","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/NoteId"}}],"responses":{"200":{"description":"Note metadata","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Note"},{"$ref":"#/components/schemas/Timestamps"}]}}}}},"security":[{"session":[]}],"tags":["data"]},"delete":{"summary":"Delete note","operationId":"notes-delete","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/NoteId"}},{"name":"taskId","in":"query","required":true,"schema":{"type":"string"},"description":"Task group identifier"},{"name":"eraseNotes","in":"query","schema":{"type":"boolean"},"required":false,"description":"Whether to erase the note immediately"},{"name":"last","in":"query","schema":{"type":"boolean"},"required":true,"description":"Whether this is the last request of this task group"}],"responses":{"200":{"description":"Note successfully deleted"}},"security":[{"session":[]}],"tags":["data"]}},"/api/notes/{noteId}/blob":{"get":{"summary":"Retrieve note content","operationId":"notes-blob","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/NoteId"}}],"responses":{"304":{"description":"Note content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Blob"}}}}},"security":[{"session":[]}],"tags":["data"]}},"/api/notes/{noteId}/metadata":{"get":{"summary":"Retrieve note metadata (limited to timestamps)","operationId":"notes-metadata","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/NoteId"}}],"responses":{"200":{"description":"Note metadata","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Timestamps"}}}}},"security":[{"session":[]}],"tags":["data"]}},"/api/llm/providers/ollama/models":{"get":{"summary":"List available models from Ollama","operationId":"ollama-list-models","parameters":[{"name":"baseUrl","in":"query","required":false,"schema":{"type":"string"},"description":"Optional custom Ollama API base URL"}],"responses":{"200":{"description":"List of available Ollama models","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"models":{"type":"array","items":{"type":"object"}}}}}}},"500":{"description":"Error listing models"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/openai/models":{"post":{"summary":"List available models from OpenAI","operationId":"openai-list-models","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"baseUrl":{"type":"string","description":"Optional custom OpenAI API base URL"}}}}}},"responses":{"200":{"description":"List of available OpenAI models","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"chatModels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}}}},"embeddingModels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}}}}}}}}},"500":{"description":"Error listing models"}},"security":[{"session":[]}],"tags":["llm"]}},"/api/sync/changed":{"get":{"summary":"Pull sync changes","operationId":"sync-changed","externalDocs":{"description":"Server implementation","url":"https://github.com/TriliumNext/Notes/blob/v0.91.6/src/routes/api/sync.ts"},"parameters":[{"in":"query","name":"instanceId","required":true,"schema":{"type":"string"},"description":"Local instance ID"},{"in":"query","name":"lastEntityChangeId","required":true,"schema":{"type":"integer"},"description":"Last locally present change ID"},{"in":"query","name":"logMarkerId","required":true,"schema":{"type":"string"},"description":"Marker to identify this request in server log"}],"responses":{"200":{"description":"Sync changes, limited to approximately one megabyte.","content":{"application/json":{"schema":{"type":"object","properties":{"entityChanges":{"type":"array","items":{"$ref":"#/components/schemas/EntityChange"}},"lastEntityChangeId":{"type":"integer","description":"If `outstandingPullCount > 0`, pass this as parameter in your next request to continue."},"outstandingPullCount":{"type":"integer","example":42,"description":"Number of changes not yet returned by the remote."}}}}}}},"security":[{"session":[]}],"tags":["sync"]}},"/api/sync/update":{"put":{"summary":"Push sync changes","description":"Basic usage: set `pageCount = 1`, `pageIndex = 0`, and omit `requestId`. Supply your entity changes in the request body.","operationId":"sync-update","externalDocs":{"description":"Server implementation","url":"https://github.com/TriliumNext/Notes/blob/v0.91.6/src/routes/api/sync.ts"},"parameters":[{"in":"header","name":"pageCount","required":true,"schema":{"type":"integer"}},{"in":"header","name":"pageIndex","required":true,"schema":{"type":"integer"}},{"in":"header","name":"requestId","schema":{"type":"string","description":"ID to identify paginated requests"}},{"in":"query","name":"logMarkerId","required":true,"schema":{"type":"string"},"description":"Marker to identify this request in server log"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"instanceId":{"type":"string","description":"Local instance ID"},"entities":{"type":"array","items":{"$ref":"#/components/schemas/EntityChange"}}}}}}},"responses":{"200":{"description":"Changes processed successfully"}},"security":[{"session":[]}],"tags":["sync"]}},"/api/tree":{"get":{"summary":"Retrieve tree data","operationId":"tree","externalDocs":{"description":"Server implementation","url":"https://github.com/TriliumNext/Notes/blob/v0.91.6/src/routes/api/tree.ts"},"parameters":[{"in":"query","name":"subTreeNoteId","required":false,"schema":{"type":"string"},"description":"Limit tree data to this note and descendants"}],"responses":{"200":{"description":"Notes, branches and attributes","content":{"application/json":{"schema":{"type":"object","properties":{"branches":{"type":"array","items":{"$ref":"#/components/schemas/Branch"}},"notes":{"type":"array","items":{"$ref":"#/components/schemas/Note"}},"attributes":{"type":"array","items":{"$ref":"#/components/schemas/Attribute"}}}}}}}},"security":[{"session":[]}],"tags":["data"]}},"/login":{"post":{"tags":["auth"],"summary":"Log in using password","description":"This will give you a Trilium session, which is required for some other API endpoints. `totpToken` is only required if the user configured TOTP authentication.","operationId":"login-normal","externalDocs":{"description":"HMAC calculation","url":"https://github.com/TriliumNext/Notes/blob/v0.91.6/src/services/utils.ts#L62-L66"},"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["password"],"properties":{"password":{"type":"string"},"totpToken":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful operation"},"401":{"description":"Password / TOTP mismatch"}}}}},"components":{"schemas":{"Attribute":{"type":"object","properties":{"attributeId":{"type":"string","example":"4G1DPrI58PAb"},"noteId":{"$ref":"#/components/schemas/NoteId"},"type":{"type":"string","enum":["label","relation"]},"name":{"type":"string","example":"internalLink"},"value":{"type":"string","example":"hA8aHSpTRdZ6","description":"If type = \"relation\", a note ID. Otherwise, the attribute content."},"position":{"type":"integer","example":20},"isInheritable":{"type":"boolean"}}},"Blob":{"type":"object","properties":{"blobId":{"type":"string","example":"8iqMIB8eiY1tPYmElfjm"},"content":{"type":["string","null"],"description":"`null` if not text."},"contentLength":{"type":"integer"},"dateModified":{"$ref":"#/components/schemas/DateTime"},"utcDateModified":{"$ref":"#/components/schemas/UtcDateTime"}}},"Branch":{"type":"object","required":["branchId","noteId","parentNoteId","notePosition"],"properties":{"branchId":{"$ref":"#/components/schemas/BranchId"},"noteId":{"$ref":"#/components/schemas/NoteId"},"parentNoteId":{"$ref":"#/components/schemas/NoteId"},"notePosition":{"type":"integer","example":20},"prefix":{"type":["string","null"]},"isExpanded":{"type":"boolean"}}},"BranchId":{"type":"string","example":"WUjhaGp4EKah_ur11rSfHkzeV","description":"Equal to `{parentNoteId}_{noteId}`"},"DateTime":{"type":"string","example":"2025-02-14 08:19:59.203+0100"},"EntityChange":{"type":"object","properties":{"entityChange":{"type":"object","properties":{"entityName":{"type":"string","example":"notes","description":"Database table for this entity."},"changeId":{"type":"string","example":"changeId9630","description":"ID, referenced in `entity_changes` table."}}},"entity":{"type":"object","description":"Encoded entity data. Object has one property for each database column."}}},"Note":{"type":"object","required":["noteId","title","isProtected","type","mime","blobId"],"properties":{"noteId":{"$ref":"#/components/schemas/NoteId"},"title":{"type":"string"},"isProtected":{"type":"boolean"},"type":{"type":"string","example":"text","enum":["text","code","render","file","image","search","relationMap","book","noteMap","mermaid","canvas","webView","launcher","doc","contentWidget","mindMap","geoMap"],"description":"[Reference list](https://github.com/TriliumNext/Notes/blob/v0.91.6/src/services/note_types.ts)"},"mime":{"type":"string","example":"text/html"},"blobId":{"type":"string","example":"z4PhNX7vuL3xVChQ1m2A"}}},"NoteId":{"type":"string","example":"ur11rSfHkzeV","description":"12-character note ID. Special values: \"none\"`, `\"root\"."},"Timestamps":{"type":"object","properties":{"dateCreated":{"$ref":"#/components/schemas/DateTime"},"dateModified":{"$ref":"#/components/schemas/DateTime"},"utcDateCreated":{"$ref":"#/components/schemas/UtcDateTime"},"utcDateModified":{"$ref":"#/components/schemas/UtcDateTime"}}},"UtcDateTime":{"type":"string","example":"2025-02-13T07:42:47.698Z","description":"Result of `new Date().toISOString().replace('T', ' ')`"}},"securitySchemes":{"user-password":{"type":"apiKey","name":"trilium-cred","in":"header","description":"Username and password, formatted as `user:password`"},"session":{"type":"apiKey","in":"cookie","name":"trilium.sid"}}},"tags":[{"name":"auth","description":"Authentication"},{"name":"sync","description":"Synchronization"},{"name":"data"}]}
\ No newline at end of file
diff --git a/apps/server/src/assets/translations/de/server.json b/apps/server/src/assets/translations/de/server.json
index 5a299bb592..ff232e9159 100644
--- a/apps/server/src/assets/translations/de/server.json
+++ b/apps/server/src/assets/translations/de/server.json
@@ -109,7 +109,7 @@
},
"javascript-required": "Trilium erfordert, dass JavaScript aktiviert ist.",
"setup": {
- "heading": "TriliumNext Notes Setup",
+ "heading": "Trilium Notes Setup",
"new-document": "Ich bin ein neuer Benutzer und möchte ein neues Trilium-Dokument für meine Notizen erstellen",
"sync-from-desktop": "Ich habe bereits eine Desktop-Instanz und möchte die Synchronisierung damit einrichten",
"sync-from-server": "Ich habe bereits eine Server-Instanz und möchte die Synchronisierung damit einrichten",
@@ -121,7 +121,7 @@
"setup_sync-from-desktop": {
"heading": "Synchronisation vom Desktop",
"description": "Dieses Setup muss von der Desktop-Instanz aus initiiert werden:",
- "step1": "Öffne deine TriliumNext Notes Desktop-Instanz.",
+ "step1": "Öffne deine Trilium Notes Desktop-Instanz.",
"step2": "Klicke im Trilium-Menü auf Optionen.",
"step3": "Klicke auf die Kategorie Synchronisation.",
"step4": "Ändere die Server-Instanzadresse auf: {{- host}} und klicke auf Speichern.",
@@ -256,7 +256,7 @@
"unable-to-save-message": "Die ausgewählte Datei konnte nicht beschrieben werden. Erneut versuchen oder ein anderes Ziel auswählen."
},
"tray": {
- "tooltip": "TriliumNext Notes",
+ "tooltip": "Trilium Notes",
"close": "Trilium schließen",
"recents": "Kürzliche Notizen",
"bookmarks": "Lesezeichen",
diff --git a/apps/server/src/assets/translations/en/server.json b/apps/server/src/assets/translations/en/server.json
index 507066b0d0..7b5633c627 100644
--- a/apps/server/src/assets/translations/en/server.json
+++ b/apps/server/src/assets/translations/en/server.json
@@ -124,7 +124,7 @@
},
"javascript-required": "Trilium requires JavaScript to be enabled.",
"setup": {
- "heading": "TriliumNext Notes setup",
+ "heading": "Trilium Notes setup",
"new-document": "I'm a new user, and I want to create a new Trilium document for my notes",
"sync-from-desktop": "I have a desktop instance already, and I want to set up sync with it",
"sync-from-server": "I have a server instance already, and I want to set up sync with it",
@@ -136,7 +136,7 @@
"setup_sync-from-desktop": {
"heading": "Sync from Desktop",
"description": "This setup needs to be initiated from the desktop instance:",
- "step1": "Open your desktop instance of TriliumNext Notes.",
+ "step1": "Open your desktop instance of Trilium Notes.",
"step2": "From the Trilium Menu, click Options.",
"step3": "Click on Sync category.",
"step4": "Change server instance address to: {{- host}} and click Save.",
@@ -278,7 +278,7 @@
"unable-to-save-message": "The selected file could not be written to. Try again or select another destination."
},
"tray": {
- "tooltip": "TriliumNext Notes",
+ "tooltip": "Trilium Notes",
"close": "Quit Trilium",
"recents": "Recent notes",
"bookmarks": "Bookmarks",
diff --git a/apps/server/src/assets/translations/es/server.json b/apps/server/src/assets/translations/es/server.json
index a4b891359a..9c3a3bc719 100644
--- a/apps/server/src/assets/translations/es/server.json
+++ b/apps/server/src/assets/translations/es/server.json
@@ -124,7 +124,7 @@
},
"javascript-required": "Trilium requiere que JavaScript esté habilitado.",
"setup": {
- "heading": "Configuración de TriliumNext Notes",
+ "heading": "Configuración de Trilium Notes",
"new-document": "Soy un usuario nuevo y quiero crear un nuevo documento de Trilium para mis notas",
"sync-from-desktop": "Ya tengo una instancia de escritorio y quiero configurar la sincronización con ella",
"sync-from-server": "Ya tengo una instancia de servidor y quiero configurar la sincronización con ella",
@@ -136,7 +136,7 @@
"setup_sync-from-desktop": {
"heading": "Sincronizar desde el escritorio",
"description": "Esta configuración debe iniciarse desde la instancia de escritorio:",
- "step1": "Abra su instancia de escritorio de TriliumNext Notes.",
+ "step1": "Abra su instancia de escritorio de Trilium Notes.",
"step2": "En el menú Trilium, dé clic en Opciones.",
"step3": "Dé clic en la categoría Sincronizar.",
"step4": "Cambie la dirección de la instancia del servidor a: {{- host}} y dé clic en Guardar.",
@@ -278,7 +278,7 @@
"unable-to-save-message": "No se pudo escribir en el archivo seleccionado. Intente de nuevo o seleccione otro destino."
},
"tray": {
- "tooltip": "TriliumNext Notes",
+ "tooltip": "Trilium Notes",
"close": "Cerrar Trilium",
"recents": "Notas recientes",
"bookmarks": "Marcadores",
diff --git a/apps/server/src/assets/translations/fr/server.json b/apps/server/src/assets/translations/fr/server.json
index 9f9d527d28..1f9e427150 100644
--- a/apps/server/src/assets/translations/fr/server.json
+++ b/apps/server/src/assets/translations/fr/server.json
@@ -113,7 +113,7 @@
},
"javascript-required": "Trilium nécessite que JavaScript soit activé.",
"setup": {
- "heading": "Configuration de TriliumNext Notes",
+ "heading": "Configuration de Trilium Notes",
"new-document": "Je suis un nouvel utilisateur et je souhaite créer un nouveau document Trilium pour mes notes",
"sync-from-desktop": "J'ai déjà l'application de bureau et je souhaite configurer la synchronisation avec celle-ci",
"sync-from-server": "J'ai déjà un serveur et je souhaite configurer la synchronisation avec celui-ci",
@@ -125,7 +125,7 @@
"setup_sync-from-desktop": {
"heading": "Synchroniser depuis une application de bureau",
"description": "Cette procédure doit être réalisée depuis l'application de bureau installée sur votre ordinateur:",
- "step1": "Ouvrez l'application TriliumNext Notes.",
+ "step1": "Ouvrez l'application Trilium Notes.",
"step2": "Dans le menu Trilium, cliquez sur Options.",
"step3": "Cliquez sur la catégorie Synchroniser.",
"step4": "Remplacez l'adresse de l'instance de serveur par : {{- host}} et cliquez sur Enregistrer.",
@@ -260,7 +260,7 @@
"unable-to-save-message": "Le fichier sélectionné n'a pas pu être écrit. Réessayez ou sélectionnez une autre destination."
},
"tray": {
- "tooltip": "TriliumNext Notes",
+ "tooltip": "Trilium Notes",
"close": "Quitter Trilium",
"recents": "Notes récentes",
"bookmarks": "Signets",
diff --git a/apps/server/src/assets/translations/pt_br/server.json b/apps/server/src/assets/translations/pt_br/server.json
index 9a94fd3573..faee946224 100644
--- a/apps/server/src/assets/translations/pt_br/server.json
+++ b/apps/server/src/assets/translations/pt_br/server.json
@@ -110,7 +110,7 @@
},
"javascript-required": "Trilium precisa que JavaScript esteja habilitado.",
"setup": {
- "heading": "TriliumNext Notes setup",
+ "heading": "Trilium Notes setup",
"new-document": "Sou um novo usuário e quero criar um novo documento Trilium para minhas notas",
"sync-from-desktop": "Já tenho uma instância no desktop e quero configurar a sincronização com ela",
"sync-from-server": "Já tenho uma instância no servidor e quero configurar a sincronização com ela",
@@ -122,7 +122,7 @@
"setup_sync-from-desktop": {
"heading": "Sincronizar com Desktop",
"description": "Esta configuração deve ser iniciada a partir da instância do desktop:",
- "step1": "Abra sua instância do TriliumNext Notes no desktop.",
+ "step1": "Abra sua instância do Trilium Notes no desktop.",
"step2": "No menu do Trilium, clique em Opções.",
"step3": "Clique na categoria Sincronização.",
"step4": "Altere o endereço da instância do servidor para: {{- host}} e clique em Salvar.",
diff --git a/apps/server/src/assets/translations/ro/server.json b/apps/server/src/assets/translations/ro/server.json
index 70c9c30d9e..2c6a811366 100644
--- a/apps/server/src/assets/translations/ro/server.json
+++ b/apps/server/src/assets/translations/ro/server.json
@@ -113,7 +113,7 @@
},
"javascript-required": "Trilium necesită JavaScript să fie activat pentru a putea funcționa.",
"setup": {
- "heading": "Instalarea TriliumNext Notes",
+ "heading": "Instalarea Trilium Notes",
"init-in-progress": "Se inițializează documentul",
"new-document": "Sunt un utilizator nou și doresc să creez un document Trilium pentru notițele mele",
"next": "Mai departe",
@@ -125,7 +125,7 @@
"setup_sync-from-desktop": {
"description": "Acești pași trebuie urmați de pe aplicația de desktop:",
"heading": "Sincronizare cu aplicația desktop",
- "step1": "Deschideți aplicația TriliumNext Notes pentru desktop.",
+ "step1": "Deschideți aplicația Trilium Notes pentru desktop.",
"step2": "Din meniul Trilium, dați clic pe Opțiuni.",
"step3": "Clic pe categoria „Sincronizare”.",
"step4": "Schimbați adresa server-ului către: {{- host}} și apăsați „Salvează”.",
@@ -266,7 +266,7 @@
"new-note": "Notiță nouă",
"recents": "Notițe recente",
"today": "Mergi la notița de astăzi",
- "tooltip": "TriliumNext Notes",
+ "tooltip": "Trilium Notes",
"show-windows": "Afișează ferestrele"
},
"migration": {
diff --git a/apps/server/src/assets/views/desktop.ejs b/apps/server/src/assets/views/desktop.ejs
index e635e18226..9934eacee7 100644
--- a/apps/server/src/assets/views/desktop.ejs
+++ b/apps/server/src/assets/views/desktop.ejs
@@ -7,7 +7,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, viewport-fit=cover" />
<link rel="manifest" crossorigin="use-credentials" href="manifest.webmanifest">
- <title>TriliumNext Notes</title>
+ <title>Trilium Notes</title>
</head>
<body class="desktop heading-style-<%= headingStyle %> layout-<%= layoutOrientation %> platform-<%= platform %> <%= isElectron ? 'electron' : '' %> <%= hasNativeTitleBar ? 'native-titlebar' : '' %> <%= hasBackgroundEffects ? 'background-effects' : '' %>">
<noscript><%= t("javascript-required") %></noscript>
diff --git a/apps/server/src/assets/views/mobile.ejs b/apps/server/src/assets/views/mobile.ejs
index 31c3a39639..d210c5ca75 100644
--- a/apps/server/src/assets/views/mobile.ejs
+++ b/apps/server/src/assets/views/mobile.ejs
@@ -7,7 +7,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, viewport-fit=cover, interactive-widget=resizes-content" />
<meta name="theme-color" content="#fff">
- <title>TriliumNext Notes</title>
+ <title>Trilium Notes</title>
<link rel="manifest" crossorigin="use-credentials" href="manifest.webmanifest">
<style>
diff --git a/apps/server/src/services/llm/constants/llm_prompt_constants.ts b/apps/server/src/services/llm/constants/llm_prompt_constants.ts
index 6a061aea9a..1942e184fb 100644
--- a/apps/server/src/services/llm/constants/llm_prompt_constants.ts
+++ b/apps/server/src/services/llm/constants/llm_prompt_constants.ts
@@ -21,7 +21,7 @@ const loadSystemPrompt = (): string => {
} catch (error) {
console.error('Failed to load system prompt from file:', error);
// Return fallback prompt if file can't be loaded
- return "You are a helpful assistant embedded in the TriliumNext Notes application. " +
+ return "You are a helpful assistant embedded in the Trilium Notes application. " +
"You can help users with their notes, answer questions, and provide information. " +
"Keep your responses concise and helpful. " +
"You're currently chatting with the user about their notes.";
@@ -57,7 +57,7 @@ export const SYSTEM_PROMPTS = {
export const CONTEXT_PROMPTS = {
// Query enhancer prompt for generating better search terms
QUERY_ENHANCER:
- `You are an AI assistant that decides what information needs to be retrieved from a user's knowledge base called TriliumNext Notes to answer the user's question.
+ `You are an AI assistant that decides what information needs to be retrieved from a user's knowledge base called Trilium Notes to answer the user's question.
Given the user's question, generate 3-5 specific search queries that would help find relevant information.
Each query should be focused on a different aspect of the question.
Avoid generating queries that are too broad, vague, or about a user's entire Note database, and make sure they are relevant to the user's question.
@@ -184,7 +184,7 @@ When responding:
INSTRUCTIONS_WRAPPER: (instructions: string) =>
`<instructions>\n${instructions}\n</instructions>`,
-
+
// Tool instructions for Anthropic Claude
TOOL_INSTRUCTIONS: `<instructions>
When using tools to search for information, follow these requirements:
@@ -210,7 +210,7 @@ When using tools to search for information, follow these requirements:
// OpenAI-specific prompt formatting
SYSTEM_WITH_CONTEXT: (context: string) =>
`<system_prompt>
-You are an AI assistant integrated into TriliumNext Notes.
+You are an AI assistant integrated into Trilium Notes.
Use the following information from the user's notes to answer their questions:
<user_notes>
@@ -220,7 +220,7 @@ ${context}
Focus on relevant information from these notes when answering.
Be concise and informative in your responses.
</system_prompt>`,
-
+
// Tool instructions for OpenAI models
TOOL_INSTRUCTIONS: `When using tools to search for information, you must follow these requirements:
@@ -264,7 +264,7 @@ CRITICAL INSTRUCTIONS FOR TOOL USAGE:
// Common prompts across providers
COMMON: {
- DEFAULT_ASSISTANT_INTRO: "<assistant_role>You are an AI assistant integrated into TriliumNext Notes. Focus on helping users find information in their notes and answering questions based on their knowledge base. Be concise, informative, and direct when responding to queries.</assistant_role>"
+ DEFAULT_ASSISTANT_INTRO: "<assistant_role>You are an AI assistant integrated into Trilium Notes. Focus on helping users find information in their notes and answering questions based on their knowledge base. Be concise, informative, and direct when responding to queries.</assistant_role>"
}
};
diff --git a/apps/server/src/services/llm/context/services/query_processor.ts b/apps/server/src/services/llm/context/services/query_processor.ts
index 86e9564578..8778e4a791 100644
--- a/apps/server/src/services/llm/context/services/query_processor.ts
+++ b/apps/server/src/services/llm/context/services/query_processor.ts
@@ -66,7 +66,7 @@ export class QueryProcessor {
// Check cache first
const cached = cacheManager.getQueryResults(`searchQueries:${userQuestion}`);
- const PROMPT = `You are an AI assistant that decides what information needs to be retrieved from a user's knowledge base called TriliumNext Notes to answer the user's question.
+ const PROMPT = `You are an AI assistant that decides what information needs to be retrieved from a user's knowledge base called Trilium Notes to answer the user's question.
Given the user's question, generate 3-5 specific search queries that would help find relevant information.
Each query should be focused on a different aspect of the question.
Avoid generating queries that are too broad, vague, or about a user's entire Note database, and make sure they are relevant to the user's question.
@@ -308,7 +308,7 @@ Example: ["exact topic mentioned", "related concept 1", "related concept 2"]`
): Promise<SubQuery[]> {
try {
// Use the proven prompt format that was working before
- const prompt = `You are an AI assistant that decides what information needs to be retrieved from a user's knowledge base called TriliumNext Notes to answer the user's question.
+ const prompt = `You are an AI assistant that decides what information needs to be retrieved from a user's knowledge base called Trilium Notes to answer the user's question.
Given the user's question, generate 3-5 specific search queries that would help find relevant information.
Each query should be focused on a different aspect of the question.
Avoid generating queries that are too broad, vague, or about a user's entire Note database, and make sure they are relevant to the user's question.
diff --git a/apps/server/src/services/window.ts b/apps/server/src/services/window.ts
index 42969cf39e..ec87e5f00c 100644
--- a/apps/server/src/services/window.ts
+++ b/apps/server/src/services/window.ts
@@ -45,7 +45,7 @@ async function createExtraWindow(extraWindowHash: string) {
const win = new BrowserWindow({
width: 1000,
height: 800,
- title: "TriliumNext Notes",
+ title: "Trilium Notes",
webPreferences: {
nodeIntegration: true,
contextIsolation: false,
@@ -155,7 +155,7 @@ async function createMainWindow(app: App) {
height: mainWindowState.height,
minWidth: 500,
minHeight: 400,
- title: "TriliumNext Notes",
+ title: "Trilium Notes",
webPreferences: {
nodeIntegration: true,
contextIsolation: false,
@@ -268,7 +268,7 @@ async function createSetupWindow() {
width,
height,
resizable: false,
- title: "TriliumNext Notes Setup",
+ title: "Trilium Notes Setup",
icon: getIcon(),
webPreferences: {
// necessary for e.g. utils.isElectron()
diff --git a/apps/website/static/icon-color.svg b/apps/website/static/icon-color.svg
index 1737128914..943f1bfe89 100644
--- a/apps/website/static/icon-color.svg
+++ b/apps/website/static/icon-color.svg
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg enable-background="new 0 0 256 256" version="1.1" viewBox="0 0 256 256" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
- <title>TriliumNext Notes</title>
+ <title>Trilium Notes</title>
<style type="text/css">
.st0{fill:#95C980;}
.st1{fill:#72B755;}
diff --git a/docs/Developer Guide/Developer Guide/Development and architecture/Internationalisation Translat.md b/docs/Developer Guide/Developer Guide/Development and architecture/Internationalisation Translat.md
index 909309976b..7ae59016fc 100644
--- a/docs/Developer Guide/Developer Guide/Development and architecture/Internationalisation Translat.md
+++ b/docs/Developer Guide/Developer Guide/Development and architecture/Internationalisation Translat.md
@@ -18,7 +18,7 @@ The key-based approach allows a hierarchical structure. For example, a key of `a
```json
{
"about": {
- "title": "About TriliumNext Notes"
+ "title": "About Trilium Notes"
}
}
```
diff --git a/docs/README-ZH_CN.md b/docs/README-ZH_CN.md
index 908f731455..e63f1da63f 100644
--- a/docs/README-ZH_CN.md
+++ b/docs/README-ZH_CN.md
@@ -1,8 +1,8 @@
-# TriliumNext Notes
+# Trilium Notes
[English](../README.md) | [Chinese](./README-ZH_CN.md) | [Russian](./README.ru.md) | [Japanese](./README.ja.md) | [Italian](./README.it.md) | [Spanish](./README.es.md)
-TriliumNext Notes 是一个层次化的笔记应用程序,专注于建立大型个人知识库。请参阅[屏幕截图](https://triliumnext.github.io/Docs/Wiki/screenshot-tour)以快速了解:
+Trilium Notes 是一个层次化的笔记应用程序,专注于建立大型个人知识库。请参阅[屏幕截图](https://triliumnext.github.io/Docs/Wiki/screenshot-tour)以快速了解:
<a href="https://triliumnext.github.io/Docs/Wiki/screenshot-tour"><img src="./app.png" alt="Trilium Screenshot" width="1000"></a>
diff --git a/docs/README.es.md b/docs/README.es.md
index bc958938d6..2d49db9cc2 100644
--- a/docs/README.es.md
+++ b/docs/README.es.md
@@ -1,8 +1,8 @@
-# TriliumNext Notes
+# Trilium Notes
[English](../README.md) | [Chinese](./README-ZH_CN.md) | [Russian](./README.ru.md) | [Japanese](./README.ja.md) | [Italian](./README.it.md) | [Spanish](./README.es.md)
-TriliumNext Notes es una aplicación de toma de notas jerárquicas multi-plataforma y de código libre con un enfoque en la construcción de grandes bases de conocimiento personal.
+Trilium Notes es una aplicación de toma de notas jerárquicas multi-plataforma y de código libre con un enfoque en la construcción de grandes bases de conocimiento personal.
Vea estas [capturas de pantalla](https://triliumnext.github.io/Docs/Wiki/screenshot-tour) para un vistazo rápido:
@@ -92,7 +92,7 @@ npm run server:start
## 👏 Reconocimientos
- [CKEditor 5](https://github.com/ckeditor/ckeditor5) - el mejor editor WYSIWYG en el mercado, equipo muy interactivo y atento
-- [FancyTree](https://github.com/mar10/fancytree) - biblioteca de árbol muy rica en funciones sin competencia real. TriliumNext Notes no sería lo mismo sin esta.
+- [FancyTree](https://github.com/mar10/fancytree) - biblioteca de árbol muy rica en funciones sin competencia real. Trilium Notes no sería lo mismo sin esta.
- [CodeMirror](https://github.com/codemirror/CodeMirror) - editor de código con soporte para una gran cantidad de lenguajes
- [jsPlumb](https://github.com/jsplumb/jsplumb) - biblioteca de conectividad visual sin competencia. Usado en [mapas de relación](https://triliumnext.github.io/Docs/Wiki/Relation-map) y [mapas de enlace](https://triliumnext.github.io/Docs/Wiki/Link-map)
diff --git a/docs/README.it.md b/docs/README.it.md
index 17095c386a..58c2806d74 100644
--- a/docs/README.it.md
+++ b/docs/README.it.md
@@ -1,8 +1,8 @@
-# TriliumNext Notes
+# Trilium Notes
[English](../README.md) | [Chinese](./README-ZH_CN.md) | [Russian](./README.ru.md) | [Japanese](./README.ja.md) | [Italian](./README.it.md) | [Spanish](./README.es.md)
-TriliumNext Notes è un'applicazione per appunti ad organizzazione gerarchica, studiata per la costruzione di archivi di conoscenza personali di grandi dimensioni.
+Trilium Notes è un'applicazione per appunti ad organizzazione gerarchica, studiata per la costruzione di archivi di conoscenza personali di grandi dimensioni.
Vedi [fotografie](https://triliumnext.github.io/Docs/Wiki/screenshot-tour) per una panoramica veloce:
diff --git a/docs/README.ja.md b/docs/README.ja.md
index a00daf5b49..d1cb164b0e 100644
--- a/docs/README.ja.md
+++ b/docs/README.ja.md
@@ -1,4 +1,4 @@
-# TriliumNext Notes
+# Trilium Notes
[English](../README.md) | [Chinese](./README-ZH_CN.md) | [Russian](./README.ru.md) | [Japanese](./README.ja.md) | [Italian](./README.it.md) | [Spanish](./README.es.md)
diff --git a/docs/README.ru.md b/docs/README.ru.md
index 9f310b1630..ebf6240c53 100644
--- a/docs/README.ru.md
+++ b/docs/README.ru.md
@@ -1,4 +1,4 @@
-# TriliumNext Notes
+# Trilium Notes
[English](../README.md) | [Chinese](./README-ZH_CN.md) | [Russian](./README.ru.md) | [Japanese](./README.ja.md) | [Italian](./README.it.md) | [Spanish](./README.es.md)
diff --git a/docs/Release Notes/Release Notes/v0.90.0-beta.md b/docs/Release Notes/Release Notes/v0.90.0-beta.md
index a87ee7fc5e..7a9f401603 100644
--- a/docs/Release Notes/Release Notes/v0.90.0-beta.md
+++ b/docs/Release Notes/Release Notes/v0.90.0-beta.md
@@ -13,14 +13,14 @@ For the first release of TriliumNext, we simply need to check if there are any r
For the desktop application, simply download it from the releases page and extract it in a similar fashion to how the original Trilium Notes is installed.
-Regarding data, please note that **TriliumNext Notes shares the same database as Trilium Notes.** A manual database backup is strongly encouraged:
+Regarding data, please note that **Trilium Notes shares the same database as Trilium Notes.** A manual database backup is strongly encouraged:
* On Windows, open Windows Explorer and type `%appdata%` in the address bar. Look for `trilium-data` and simply copy and paste it.
* On Linux, the data directory is in `~/.local/share/trilium-data`.
Generally your existing notes should be quite safe (there are no database migrations or API changes, only the consistency checks could have been impacted), haven't noticed any issues when testing.
-Additionally, since the sync version has not changed either, you should be able to mix the client and the server between Trilium Notes and TriliumNext Notes.
+Additionally, since the sync version has not changed either, you should be able to mix the client and the server between Trilium Notes and Trilium Notes.
The server is also packaged and available in the release. For the Docker build, the Docker image is built automatically and is available on GitHub's Docker registry.
diff --git a/docs/Release Notes/Release Notes/v0.90.3.md b/docs/Release Notes/Release Notes/v0.90.3.md
index 1a93628fba..dc657432c1 100644
--- a/docs/Release Notes/Release Notes/v0.90.3.md
+++ b/docs/Release Notes/Release Notes/v0.90.3.md
@@ -18,11 +18,11 @@ As a short overview of what's planned next from a user-facing point of view:
There is no change in the database structure.
-TriliumNext Notes can be run instead of the original Trilium Notes and it should work out of the box, since it will reuse the same database.
+Trilium Notes can be run instead of the original Trilium Notes and it should work out of the box, since it will reuse the same database.
It should also be possible to downgrade back to Trilium Notes if required, without any changes or loss of data.
-Similarly goes for the server, it should work out of the box. It is possible to mix and match between Trilium Notes and TriliumNext Notes.
+Similarly goes for the server, it should work out of the box. It is possible to mix and match between Trilium Notes and Trilium Notes.
## 🐞 How stable is the version
diff --git a/docs/Release Notes/Release Notes/v0.90.5-beta.md b/docs/Release Notes/Release Notes/v0.90.5-beta.md
index f11c58fdee..44787678e1 100644
--- a/docs/Release Notes/Release Notes/v0.90.5-beta.md
+++ b/docs/Release Notes/Release Notes/v0.90.5-beta.md
@@ -26,7 +26,7 @@ Note that the integration is still in its infancy, so there might be bugs and a
The internal build tooling has been updated, resulting in the following changes:
* For macOS users there is now a `.dmg` installation method as well. `@JYC333`
- * There is also an ARM-native version for macOS that can be used, however it will require [additional steps to get it running](https://github.com/TriliumNext/Notes/issues/329) due to the lack of notarization (to bypass the “TriliumNext Notes.app” is damaged error).
+ * There is also an ARM-native version for macOS that can be used, however it will require [additional steps to get it running](https://github.com/TriliumNext/Notes/issues/329) due to the lack of notarization (to bypass the “Trilium Notes.app” is damaged error).
* For both Windows and Linux we now have `amd64` builds as well.
* Please note these versions are not being actively tested due to lack of equipment, so feel free to raise any issues you might be encountering.
diff --git a/docs/Release Notes/Release Notes/v0.94.1.md b/docs/Release Notes/Release Notes/v0.94.1.md
index 0dc2be481f..bb8d73ed79 100644
--- a/docs/Release Notes/Release Notes/v0.94.1.md
+++ b/docs/Release Notes/Release Notes/v0.94.1.md
@@ -1,6 +1,6 @@
# v0.94.1
> [!NOTE]
-> _TriliumNext Notes_ will rebrand itself back to Trilium Notes since @zadam was kind enough to give us the original name. See [#2190](https://github.com/orgs/TriliumNext/discussions/2190) for more info. This will probably be the "last" version branded as _TriliumNext Notes_.
+> _Trilium Notes_ will rebrand itself back to Trilium Notes since @zadam was kind enough to give us the original name. See [#2190](https://github.com/orgs/TriliumNext/discussions/2190) for more info. This will probably be the "last" version branded as Trilium Notes_.
> [!IMPORTANT]
> If you enjoyed this release, consider showing a token of appreciation by:
diff --git a/docs/Script API/index.html b/docs/Script API/index.html
index a4b2a08b74..e6968fd9ac 100644
--- a/docs/Script API/index.html
+++ b/docs/Script API/index.html
@@ -1,6 +1,6 @@
-<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>trilium</title><meta name="description" content="Documentation for trilium"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script><script async src="assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="index.html" class="title">trilium</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><h1>trilium</h1></div><div class="tsd-panel tsd-typography"><h1 id="triliumnext-notes" class="tsd-anchor-link">TriliumNext Notes<a href="#triliumnext-notes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h1><p><img src="https://img.shields.io/github/sponsors/eliandoran" alt="GitHub Sponsors"> <img src="https://img.shields.io/docker/pulls/triliumnext/notes" alt="Docker Pulls"> <img src="https://img.shields.io/github/downloads/triliumnext/notes/total" alt="GitHub Downloads (all assets, all releases)"></p>
+<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>trilium</title><meta name="description" content="Documentation for trilium"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script><script async src="assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="index.html" class="title">trilium</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><h1>trilium</h1></div><div class="tsd-panel tsd-typography"><h1 id="triliumnext-notes" class="tsd-anchor-link">Trilium Notes<a href="#triliumnext-notes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h1><p><img src="https://img.shields.io/github/sponsors/eliandoran" alt="GitHub Sponsors"> <img src="https://img.shields.io/docker/pulls/triliumnext/notes" alt="Docker Pulls"> <img src="https://img.shields.io/github/downloads/triliumnext/notes/total" alt="GitHub Downloads (all assets, all releases)"></p>
<p><a href="media/README.md">English</a> | <a href="media/README-ZH_CN.md">Chinese</a> | <a href="media/README.ru.md">Russian</a> | <a href="media/README.ja.md">Japanese</a> | <a href="media/README.it.md">Italian</a> | <a href="media/README.es.md">Spanish</a></p>
-<p>TriliumNext Notes is an open-source, cross-platform hierarchical note taking application with focus on building large personal knowledge bases.</p>
+<p>Trilium Notes is an open-source, cross-platform hierarchical note taking application with focus on building large personal knowledge bases.</p>
<p>See <a href="https://triliumnext.github.io/Docs/Wiki/screenshot-tour">screenshots</a> for quick overview:</p>
<p><a href="https://triliumnext.github.io/Docs/Wiki/screenshot-tour"><img src="https://github.com/TriliumNext/Docs/blob/main/Wiki/images/screenshot.png?raw=true" alt="Trilium Screenshot" width="1000"></a></p>
<h2 id="⚠️-why-triliumnext" class="tsd-anchor-link">⚠️ Why TriliumNext?<a href="#⚠️-why-triliumnext" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><p><a href="https://github.com/zadam/trilium/issues/4620">The original Trilium project is in maintenance mode</a></p>
@@ -58,7 +58,7 @@
</ul>
<h4 id="macos" class="tsd-anchor-link">MacOS<a href="#macos" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Currently when running TriliumNext/Notes on MacOS, you may get the following error:</p>
<blockquote>
-<p>Apple could not verify &quot;TriliumNext Notes&quot; is free of malware and may harm your Mac or compromise your privacy.</p>
+<p>Apple could not verify &quot;Trilium Notes&quot; is free of malware and may harm your Mac or compromise your privacy.</p>
</blockquote>
<p>You will need to run the command on your shell to resolve the error (documented <a href="https://github.com/TriliumNext/Notes/issues/329#issuecomment-2287164137">here</a>):</p>
<pre><code class="bash"><span class="hl-0">xattr</span><span class="hl-1"> </span><span class="hl-2">-c</span><span class="hl-1"> </span><span class="hl-3">&quot;/path/to/Trilium Next.app&quot;</span>
@@ -77,7 +77,7 @@
<h3 id="documentation" class="tsd-anchor-link">Documentation<a href="#documentation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><p>See the <a href="https://github.com/TriliumNext/Notes/blob/develop/docs/Developer%20Guide/Developer%20Guide/Documentation.md">documentation guide</a> for details.</p>
<h2 id="👏-shoutouts" class="tsd-anchor-link">👏 Shoutouts<a href="#👏-shoutouts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><ul>
<li><a href="https://github.com/ckeditor/ckeditor5">CKEditor 5</a> - best WYSIWYG editor on the market, very interactive and listening team</li>
-<li><a href="https://github.com/mar10/fancytree">FancyTree</a> - very feature rich tree library without real competition. TriliumNext Notes would not be the same without it.</li>
+<li><a href="https://github.com/mar10/fancytree">FancyTree</a> - very feature rich tree library without real competition. Trilium Notes would not be the same without it.</li>
<li><a href="https://github.com/codemirror/CodeMirror">CodeMirror</a> - code editor with support for huge amount of languages</li>
<li><a href="https://github.com/jsplumb/jsplumb">jsPlumb</a> - visual connectivity library without competition. Used in <a href="https://triliumnext.github.io/Docs/Wiki/relation-map.html">relation maps</a> and <a href="https://triliumnext.github.io/Docs/Wiki/note-map.html#link-map">link maps</a></li>
</ul>
diff --git a/docs/Script API/media/README-ZH_CN.md b/docs/Script API/media/README-ZH_CN.md
index 1f6bbaf55a..0fb87daa87 100644
--- a/docs/Script API/media/README-ZH_CN.md
+++ b/docs/Script API/media/README-ZH_CN.md
@@ -1,8 +1,8 @@
-# TriliumNext Notes
+# Trilium Notes
[English](./README.md) | [Chinese](./README-ZH_CN.md) | [Russian](./README.ru.md) | [Japanese](./README.ja.md) | [Italian](./README.it.md) | [Spanish](./README.es.md)
-TriliumNext Notes 是一个层次化的笔记应用程序,专注于建立大型个人知识库。请参阅[屏幕截图](https://triliumnext.github.io/Docs/Wiki/screenshot-tour)以快速了解:
+Trilium Notes 是一个层次化的笔记应用程序,专注于建立大型个人知识库。请参阅[屏幕截图](https://triliumnext.github.io/Docs/Wiki/screenshot-tour)以快速了解:
<a href="https://triliumnext.github.io/Docs/Wiki/screenshot-tour"><img src="https://github.com/TriliumNext/Docs/blob/main/Wiki/images/screenshot.png?raw=true" alt="Trilium Screenshot" width="1000"></a>
diff --git a/docs/Script API/media/README.es.md b/docs/Script API/media/README.es.md
index bfa57fe450..d57d656953 100644
--- a/docs/Script API/media/README.es.md
+++ b/docs/Script API/media/README.es.md
@@ -1,8 +1,8 @@
-# TriliumNext Notes
+# Trilium Notes
[English](./README.md) | [Chinese](./README-ZH_CN.md) | [Russian](./README.ru.md) | [Japanese](./README.ja.md) | [Italian](./README.it.md) | [Spanish](./README.es.md)
-TriliumNext Notes es una aplicación de toma de notas jerárquicas multi-plataforma y de código libre con un enfoque en la construcción de grandes bases de conocimiento personal.
+Trilium Notes es una aplicación de toma de notas jerárquicas multi-plataforma y de código libre con un enfoque en la construcción de grandes bases de conocimiento personal.
Vea estas [capturas de pantalla](https://triliumnext.github.io/Docs/Wiki/screenshot-tour) para un vistazo rápido:
@@ -92,7 +92,7 @@ npm run server:start
## 👏 Reconocimientos
- [CKEditor 5](https://github.com/ckeditor/ckeditor5) - el mejor editor WYSIWYG en el mercado, equipo muy interactivo y atento
-- [FancyTree](https://github.com/mar10/fancytree) - biblioteca de árbol muy rica en funciones sin competencia real. TriliumNext Notes no sería lo mismo sin esta.
+- [FancyTree](https://github.com/mar10/fancytree) - biblioteca de árbol muy rica en funciones sin competencia real. Trilium Notes no sería lo mismo sin esta.
- [CodeMirror](https://github.com/codemirror/CodeMirror) - editor de código con soporte para una gran cantidad de lenguajes
- [jsPlumb](https://github.com/jsplumb/jsplumb) - biblioteca de conectividad visual sin competencia. Usado en [mapas de relación](https://triliumnext.github.io/Docs/Wiki/Relation-map) y [mapas de enlace](https://triliumnext.github.io/Docs/Wiki/Link-map)
diff --git a/docs/Script API/media/README.it.md b/docs/Script API/media/README.it.md
index 750027c1a0..1c0bf99113 100644
--- a/docs/Script API/media/README.it.md
+++ b/docs/Script API/media/README.it.md
@@ -1,8 +1,8 @@
-# TriliumNext Notes
+# Trilium Notes
[English](./README.md) | [Chinese](./README-ZH_CN.md) | [Russian](./README.ru.md) | [Japanese](./README.ja.md) | [Italian](./README.it.md) | [Spanish](./README.es.md)
-TriliumNext Notes è un'applicazione per appunti ad organizzazione gerarchica, studiata per la costruzione di archivi di conoscenza personali di grandi dimensioni.
+Trilium Notes è un'applicazione per appunti ad organizzazione gerarchica, studiata per la costruzione di archivi di conoscenza personali di grandi dimensioni.
Vedi [fotografie](https://triliumnext.github.io/Docs/Wiki/screenshot-tour) per una panoramica veloce:
diff --git a/docs/Script API/media/README.ja.md b/docs/Script API/media/README.ja.md
index 7576387708..e16234dbd6 100644
--- a/docs/Script API/media/README.ja.md
+++ b/docs/Script API/media/README.ja.md
@@ -1,4 +1,4 @@
-# TriliumNext Notes
+# Trilium Notes
[English](./README.md) | [Chinese](./README-ZH_CN.md) | [Russian](./README.ru.md) | [Japanese](./README.ja.md) | [Italian](./README.it.md) | [Spanish](./README.es.md)
diff --git a/docs/Script API/media/README.md b/docs/Script API/media/README.md
index 30f4dc1246..a32ea2ba21 100644
--- a/docs/Script API/media/README.md
+++ b/docs/Script API/media/README.md
@@ -1,10 +1,10 @@
-# TriliumNext Notes
+# Trilium Notes
![GitHub Sponsors](https://img.shields.io/github/sponsors/eliandoran) ![Docker Pulls](https://img.shields.io/docker/pulls/triliumnext/notes) ![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/triliumnext/notes/total)
[English](./README.md) | [Chinese](./README-ZH_CN.md) | [Russian](./README.ru.md) | [Japanese](./README.ja.md) | [Italian](./README.it.md) | [Spanish](./README.es.md)
-TriliumNext Notes is an open-source, cross-platform hierarchical note taking application with focus on building large personal knowledge bases.
+Trilium Notes is an open-source, cross-platform hierarchical note taking application with focus on building large personal knowledge bases.
See [screenshots](https://triliumnext.github.io/Docs/Wiki/screenshot-tour) for quick overview:
@@ -70,7 +70,7 @@ To use TriliumNext on your desktop machine (Linux, MacOS, and Windows) you have
#### MacOS
Currently when running TriliumNext/Notes on MacOS, you may get the following error:
-> Apple could not verify "TriliumNext Notes" is free of malware and may harm your Mac or compromise your privacy.
+> Apple could not verify "Trilium Notes" is free of malware and may harm your Mac or compromise your privacy.
You will need to run the command on your shell to resolve the error (documented [here](https://github.com/TriliumNext/Notes/issues/329#issuecomment-2287164137)):
@@ -116,7 +116,7 @@ See the [documentation guide](https://github.com/TriliumNext/Notes/blob/develop/
## 👏 Shoutouts
* [CKEditor 5](https://github.com/ckeditor/ckeditor5) - best WYSIWYG editor on the market, very interactive and listening team
-* [FancyTree](https://github.com/mar10/fancytree) - very feature rich tree library without real competition. TriliumNext Notes would not be the same without it.
+* [FancyTree](https://github.com/mar10/fancytree) - very feature rich tree library without real competition. Trilium Notes would not be the same without it.
* [CodeMirror](https://github.com/codemirror/CodeMirror) - code editor with support for huge amount of languages
* [jsPlumb](https://github.com/jsplumb/jsplumb) - visual connectivity library without competition. Used in [relation maps](https://triliumnext.github.io/Docs/Wiki/relation-map.html) and [link maps](https://triliumnext.github.io/Docs/Wiki/note-map.html#link-map)
diff --git a/docs/Script API/media/README.ru.md b/docs/Script API/media/README.ru.md
index e2336efb3c..03a319313b 100644
--- a/docs/Script API/media/README.ru.md
+++ b/docs/Script API/media/README.ru.md
@@ -1,4 +1,4 @@
-# TriliumNext Notes
+# Trilium Notes
[English](./README.md) | [Chinese](./README-ZH_CN.md) | [Russian](./README.ru.md) | [Japanese](./README.ja.md) | [Italian](./README.it.md) | [Spanish](./README.es.md)
diff --git a/flake.nix b/flake.nix
index 11b3d296ab..23d3e5568b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,5 +1,5 @@
{
- description = "TriliumNext Notes (experimental flake)";
+ description = "Trilium Notes (experimental flake)";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
@@ -163,18 +163,18 @@
desktopItems = lib.optionals (app == "desktop") [
(makeDesktopItem {
- name = "TriliumNext Notes";
+ name = "Trilium Notes";
exec = meta.mainProgram;
icon = "trilium";
comment = meta.description;
- desktopName = "TriliumNext Notes";
+ desktopName = "Trilium Notes";
categories = [ "Office" ];
- startupWMClass = "TriliumNext Notes";
+ startupWMClass = "Trilium Notes";
})
];
meta = {
- description = "TriliumNext: ${app}";
+ description = "Trilium: ${app}";
inherit mainProgram;
};
};
diff --git a/package.json b/package.json
index 6e8b90dc77..24c78e146a 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "@triliumnext/source",
"version": "0.95.0",
- "description": "Build your personal knowledge base with TriliumNext Notes",
+ "description": "Build your personal knowledge base with Trilium Notes",
"directories": {
"doc": "docs"
},
@@ -68,7 +68,7 @@
},
"license": "AGPL-3.0-only",
"author": {
- "name": "TriliumNext Notes Team",
+ "name": "Trilium Notes Team",
"email": "[email protected]",
"url": "https://github.com/TriliumNext/Notes"
},
diff --git a/packages/commons/package.json b/packages/commons/package.json
index 6ce4f5705c..cc3d8961dc 100644
--- a/packages/commons/package.json
+++ b/packages/commons/package.json
@@ -18,7 +18,7 @@
},
"license": "AGPL-3.0-only",
"author": {
- "name": "TriliumNext Notes Team",
+ "name": "Trilium Notes Team",
"email": "[email protected]",
"url": "https://github.com/TriliumNext/Notes"
},
diff --git a/scripts/generate-openapi.ts b/scripts/generate-openapi.ts
index 3e1953d9e5..4c9ea2a0c6 100644
--- a/scripts/generate-openapi.ts
+++ b/scripts/generate-openapi.ts
@@ -23,7 +23,7 @@ const options = {
title: "Trilium Notes - Sync server API",
version: packageJson["version"],
description:
- "This is the internal sync server API used by Trilium Notes / TriliumNext Notes.\n\n_If you're looking for the officially supported External Trilium API, see [here](https://triliumnext.github.io/Docs/Wiki/etapi.html)._\n\nThis page does not yet list all routes. For a full list, see the [route controller](https://github.com/TriliumNext/Notes/blob/v0.91.6/src/routes/routes.ts).",
+ "This is the internal sync server API used by Trilium Notes.\n\n_If you're looking for the officially supported External Trilium API, see [here](https://triliumnext.github.io/Docs/Wiki/etapi.html)._\n\nThis page does not yet list all routes. For a full list, see the [route controller](https://github.com/TriliumNext/Notes/blob/v0.91.6/src/routes/routes.ts).",
contact: {
name: "TriliumNext issue tracker",
url: "https://github.com/TriliumNext/Notes/issues"