Note Types
+ +T
+From 7651c58c4772ef143be482cdec8d2a8b90524d59 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 5 Nov 2025 01:33:17 +0000
Subject: [PATCH 01/12] chore(deps): update dependency axios to v1.13.2
---
apps/server/package.json | 2 +-
pnpm-lock.yaml | 36 +++++++++++++++++++++++++++++-------
2 files changed, 30 insertions(+), 8 deletions(-)
diff --git a/apps/server/package.json b/apps/server/package.json
index 2c9b0aefb..dae7a3019 100644
--- a/apps/server/package.json
+++ b/apps/server/package.json
@@ -67,7 +67,7 @@
"@types/xml2js": "0.4.14",
"archiver": "7.0.1",
"async-mutex": "0.5.0",
- "axios": "1.13.1",
+ "axios": "1.13.2",
"bindings": "1.5.0",
"bootstrap": "5.3.8",
"chardet": "2.1.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index d039fcef4..7aaf72237 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -604,8 +604,8 @@ importers:
specifier: 0.5.0
version: 0.5.0
axios:
- specifier: 1.13.1
- version: 1.13.1(debug@4.4.3)
+ specifier: 1.13.2
+ version: 1.13.2(debug@4.4.3)
bindings:
specifier: 1.5.0
version: 1.5.0
@@ -6295,8 +6295,8 @@ packages:
resolution: {integrity: sha512-zJAaP9zxTcvTHRlejau3ZOY4V7SRpiByf3/dxx2uyKxxor19tpmpV2QRsTKikckwhaPmr2dVpxxMr7jOCYVp5g==}
engines: {node: '>=6.0.0'}
- axios@1.13.1:
- resolution: {integrity: sha512-hU4EGxxt+j7TQijx1oYdAjw4xuIp1wRQSsbMFwSthCWeBQur1eF+qJ5iQ5sN3Tw8YRzQNKb8jszgBdMDVqwJcw==}
+ axios@1.13.2:
+ resolution: {integrity: sha512-VPk9ebNqPcy5lRGuSlKx752IlDatOjT9paPlm8A7yOuW2Fbvp4X3JznJtT4f0GzGLLiWE9W8onz51SqLYwzGaA==}
b4a@1.6.7:
resolution: {integrity: sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==}
@@ -15611,6 +15611,8 @@ snapshots:
'@ckeditor/ckeditor5-core': 47.1.0
'@ckeditor/ckeditor5-upload': 47.1.0
ckeditor5: 47.1.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
+ transitivePeerDependencies:
+ - supports-color
'@ckeditor/ckeditor5-ai@47.1.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)':
dependencies:
@@ -15820,6 +15822,8 @@ snapshots:
'@ckeditor/ckeditor5-utils': 47.1.0
'@ckeditor/ckeditor5-watchdog': 47.1.0
es-toolkit: 1.39.5
+ transitivePeerDependencies:
+ - supports-color
'@ckeditor/ckeditor5-dev-build-tools@43.1.0(@swc/helpers@0.5.17)(tslib@2.8.1)(typescript@5.9.3)':
dependencies:
@@ -15984,8 +15988,6 @@ snapshots:
'@ckeditor/ckeditor5-utils': 47.1.0
ckeditor5: 47.1.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
es-toolkit: 1.39.5
- transitivePeerDependencies:
- - supports-color
'@ckeditor/ckeditor5-editor-classic@47.1.0':
dependencies:
@@ -15995,6 +15997,8 @@ snapshots:
'@ckeditor/ckeditor5-utils': 47.1.0
ckeditor5: 47.1.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
es-toolkit: 1.39.5
+ transitivePeerDependencies:
+ - supports-color
'@ckeditor/ckeditor5-editor-decoupled@47.1.0':
dependencies:
@@ -16004,6 +16008,8 @@ snapshots:
'@ckeditor/ckeditor5-utils': 47.1.0
ckeditor5: 47.1.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
es-toolkit: 1.39.5
+ transitivePeerDependencies:
+ - supports-color
'@ckeditor/ckeditor5-editor-inline@47.1.0':
dependencies:
@@ -16121,6 +16127,8 @@ snapshots:
'@ckeditor/ckeditor5-utils': 47.1.0
ckeditor5: 47.1.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
es-toolkit: 1.39.5
+ transitivePeerDependencies:
+ - supports-color
'@ckeditor/ckeditor5-font@47.1.0':
dependencies:
@@ -16184,6 +16192,8 @@ snapshots:
'@ckeditor/ckeditor5-utils': 47.1.0
'@ckeditor/ckeditor5-widget': 47.1.0
ckeditor5: 47.1.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
+ transitivePeerDependencies:
+ - supports-color
'@ckeditor/ckeditor5-html-embed@47.1.0':
dependencies:
@@ -16474,6 +16484,8 @@ snapshots:
'@ckeditor/ckeditor5-paste-from-office': 47.1.0
'@ckeditor/ckeditor5-utils': 47.1.0
ckeditor5: 47.1.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
+ transitivePeerDependencies:
+ - supports-color
'@ckeditor/ckeditor5-paste-from-office@47.1.0':
dependencies:
@@ -16481,6 +16493,8 @@ snapshots:
'@ckeditor/ckeditor5-core': 47.1.0
'@ckeditor/ckeditor5-engine': 47.1.0
ckeditor5: 47.1.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
+ transitivePeerDependencies:
+ - supports-color
'@ckeditor/ckeditor5-real-time-collaboration@47.1.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)':
dependencies:
@@ -16522,6 +16536,8 @@ snapshots:
'@ckeditor/ckeditor5-ui': 47.1.0
'@ckeditor/ckeditor5-utils': 47.1.0
ckeditor5: 47.1.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
+ transitivePeerDependencies:
+ - supports-color
'@ckeditor/ckeditor5-revision-history@47.1.0':
dependencies:
@@ -16599,6 +16615,8 @@ snapshots:
'@ckeditor/ckeditor5-ui': 47.1.0
'@ckeditor/ckeditor5-utils': 47.1.0
ckeditor5: 47.1.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
+ transitivePeerDependencies:
+ - supports-color
'@ckeditor/ckeditor5-special-characters@47.1.0':
dependencies:
@@ -16608,6 +16626,8 @@ snapshots:
'@ckeditor/ckeditor5-ui': 47.1.0
'@ckeditor/ckeditor5-utils': 47.1.0
ckeditor5: 47.1.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
+ transitivePeerDependencies:
+ - supports-color
'@ckeditor/ckeditor5-style@47.1.0':
dependencies:
@@ -16710,6 +16730,8 @@ snapshots:
'@ckeditor/ckeditor5-icons': 47.1.0
'@ckeditor/ckeditor5-ui': 47.1.0
'@ckeditor/ckeditor5-utils': 47.1.0
+ transitivePeerDependencies:
+ - supports-color
'@ckeditor/ckeditor5-upload@47.1.0':
dependencies:
@@ -21822,7 +21844,7 @@ snapshots:
await-to-js@3.0.0: {}
- axios@1.13.1(debug@4.4.3):
+ axios@1.13.2(debug@4.4.3):
dependencies:
follow-redirects: 1.15.9(debug@4.4.3)
form-data: 4.0.4
From d5bfa466a29b32a357a478b2e6c2d700b5df4686 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 5 Nov 2025 01:34:00 +0000
Subject: [PATCH 02/12] chore(deps): update dependency sax to v1.4.3
---
apps/server/package.json | 2 +-
pnpm-lock.yaml | 26 ++++++++++----------------
2 files changed, 11 insertions(+), 17 deletions(-)
diff --git a/apps/server/package.json b/apps/server/package.json
index 2c9b0aefb..0b0536cb3 100644
--- a/apps/server/package.json
+++ b/apps/server/package.json
@@ -115,7 +115,7 @@
"safe-compare": "1.1.4",
"sanitize-filename": "1.6.3",
"sanitize-html": "2.17.0",
- "sax": "1.4.2",
+ "sax": "1.4.3",
"serve-favicon": "2.5.1",
"stream-throttle": "0.1.3",
"strip-bom": "5.0.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index d039fcef4..d858645c0 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -748,8 +748,8 @@ importers:
specifier: 2.17.0
version: 2.17.0
sax:
- specifier: 1.4.2
- version: 1.4.2
+ specifier: 1.4.3
+ version: 1.4.3
serve-favicon:
specifier: 2.5.1
version: 2.5.1
@@ -12945,8 +12945,8 @@ packages:
engines: {node: '>=14.0.0'}
hasBin: true
- sax@1.4.2:
- resolution: {integrity: sha512-FySGAa0RGcFiN6zfrO9JvK1r7TB59xuzCcTHOBXBNoKgDejlOQCR2KL/FGk3/iDlsqyYg1ELZpOmlg09B01Czw==}
+ sax@1.4.3:
+ resolution: {integrity: sha512-yqYn1JhPczigF94DMS+shiDMjDowYO6y9+wB/4WgO0Y19jWYk0lQ4tuG5KI7kj4FTp1wxPj5IFfcrz/s1c3jjQ==}
saxes@5.0.1:
resolution: {integrity: sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==}
@@ -15757,8 +15757,6 @@ snapshots:
'@ckeditor/ckeditor5-core': 47.1.0
'@ckeditor/ckeditor5-utils': 47.1.0
ckeditor5: 47.1.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
- transitivePeerDependencies:
- - supports-color
'@ckeditor/ckeditor5-code-block@47.1.0(patch_hash=2361d8caad7d6b5bddacc3a3b4aa37dbfba260b1c1b22a450413a79c1bb1ce95)':
dependencies:
@@ -15984,8 +15982,6 @@ snapshots:
'@ckeditor/ckeditor5-utils': 47.1.0
ckeditor5: 47.1.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
es-toolkit: 1.39.5
- transitivePeerDependencies:
- - supports-color
'@ckeditor/ckeditor5-editor-classic@47.1.0':
dependencies:
@@ -16013,8 +16009,6 @@ snapshots:
'@ckeditor/ckeditor5-utils': 47.1.0
ckeditor5: 47.1.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
es-toolkit: 1.39.5
- transitivePeerDependencies:
- - supports-color
'@ckeditor/ckeditor5-editor-multi-root@47.1.0':
dependencies:
@@ -17797,7 +17791,7 @@ snapshots:
'@file-type/xml@0.4.3':
dependencies:
- sax: 1.4.2
+ sax: 1.4.3
strtok3: 10.2.2
'@floating-ui/core@1.6.9':
@@ -27548,7 +27542,7 @@ snapshots:
needle@3.3.1:
dependencies:
iconv-lite: 0.6.3
- sax: 1.4.2
+ sax: 1.4.3
optional: true
negotiator@0.6.3: {}
@@ -29987,7 +29981,7 @@ snapshots:
'@parcel/watcher': 2.5.1
optional: true
- sax@1.4.2: {}
+ sax@1.4.3: {}
saxes@5.0.1:
dependencies:
@@ -30983,7 +30977,7 @@ snapshots:
css-what: 6.2.2
csso: 5.0.5
picocolors: 1.1.1
- sax: 1.4.2
+ sax: 1.4.3
swagger-jsdoc@6.2.8(openapi-types@12.1.3):
dependencies:
@@ -32328,12 +32322,12 @@ snapshots:
xml2js@0.5.0:
dependencies:
- sax: 1.4.2
+ sax: 1.4.3
xmlbuilder: 11.0.1
xml2js@0.6.2:
dependencies:
- sax: 1.4.2
+ sax: 1.4.3
xmlbuilder: 11.0.1
xmlbuilder@11.0.1: {}
From a8bb301296bfdb717080af52402a91ef073b7051 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 5 Nov 2025 01:34:43 +0000
Subject: [PATCH 03/12] chore(deps): update dependency @redocly/cli to v2.11.0
---
apps/build-docs/package.json | 2 +-
pnpm-lock.yaml | 42 +++++++++++++++++-------------------
2 files changed, 21 insertions(+), 23 deletions(-)
diff --git a/apps/build-docs/package.json b/apps/build-docs/package.json
index f22baec81..00196de82 100644
--- a/apps/build-docs/package.json
+++ b/apps/build-docs/package.json
@@ -11,7 +11,7 @@
"license": "AGPL-3.0-only",
"packageManager": "pnpm@10.20.0",
"devDependencies": {
- "@redocly/cli": "2.10.0",
+ "@redocly/cli": "2.11.0",
"archiver": "7.0.1",
"fs-extra": "11.3.2",
"react": "19.2.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index d039fcef4..c477f4df6 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -131,8 +131,8 @@ importers:
apps/build-docs:
devDependencies:
'@redocly/cli':
- specifier: 2.10.0
- version: 2.10.0(@opentelemetry/api@1.9.0)(ajv@8.17.1)(bufferutil@4.0.9)(core-js@3.46.0)(encoding@0.1.13)(utf-8-validate@6.0.5)
+ specifier: 2.11.0
+ version: 2.11.0(@opentelemetry/api@1.9.0)(ajv@8.17.1)(bufferutil@4.0.9)(core-js@3.46.0)(encoding@0.1.13)(utf-8-validate@6.0.5)
archiver:
specifier: 7.0.1
version: 7.0.1
@@ -4223,27 +4223,27 @@ packages:
'@redocly/ajv@8.11.3':
resolution: {integrity: sha512-4P3iZse91TkBiY+Dx5DUgxQ9GXkVJf++cmI0MOyLDxV9b5MUBI4II6ES8zA5JCbO72nKAJxWrw4PUPW+YP3ZDQ==}
- '@redocly/cli@2.10.0':
- resolution: {integrity: sha512-wKuF/30MSmcc4SJwWTuVnIeFKyW60DVOgxTzvvA+wC1HRBZ24X3UTRyt6MtDEFGcNl6hv5/J9l2lodStwwqelQ==}
+ '@redocly/cli@2.11.0':
+ resolution: {integrity: sha512-Wr8me9M5tQ4pZT7Z0Llxojlo8L0GBBt45zceQ8iKyBmJUHWDbKYYdKubZBCH0XktQLEA8HitYBGN1unsxwx20g==}
engines: {node: '>=22.12.0 || >=20.19.0 <21.0.0', npm: '>=10'}
hasBin: true
'@redocly/config@0.22.2':
resolution: {integrity: sha512-roRDai8/zr2S9YfmzUfNhKjOF0NdcOIqF7bhf4MVC5UxpjIysDjyudvlAiVbpPHp3eDRWbdzUgtkK1a7YiDNyQ==}
- '@redocly/config@0.36.2':
- resolution: {integrity: sha512-gwIjFOzyq9bdJCdtEHDMf2hEJ9hHXUHkY1U3IPWyZmRoFcibzlpXOLrT0xVgnn10IEttMwD+SZtZBE593yDXsw==}
+ '@redocly/config@0.37.0':
+ resolution: {integrity: sha512-cYN+rTTCQIp5mVt1xumJsNqpZcaPVUf1x0ryD0QKXpVKsxKc+lHaMF2P1CqMgdQNY9B7i84z/kvxD0EhxzlxbQ==}
'@redocly/openapi-core@1.34.5':
resolution: {integrity: sha512-0EbE8LRbkogtcCXU7liAyC00n9uNG9hJ+eMyHFdUsy9lB/WGqnEBgwjA9q2cyzAVcdTkQqTBBU1XePNnN3OijA==}
engines: {node: '>=18.17.0', npm: '>=9.5.0'}
- '@redocly/openapi-core@2.10.0':
- resolution: {integrity: sha512-OmWvnpA11J6Tp3+h8I3nrfpTcXROLllr/9yIUB7ofi7s1yOOKOqlZ4HTs+zaeNmk9vclwmbgc2HVdSsBKUXp6g==}
+ '@redocly/openapi-core@2.11.0':
+ resolution: {integrity: sha512-CF4QpCoxxHIB7Dib1XnhdL0WuW4dO4zvNfaEWpN7TASlitOX2mhrc6sD3dYG9knW1iG16e3Oauv2O+tVJx1E9Q==}
engines: {node: '>=22.12.0 || >=20.19.0 <21.0.0', npm: '>=10'}
- '@redocly/respect-core@2.10.0':
- resolution: {integrity: sha512-4XFOR3kbuhlPBeW2G/G3yPs7YJKV0d/k2BgDwKIQH8Edld4fHvknEAR9TFUaWsiA7JGWrP3CQ58P5VoDNW5O0Q==}
+ '@redocly/respect-core@2.11.0':
+ resolution: {integrity: sha512-lAvDILvq82IIei2gVyapGyfuWEamJgCiGO++yQriVk4Wr0hE3lF7ZWusUM3aGZrxEWCVGeeLwbMBpv1BQOnmEg==}
engines: {node: '>=22.12.0 || >=20.19.0 <21.0.0', npm: '>=10'}
'@replit/codemirror-indentation-markers@6.5.3':
@@ -15984,8 +15984,6 @@ snapshots:
'@ckeditor/ckeditor5-utils': 47.1.0
ckeditor5: 47.1.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
es-toolkit: 1.39.5
- transitivePeerDependencies:
- - supports-color
'@ckeditor/ckeditor5-editor-classic@47.1.0':
dependencies:
@@ -19324,14 +19322,14 @@ snapshots:
require-from-string: 2.0.2
uri-js-replace: 1.0.1
- '@redocly/cli@2.10.0(@opentelemetry/api@1.9.0)(ajv@8.17.1)(bufferutil@4.0.9)(core-js@3.46.0)(encoding@0.1.13)(utf-8-validate@6.0.5)':
+ '@redocly/cli@2.11.0(@opentelemetry/api@1.9.0)(ajv@8.17.1)(bufferutil@4.0.9)(core-js@3.46.0)(encoding@0.1.13)(utf-8-validate@6.0.5)':
dependencies:
'@opentelemetry/exporter-trace-otlp-http': 0.202.0(@opentelemetry/api@1.9.0)
'@opentelemetry/resources': 2.0.1(@opentelemetry/api@1.9.0)
'@opentelemetry/sdk-trace-node': 2.0.1(@opentelemetry/api@1.9.0)
'@opentelemetry/semantic-conventions': 1.34.0
- '@redocly/openapi-core': 2.10.0(ajv@8.17.1)
- '@redocly/respect-core': 2.10.0(ajv@8.17.1)
+ '@redocly/openapi-core': 2.11.0(ajv@8.17.1)
+ '@redocly/respect-core': 2.11.0(ajv@8.17.1)
abort-controller: 3.0.0
chokidar: 3.6.0
colorette: 1.4.0
@@ -19364,7 +19362,7 @@ snapshots:
'@redocly/config@0.22.2': {}
- '@redocly/config@0.36.2':
+ '@redocly/config@0.37.0':
dependencies:
json-schema-to-ts: 2.7.2
@@ -19382,10 +19380,10 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@redocly/openapi-core@2.10.0(ajv@8.17.1)':
+ '@redocly/openapi-core@2.11.0(ajv@8.17.1)':
dependencies:
'@redocly/ajv': 8.11.3
- '@redocly/config': 0.36.2
+ '@redocly/config': 0.37.0
ajv-formats: 2.1.1(ajv@8.17.1)
colorette: 1.4.0
js-levenshtein: 1.1.6
@@ -19396,12 +19394,12 @@ snapshots:
transitivePeerDependencies:
- ajv
- '@redocly/respect-core@2.10.0(ajv@8.17.1)':
+ '@redocly/respect-core@2.11.0(ajv@8.17.1)':
dependencies:
'@faker-js/faker': 7.6.0
'@noble/hashes': 1.8.0
'@redocly/ajv': 8.11.2
- '@redocly/openapi-core': 2.10.0(ajv@8.17.1)
+ '@redocly/openapi-core': 2.11.0(ajv@8.17.1)
better-ajv-errors: 1.2.0(ajv@8.17.1)
colorette: 2.0.20
json-pointer: 0.6.2
@@ -27573,7 +27571,7 @@ snapshots:
node-api-version@0.2.1:
dependencies:
- semver: 7.7.2
+ semver: 7.7.3
node-domexception@1.0.0: {}
@@ -27611,7 +27609,7 @@ snapshots:
make-fetch-happen: 14.0.3
nopt: 8.1.0
proc-log: 5.0.0
- semver: 7.7.2
+ semver: 7.7.3
tar: 7.4.3
tinyglobby: 0.2.15
which: 5.0.0
From ab298cbb3b10d3b66469f71e7797df22de1260fc Mon Sep 17 00:00:00 2001
From: Elian Doran Data directory contains: Easy way how to find out which data directory Trilium uses is to look
@@ -18,30 +18,42 @@
Data directory is normally named If you want to back up your Trilium data, just backup this single directory
- it contains everything you need. If you want to use some other location for the data directory than the
- default one, you may change it via TRILIUM_DATA_DIR environment variable
- to some other location:
-
document.db - database
+ document.db - database
config.ini - instance level settings like port on which the
+ config.ini - instance level settings like port on which the
Trilium application runsbackup - contains automatically backup of
+ backup - contains automatically backup of
documentslog - contains application log fileslog - contains application log filesLocation of the data directory
trilium-data and it is stored
in:
-
/home/[user]/.local/share for LinuxC:\Users\[user]\AppData\Roaming for Windows Vista and up/Users/[user]/Library/Application Support for Mac OS/home/[user]/.local/share for LinuxC:\Users\[user]\AppData\Roaming for Windows Vista and up/Users/[user]/Library/Application Support for Mac OSChanging the location of data directory
TRILIUM_DATA_DIR environment
+ variable to some other location:
TRILIUM_DATA_DIR.export TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data
You need to create a .plist file under ~/Library/LaunchAgents to
load it properly each login.
To load it manually, you need to use launchctl setenv TRILIUM_DATA_DIR <yourpath>
Here is a pre-defined template, where you just need to add your path to:
-
-
-
-
- Label
+Here is a pre-defined template, where you just need to add your path to:
Label
set.trilium.env
RunAtLoad
@@ -50,76 +62,75 @@
launchctl
setenv
TRILIUM_DATA_DIR
- /Users/YourUserName/Library/Application Support/trilium-data
-
-
-
+ /Users/YourUserName/Library/Application Support/trilium-data
An alternative to globally setting environment variable is to run only the Trilium Notes with this environment variable. This then allows for different setup styles like two database instances or "portable" installation.
-To do this in unix based systems simply run trilium like this:
TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data trilium
+To do this in Unix-based systems simply run trilium like this:
TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data trilium
You can then save the above command as a shell script on your path for convenience.
Apart from the data directory, some of the subdirectories of it can be moved elsewhere by changing an environment variable:
-| Environment variable | -Default value | -Description | -
|---|---|---|
TRILIUM_DOCUMENT_PATH
- |
- ${TRILIUM_DATA_DIR}/document.db
- |
- Path to the Database (storing - all notes and metadata). | -
TRILIUM_BACKUP_DIR
- |
- ${TRILIUM_DATA_DIR}/backup
- |
- Directory where automated Backup databases - are stored. | -
TRILIUM_LOG_DIR
- |
- ${TRILIUM_DATA_DIR}/log
- |
- Directory where daily Backend (server) logs are - stored. | -
TRILIUM_TMP_DIR
- |
- ${TRILIUM_DATA_DIR}/tmp
- |
- Directory where temporary files are stored (for example when opening in - an external app). | -
TRILIUM_ANONYMIZED_DB_DIR
- |
- ${TRILIUM_DATA_DIR}/anonymized-db
- |
- Directory where a Anonymized Database is - stored. | -
TRILIUM_CONFIG_INI_PATH
- |
- ${TRILIUM_DATA_DIR}/config.ini
- |
- Path to Configuration (config.ini or environment variables) file. | -
| Environment variable | +Default value | +Description | +
|---|---|---|
TRILIUM_DOCUMENT_PATH
+ |
+ ${TRILIUM_DATA_DIR}/document.db
+ |
+ Path to the Database (storing + all notes and metadata). | +
TRILIUM_BACKUP_DIR
+ |
+ ${TRILIUM_DATA_DIR}/backup
+ |
+ Directory where automated Backup databases + are stored. | +
TRILIUM_LOG_DIR
+ |
+ ${TRILIUM_DATA_DIR}/log
+ |
+ Directory where daily Backend (server) logs are + stored. | +
TRILIUM_TMP_DIR
+ |
+ ${TRILIUM_DATA_DIR}/tmp
+ |
+ Directory where temporary files are stored (for example when opening in + an external app). | +
TRILIUM_ANONYMIZED_DB_DIR
+ |
+ ${TRILIUM_DATA_DIR}/anonymized-db
+ |
+ Directory where a Anonymized Database is + stored. | +
TRILIUM_CONFIG_INI_PATH
+ |
+ ${TRILIUM_DATA_DIR}/config.ini
+ |
+ Path to Configuration (config.ini or environment variables) file. | +
+There are multiple types of documentation for Trilium:
* The _User Guide_ represents the user-facing documentation. This documentation can be browsed by users directly from within Trilium, by pressing F1.
* The _Developer's Guide_ represents a set of Markdown documents that present the internals of Trilium, for developers.
diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.json
index 86ddd9589..c0be59116 100644
--- a/docs/User Guide/!!!meta.json
+++ b/docs/User Guide/!!!meta.json
@@ -25,56 +25,35 @@
{
"type": "relation",
"name": "internalLink",
- "value": "BFs8mudNFgCS",
+ "value": "gh7bpGYxajRS",
"isInheritable": false,
"position": 20
},
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "BFs8mudNFgCS",
+ "isInheritable": false,
+ "position": 30
+ },
{
"type": "relation",
"name": "internalLink",
"value": "GTwFsgaA0lCt",
"isInheritable": false,
- "position": 30
- },
- {
- "type": "label",
- "name": "shareAlias",
- "value": "user-guide",
- "isInheritable": false,
- "position": 10
- },
- {
- "type": "label",
- "name": "label:shareAlias",
- "value": "promoted,alias=Slug,single,text",
- "isInheritable": true,
- "position": 20
- },
- {
- "type": "label",
- "name": "iconClass",
- "value": "bx bx-help-circle",
- "isInheritable": false,
- "position": 30
+ "position": 40
},
{
"type": "relation",
"name": "internalLink",
"value": "poXkQfguuA0U",
"isInheritable": false,
- "position": 40
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "WOcw2SLH6tbX",
- "isInheritable": false,
"position": 50
},
{
"type": "relation",
"name": "internalLink",
- "value": "gh7bpGYxajRS",
+ "value": "WOcw2SLH6tbX",
"isInheritable": false,
"position": 60
},
@@ -98,6 +77,27 @@
"value": "9qPsTWBorUhQ",
"isInheritable": false,
"position": 90
+ },
+ {
+ "type": "label",
+ "name": "shareAlias",
+ "value": "user-guide",
+ "isInheritable": false,
+ "position": 10
+ },
+ {
+ "type": "label",
+ "name": "label:shareAlias",
+ "value": "promoted,alias=Slug,single,text",
+ "isInheritable": true,
+ "position": 20
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-help-circle",
+ "isInheritable": false,
+ "position": 30
}
],
"format": "markdown",
diff --git a/docs/User Guide/User Guide/Installation & Setup/Data directory.md b/docs/User Guide/User Guide/Installation & Setup/Data directory.md
index c2f3650c5..3d66bafe9 100644
--- a/docs/User Guide/User Guide/Installation & Setup/Data directory.md
+++ b/docs/User Guide/User Guide/Installation & Setup/Data directory.md
@@ -26,7 +26,17 @@ If you want to back up your Trilium data, just backup this single directory - it
### Changing the location of data directory
-If you want to use some other location for the data directory than the default one, you may change it via TRILIUM\_DATA\_DIR environment variable to some other location:
+If you want to use some other location for the data directory than the default one, you may change it via `TRILIUM_DATA_DIR` environment variable to some other location:
+
+### Windows
+
+1. Press the Windows key on your keyboard.
+2. Search and select “Edit the system variables”.
+3. Press the “Environment Variables…” button in the bottom-right of the newly opened screen.
+4. On the top section ("User variables for \[user\]"), press the “New…” button.
+5. In the _Variable name_ field insert `TRILIUM_DATA_DIR`.
+6. Press the _Browse Directory…_ button and select the new directory where to store the database.
+7. Close all the windows by pressing the _OK_ button for each of them.
#### Linux
@@ -43,11 +53,6 @@ To load it manually, you need to use `launchctl setenv TRILIUM_DATA_DIR Welcome to Trilium Notes! -
This is a "demo" document packaged with Trilium to showcase some of its features and also give you some ideas on how you might structure your notes. @@ -26,22 +25,17 @@ you wish.
If you need any help, visit triliumnotes.org or our GitHub repository -
Once you're finished with experimenting and want to cleanup these pages, you can simply delete them all.
Trilium supports classic formatting like italic, bold, bold and italic. You can add links pointing to external pages or Formatting examples.
Ordered: -
Unordered: -
Whereof one cannot speak, thereof one must be silent”
– Ludwig Wittgenstein
@@ -75,9 +67,9 @@
See also other examples like tables, checkbox lists, highlighting, + href="Trilium%20Demo/Formatting%20examples/Checkbox%20lists.html">checkbox lists, highlighting, code blocksand code blocksand math examples.
+ href="Trilium%20Demo/Formatting%20examples/Math.html">math examples.
T
+diff --git a/apps/edit-docs/demo/root/Trilium Demo/Formatting examples/Code blocks.html b/apps/edit-docs/demo/root/Trilium Demo/Formatting examples/Code blocks.html index 6827fa8af..214ef212e 100644 --- a/apps/edit-docs/demo/root/Trilium Demo/Formatting examples/Code blocks.html +++ b/apps/edit-docs/demo/root/Trilium Demo/Formatting examples/Code blocks.html @@ -21,8 +21,12 @@ language, should that fail it is possible to manually adjust it. The color scheme for the syntax highlighting is adjustable in settings.
function helloWorld() {
+
+
alert("Hello world");
+
+
}
For larger pieces of code it is better to use a code note, which uses a fully-fledged code editor (CodeMirror). For an example of a code note, diff --git a/apps/edit-docs/demo/root/Trilium Demo/Note Types.html b/apps/edit-docs/demo/root/Trilium Demo/Note Types.html new file mode 100644 index 000000000..614d566bc --- /dev/null +++ b/apps/edit-docs/demo/root/Trilium Demo/Note Types.html @@ -0,0 +1,21 @@ + + +
+
+
+
+
+ + +
+ +