From 6668e639d54ab7135a326e8a85f140f50a066cd1 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Tue, 17 Jun 2025 12:57:20 +0200 Subject: [PATCH 1/7] fix(website): proper favicon --- apps/website/static/favicon.png | Bin 1571 -> 40 bytes 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 120000 apps/website/static/favicon.png diff --git a/apps/website/static/favicon.png b/apps/website/static/favicon.png deleted file mode 100644 index 825b9e65af7c104cfb07089bb28659393b4f2097..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1571 zcmV+;2Hg3HP)Px)-AP12RCwC$UE6KzI1p6{F2N z1VK2vi|pOpn{~#djwYcWXTI_im_u^TJgMZ4JMOsSj!0ma>B?-(Hr@X&W@|R-$}W@Z zgj#$x=!~7LGqHW?IO8+*oE1MyDp!G=L0#^lUx?;!fXv@l^6SvTnf^ac{5OurzC#ZMYc20lI%HhX816AYVs1T3heS1*WaWH z%;x>)-J}YB5#CLzU@GBR6sXYrD>Vw(Fmt#|JP;+}<#6b63Ike{Fuo!?M{yEffez;| zp!PfsuaC)>h>-AdbnwN13g*1LowNjT5?+lFVd#9$!8Z9HA|$*6dQ8EHLu}U|obW6f z2%uGv?vr=KNq7YYa2Roj;|zooo<)lf=&2yxM@e`kM$CmCR#x>gI>I|*Ubr({5Y^rb zghxQU22N}F51}^yfDSt786oMTc!W&V;d?76)9KXX1 z+6Okem(d}YXmmOiZq$!IPk5t8nnS{%?+vDFz3BevmFNgpIod~R{>@#@5x9zJKEHLHv!gHeK~n)Ld!M8DB|Kfe%~123&Hz1Z(86nU7*G5chmyDe ziV7$pB7pJ=96hpxHv9rCR29%bLOXlKU<_13_M8x)6;P8E1Kz6G<&P?$P^%c!M5`2` zfY2zg;VK5~^>TJGQzc+33-n~gKt{{of8GzUkWmU110IgI0DLxRIM>0US|TsM=L|@F z0Bun8U!cRB7-2apz=y-7*UxOxz@Z0)@QM)9wSGki1AZ38ceG7Q72z5`i;i=J`ILzL z@iUO?SBBG-0cQuo+an4TsLy-g-x;8P4UVwk|D8{W@U1Zi z!M)+jqy@nQ$p?5tsHp-6J304Q={v-B>66$P0IDx&YT(`IcZ~bZfmn11#rXd7<5s}y zBi9eim&zQc0Dk|2>$bs0PnLmDfMP5lcXRY&cvJ=zKxI^f0%-d$tD!`LBf9^jMSYUA zI8U?CWdY@}cRq6{5~y+)#h1!*-HcGW@+gZ4B};0OnC~`xQOyH19z*TA!!BJ%9s0V3F?CAJ{hTd#*tf+ur-W9MOURF-@B77_-OshsY}6 zOXRY=5%C^*26z?l)1=$bz30!so5tfABdSYzO+H=CpV~aaUefmjvfZ3Ttu9W&W3Iu6 zROlh0MFA5h;my}8lB0tAV-Rvc2Zs_CCSJnx@d`**$idgy-iMob4dJWWw|21b4NB=LfsYp0Aeh{Ov)yztQi;eL4y5 zMi>8^SzKqk8~k?UiQK^^-5d8c%bV?$F8%X~czyiaKCI2=UH Date: Tue, 17 Jun 2025 17:01:13 +0200 Subject: [PATCH 2/7] website: link to distribution packages --- apps/website/src/lib/download-helper.ts | 23 ++++++++++++++++++- .../src/routes/download/download-card.svelte | 2 +- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/apps/website/src/lib/download-helper.ts b/apps/website/src/lib/download-helper.ts index 08f473ae3..8f19b7020 100644 --- a/apps/website/src/lib/download-helper.ts +++ b/apps/website/src/lib/download-helper.ts @@ -41,6 +41,14 @@ export const downloadMatrix: DownloadMatrix = { }, zip: { name: "Portable (.zip)" + }, + scoop: { + name: "Scoop", + url: "https://scoop.sh/#/apps?q=triliumnext" + }, + winget: { + name: "Winget", + url: "https://github.com/microsoft/winget-pkgs/tree/master/manifests/t/TriliumNext/Notes/" } } }, @@ -66,6 +74,14 @@ export const downloadMatrix: DownloadMatrix = { }, zip: { name: "Portable (.zip)" + }, + nixpkgs: { + name: "nixpkgs", + url: "https://search.nixos.org/packages?query=trilium-next" + }, + aur: { + name: "AUR", + url: "https://aur.archlinux.org/packages/triliumnext-bin" } } }, @@ -107,6 +123,10 @@ export const downloadMatrix: DownloadMatrix = { name: "ARM (.tar.xz)", url: `https://github.com/TriliumNext/Notes/releases/download/v${version}/TriliumNextNotes-Server-v${version}-linux-arm64.tar.xz` }, + nixos: { + name: "NixOS module", + url: "https://search.nixos.org/options?query=trilium-server" + } } }, pikapod: { @@ -129,7 +149,8 @@ export const downloadMatrix: DownloadMatrix = { export function buildDownloadUrl(app: App, platform: Platform, format: string, architecture: Architecture): string { if (app === "desktop") { - return `https://github.com/TriliumNext/Notes/releases/download/v${version}/TriliumNextNotes-v${version}-${platform}-${architecture}.${format}`; + return downloadMatrix.desktop[platform]?.downloads[format].url ?? + `https://github.com/TriliumNext/Notes/releases/download/v${version}/TriliumNextNotes-v${version}-${platform}-${architecture}.${format}`; } else if (app === "server") { return downloadMatrix.server[platform]?.downloads[format].url ?? "#"; } else { diff --git a/apps/website/src/routes/download/download-card.svelte b/apps/website/src/routes/download/download-card.svelte index c2423505d..6112c6c30 100644 --- a/apps/website/src/routes/download/download-card.svelte +++ b/apps/website/src/routes/download/download-card.svelte @@ -20,7 +20,7 @@ {recommended[1].name} {/if} -
+
{#each Object.entries(platform.downloads).filter((e) => !e[1].recommended) as [format, download]} {download.name} From 3c21d97a8a9c15cd0922e6a866e982f5404bf980 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Tue, 17 Jun 2025 17:01:13 +0200 Subject: [PATCH 3/7] fix(website): page titles --- apps/website/src/routes/+page.svelte | 7 +++++++ apps/website/src/routes/download/+page.svelte | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/apps/website/src/routes/+page.svelte b/apps/website/src/routes/+page.svelte index 47cf49540..fd531b845 100644 --- a/apps/website/src/routes/+page.svelte +++ b/apps/website/src/routes/+page.svelte @@ -2,6 +2,13 @@ import DownloadNow from "./download-now.svelte"; + + Trilium Notes + + +
diff --git a/apps/website/src/routes/download/+page.svelte b/apps/website/src/routes/download/+page.svelte index aea89d905..fe32d651c 100644 --- a/apps/website/src/routes/download/+page.svelte +++ b/apps/website/src/routes/download/+page.svelte @@ -7,6 +7,13 @@ let architecture = getArchitecture(); + + Trilium Notes: Download + + +

Download the desktop application

From d1583ca091b279ff4c20b6fae2ff0a814e6efc94 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Tue, 17 Jun 2025 17:01:13 +0200 Subject: [PATCH 4/7] fix(website): normal link styling --- apps/website/src/app.css | 8 ++++++++ apps/website/src/routes/+layout.svelte | 2 ++ 2 files changed, 10 insertions(+) diff --git a/apps/website/src/app.css b/apps/website/src/app.css index 1c4d2a8bc..e6f251501 100644 --- a/apps/website/src/app.css +++ b/apps/website/src/app.css @@ -1,2 +1,10 @@ @import 'tailwindcss'; @plugin '@tailwindcss/typography'; + +main a { + text-decoration: revert; +} + +a.rounded-full, a.rounded-xl { + text-decoration: none; +} diff --git a/apps/website/src/routes/+layout.svelte b/apps/website/src/routes/+layout.svelte index f8a8cea2e..f6ed20c4b 100644 --- a/apps/website/src/routes/+layout.svelte +++ b/apps/website/src/routes/+layout.svelte @@ -7,7 +7,9 @@
+
{@render children()} +
© 2024-2025 Elian Doran and the team.
© 2017-2024 Adam Zivner. From 2c3cbcb1f9c111df8c4eef3e0887ff74b0aa00ff Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Tue, 17 Jun 2025 17:01:13 +0200 Subject: [PATCH 5/7] website: refactor feature blocks, add more --- apps/website/src/routes/+page.svelte | 92 ++++++++++++-------- apps/website/src/routes/feature-block.svelte | 14 +++ 2 files changed, 71 insertions(+), 35 deletions(-) create mode 100644 apps/website/src/routes/feature-block.svelte diff --git a/apps/website/src/routes/+page.svelte b/apps/website/src/routes/+page.svelte index fd531b845..e8ff0e8b0 100644 --- a/apps/website/src/routes/+page.svelte +++ b/apps/website/src/routes/+page.svelte @@ -1,5 +1,6 @@ @@ -47,41 +48,65 @@

Beyond Text: Smarter Note Types

- -
- Canvas Note Screenshot -
-

Canvas Notes

-

Draw and arrange elements freely using an Excalidraw-powered canvas — ideal for diagrams, sketches, and visual planning.

-
-
+ - -
- Mermaid Diagram Screenshot -
-

Mermaid Diagrams

-

Render flowcharts, Gantt charts, and sequence diagrams with Mermaid markdown syntax directly in your notes.

-
-
+ - -
- Geo Map Screenshot -
-

Geo Maps

-

Plot locations and GPX tracks to visualize geography-linked notes and movement patterns on interactive maps.

-
-
+ - -
- Mind Map Screenshot -
-

Mind Maps

-

Organize ideas visually using a drag-and-drop mind map editor powered by Mind Elixir.

-
-
+ +
+ +

Technical Features

+ +
+ + + + + + +
@@ -116,7 +141,6 @@

Security & Sync

  • Direct OpenID and TOTP integration for secure login.
  • -
  • Synchronization with self-hosted and third-party servers.
  • Strong note encryption with per-note granularity.
  • Sharing notes publicly on the internet.
@@ -127,10 +151,8 @@

Advanced & Customization

  • Relation maps and link maps to visualize notes.
  • -
  • Scripting support and REST API for automation.
  • Touch-optimized mobile frontend and dark/user themes.
  • Customizable UI with sidebar buttons and user widgets.
  • -
  • Metrics with Grafana dashboard integration.
  • Scales efficiently beyond 100,000 notes.
diff --git a/apps/website/src/routes/feature-block.svelte b/apps/website/src/routes/feature-block.svelte new file mode 100644 index 000000000..0a48212a4 --- /dev/null +++ b/apps/website/src/routes/feature-block.svelte @@ -0,0 +1,14 @@ + + +
+ {imgAlt} +
+

{title}

+

{text}

+
+
\ No newline at end of file From f9ecfd1ad0fc1ee3319f89e8dc416b0ce6b117d8 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Tue, 17 Jun 2025 17:01:13 +0200 Subject: [PATCH 6/7] feat(website): dark mode --- apps/website/src/app.html | 2 +- apps/website/src/routes/+layout.svelte | 8 ++++++-- apps/website/src/routes/+page.svelte | 15 ++++++++------- apps/website/src/routes/download/+page.svelte | 12 ++++++------ .../src/routes/download/download-card.svelte | 4 ++-- apps/website/src/routes/feature-block.svelte | 4 ++-- apps/website/src/routes/header.svelte | 2 +- 7 files changed, 26 insertions(+), 21 deletions(-) diff --git a/apps/website/src/app.html b/apps/website/src/app.html index 16ef9cc59..7539873b8 100644 --- a/apps/website/src/app.html +++ b/apps/website/src/app.html @@ -7,6 +7,6 @@ %sveltekit.head% -
%sveltekit.body%
+ %sveltekit.body% diff --git a/apps/website/src/routes/+layout.svelte b/apps/website/src/routes/+layout.svelte index f6ed20c4b..18fe9f546 100644 --- a/apps/website/src/routes/+layout.svelte +++ b/apps/website/src/routes/+layout.svelte @@ -5,12 +5,16 @@ let { children } = $props(); + +
{@render children()}
- + + \ No newline at end of file diff --git a/apps/website/src/routes/+page.svelte b/apps/website/src/routes/+page.svelte index e8ff0e8b0..f1669fed1 100644 --- a/apps/website/src/routes/+page.svelte +++ b/apps/website/src/routes/+page.svelte @@ -10,7 +10,7 @@ --> -
+
@@ -23,10 +23,11 @@
-

Organize Your Thoughts.
Build Your Knowledge.

-

+

Organize Your Thoughts.
Build Your Knowledge.

+

Trilium Notes helps you build and organize complex personal knowledge bases effortlessly. Its unique tree structure, rich editing tools, and powerful search features make managing your information intuitive and flexible. +

@@ -113,7 +114,7 @@

Feature Highlights

-
+

Organization & Navigation

@@ -160,13 +161,13 @@
-
+

Ready to get started with Trilium Notes?

-

Build your personal knowledge base with powerful features and full privacy.

+

Build your personal knowledge base with powerful features and full privacy.

diff --git a/apps/website/src/routes/download/+page.svelte b/apps/website/src/routes/download/+page.svelte index fe32d651c..44ae25f7a 100644 --- a/apps/website/src/routes/download/+page.svelte +++ b/apps/website/src/routes/download/+page.svelte @@ -14,13 +14,13 @@ --> -
+
-

Download the desktop application

+

Download the desktop application

- Architecture: + Architecture:
{#each architectures as arch}
+ +
diff --git a/apps/website/static/technical-features/grafana-metrics.png b/apps/website/static/technical-features/grafana-metrics.png new file mode 120000 index 000000000..1dd11db67 --- /dev/null +++ b/apps/website/static/technical-features/grafana-metrics.png @@ -0,0 +1 @@ +../../../../docs/User Guide/User Guide/Advanced Usage/1_Metrics_image.png \ No newline at end of file