This is initial "demo" document provided by TriliumNext by default to
+ showcase some of its features and also give you some ideas how you might
+ structure your notes. You can play with it, modify note content and tree
+ structure as you wish.
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Canvas note.json b/demo/Home/Trilium Demo/Canvas note.json
new file mode 100644
index 000000000..0f334778c
--- /dev/null
+++ b/demo/Home/Trilium Demo/Canvas note.json
@@ -0,0 +1 @@
+{"type":"excalidraw","version":2,"elements":[{"type":"rectangle","version":234,"versionNonce":2115983107,"isDeleted":false,"id":"Nx_6ACJaaueNh0fTsVZeh","fillStyle":"hachure","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":0,"x":14.66796875,"y":8.13671875,"strokeColor":"#000000","backgroundColor":"#fa5252","width":247,"height":138,"seed":679323330,"groupIds":[],"strokeSharpness":"sharp","boundElements":[],"updated":1701078794806,"link":null},{"type":"arrow","version":142,"versionNonce":265248388,"isDeleted":false,"id":"2bmK1AKg9yVMP6CO_U6Ke","fillStyle":"hachure","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":0,"x":216,"y":67,"strokeColor":"#000000","backgroundColor":"#fa5252","width":289,"height":46,"seed":1265574494,"groupIds":[],"strokeSharpness":"round","boundElements":[],"updated":1655641371094,"link":null,"lastCommittedPoint":null,"startArrowhead":null,"endArrowhead":"arrow","points":[[0,0],[289,46]]},{"type":"ellipse","version":162,"versionNonce":507427772,"isDeleted":false,"id":"TOmE_26Ye9b_m_TKfWU45","fillStyle":"hachure","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":0,"x":441,"y":31,"strokeColor":"#000000","backgroundColor":"#228be6","width":203,"height":191,"seed":77588894,"groupIds":[],"strokeSharpness":"sharp","boundElements":[],"updated":1655641371094,"link":null},{"type":"text","version":206,"versionNonce":1401811460,"isDeleted":false,"id":"K5CjVJa8vYzQ8LDOdH-av","fillStyle":"hachure","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":0,"x":319.5,"y":20,"strokeColor":"#000000","backgroundColor":"#228be6","width":71.75,"height":null,"seed":317664926,"groupIds":[],"strokeSharpness":"sharp","boundElements":[],"updated":1725306828824,"link":null,"fontSize":20,"fontFamily":1,"text":"convert","baseline":18,"textAlign":"left","verticalAlign":"top","containerId":null,"originalText":"convert"},{"type":"diamond","version":139,"versionNonce":2062017596,"isDeleted":false,"id":"rZ0DKhdiE-mys9orY2M7Y","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":0,"x":335,"y":67,"strokeColor":"#000000","backgroundColor":"#228be6","width":31,"height":37,"seed":401619102,"groupIds":[],"strokeSharpness":"sharp","boundElements":[],"updated":1655641371094,"link":null},{"type":"line","version":202,"versionNonce":1931775364,"isDeleted":false,"id":"gWzx0Ka27J2gQYsjliI5u","fillStyle":"solid","strokeWidth":1,"strokeStyle":"dashed","roughness":1,"opacity":100,"angle":0,"x":147,"y":142,"strokeColor":"#000000","backgroundColor":"#228be6","width":124,"height":113,"seed":668475458,"groupIds":[],"strokeSharpness":"round","boundElements":[],"updated":1655641371094,"link":null,"lastCommittedPoint":null,"startArrowhead":null,"endArrowhead":null,"points":[[0,0],[124,113]]},{"type":"rectangle","version":182,"versionNonce":693632188,"isDeleted":false,"id":"vPXlTlCV6XiWRo8z596tY","fillStyle":"cross-hatch","strokeWidth":1,"strokeStyle":"dotted","roughness":1,"opacity":100,"angle":0,"x":269,"y":240,"strokeColor":"#2b8a3e","backgroundColor":"#e6ffc8","width":144,"height":115,"seed":1313295006,"groupIds":[],"strokeSharpness":"sharp","boundElements":[],"updated":1655641371094,"link":null},{"type":"text","version":316,"versionNonce":1778720828,"isDeleted":false,"id":"NlWoiu7QFiUGoGhxxFDQz","fillStyle":"hachure","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":0,"x":290,"y":247,"strokeColor":"#2b8a3e","backgroundColor":"#228be6","width":53.36666488647461,"height":null,"seed":146698370,"groupIds":[],"strokeSharpness":"sharp","boundElements":[],"updated":1725306828824,"link":null,"fontSize":20,"fontFamily":1,"text":"List :\n- one\n- two","baseline":70,"textAlign":"left","verticalAlign":"top","containerId":null,"originalText":"List :\n- one\n- two"},{"type":"diamond","version":220,"versionNonce":858850620,"isDeleted":false,"id":"4tqMpG7kcfLvu81ba12UQ","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":5.899784582143685,"x":283.37319488867206,"y":123.6942301852414,"strokeColor":"#000000","backgroundColor":"#fa5252","width":104.0405522208337,"height":74.00000000000001,"seed":1677737711,"groupIds":[],"strokeSharpness":"sharp","boundElements":[],"updated":1655641371094,"link":null},{"type":"rectangle","version":277,"versionNonce":406453380,"isDeleted":false,"id":"79D3L3LhxNNySkbKD3Bia","fillStyle":"hachure","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":0.42451911970089906,"x":479.7715111234793,"y":259.96655309088374,"strokeColor":"#000000","backgroundColor":"#fa5252","width":128.50676566765082,"height":63,"seed":1447260752,"groupIds":[],"strokeSharpness":"sharp","boundElements":[],"updated":1655641371095,"link":null},{"type":"diamond","version":362,"versionNonce":500497852,"isDeleted":false,"id":"ffrisBNjK3DyL4MRqDVUM","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":0.3893167218331426,"x":21.865547135620886,"y":174.8538070033551,"strokeColor":"#000000","backgroundColor":"#15aabf","width":87.26890572875811,"height":46.29238599328972,"seed":63592112,"groupIds":[],"strokeSharpness":"sharp","boundElements":[],"updated":1655641371095,"link":null},{"type":"rectangle","version":518,"versionNonce":340773892,"isDeleted":false,"id":"wxvV5tzdo2p3m4nBQf_fI","fillStyle":"hachure","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":5.997855886997452,"x":90.74789364500919,"y":293.3561760950281,"strokeColor":"#000000","backgroundColor":"#fab005","width":123.50421270998135,"height":35.287647809943806,"seed":1439819952,"groupIds":[],"strokeSharpness":"sharp","boundElements":[],"updated":1655641371095,"link":null},{"type":"line","version":166,"versionNonce":1610279598,"isDeleted":false,"id":"i2pQf0tOL1I7RZA6fHNXy","fillStyle":"cross-hatch","strokeWidth":1,"strokeStyle":"dotted","roughness":1,"opacity":100,"angle":0.3264344116289468,"x":129,"y":177,"strokeColor":"#a61e4d","backgroundColor":"#fab005","width":71,"height":80,"seed":969735782,"groupIds":[],"strokeSharpness":"sharp","boundElements":[],"updated":1655641371095,"link":null,"lastCommittedPoint":null,"startArrowhead":null,"endArrowhead":null,"points":[[0,0],[2,16],[12,40],[20,51],[36,64],[71,80]]},{"type":"line","version":175,"versionNonce":1006611332,"isDeleted":false,"id":"zTcY1DmmmEqtM7iaFOjI2","fillStyle":"cross-hatch","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":0,"x":24,"y":282,"strokeColor":"#087f5b","backgroundColor":"#fab005","width":81,"height":33,"seed":1314441594,"groupIds":[],"strokeSharpness":"sharp","boundElements":[],"updated":1655641371095,"link":null,"lastCommittedPoint":null,"startArrowhead":null,"endArrowhead":null,"points":[[0,0],[6,-22],[12,-29],[21,-30],[24,-29],[33,-17],[36,1],[37,2],[45,-29],[48,-29],[53,-31],[58,-31],[72,-23],[81,-8],[81,-4]]},{"type":"rectangle","version":467,"versionNonce":1170587324,"isDeleted":false,"id":"UqrOMUkW8i5NCxQf_EDc9","fillStyle":"hachure","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":0.11809202841909539,"x":190.3330910264575,"y":373.66279952417335,"strokeColor":"#000000","backgroundColor":"#be4bdb","width":90.33381794708485,"height":87.67440095165314,"seed":1466118630,"groupIds":[],"strokeSharpness":"sharp","boundElements":[],"updated":1655641371095,"link":null},{"type":"diamond","version":459,"versionNonce":830970628,"isDeleted":false,"id":"06wK4k0VHVo3nl3maFgBt","fillStyle":"solid","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":5.137516099543635,"x":353.41738815890335,"y":394.61371445798545,"strokeColor":"#000000","backgroundColor":"#4c6ef5","width":80.89200154670186,"height":77.42001777890613,"seed":1789348282,"groupIds":[],"strokeSharpness":"sharp","boundElements":[],"updated":1655641371095,"link":null},{"type":"text","version":194,"versionNonce":2089357700,"isDeleted":false,"id":"FExeJRXagFlMKEpW4ApvL","fillStyle":"cross-hatch","strokeWidth":1,"strokeStyle":"dotted","roughness":1,"opacity":100,"angle":5.9094584872140326,"x":35.78896794074159,"y":386.2393022458574,"strokeColor":"#d9480f","backgroundColor":"#4c6ef5","width":106.3499984741211,"height":null,"seed":152285754,"groupIds":[],"strokeSharpness":"sharp","boundElements":[],"updated":1725306828824,"link":null,"fontSize":20,"fontFamily":2,"text":"Rotated text","baseline":23,"textAlign":"left","verticalAlign":"top","containerId":null,"originalText":"Rotated text"},{"type":"arrow","version":363,"versionNonce":526752388,"isDeleted":false,"id":"n7nmJZmGCpL1a6l1TdMeX","fillStyle":"hachure","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":0,"x":520.1576551164967,"y":338.6957163378038,"strokeColor":"#000000","backgroundColor":"#fa5252","width":78.65765511649664,"height":75.30428366219626,"seed":925954106,"groupIds":[],"strokeSharpness":"round","boundElements":[],"updated":1655641371095,"link":null,"lastCommittedPoint":null,"startArrowhead":null,"endArrowhead":"arrow","points":[[0,0],[-78.65765511649664,75.30428366219626]]},{"type":"text","version":184,"versionNonce":963492028,"isDeleted":false,"id":"lU3Msnm2CTXBHi8Pzef0C","fillStyle":"cross-hatch","strokeWidth":1,"strokeStyle":"dotted","roughness":1,"opacity":100,"angle":0,"x":509.5,"y":392,"strokeColor":"#000000","backgroundColor":"#4c6ef5","width":128.88333129882812,"height":null,"seed":1839996922,"groupIds":[],"strokeSharpness":"sharp","boundElements":[],"updated":1725306828826,"link":null,"fontSize":20,"fontFamily":3,"text":"> some code","baseline":20,"textAlign":"left","verticalAlign":"top","containerId":null,"originalText":"> some code"},{"type":"text","version":510,"versionNonce":670318852,"isDeleted":false,"id":"CdlqC6FutWnAhFgUa4-tK","fillStyle":"hachure","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":0,"x":34.326958955223915,"y":31.00810810810811,"strokeColor":"#c92a2a","backgroundColor":"#228be6","width":165.3333282470703,"height":null,"seed":168503609,"groupIds":[],"strokeSharpness":"sharp","boundElements":[],"updated":1725306828827,"link":null,"fontSize":39.25486991656494,"fontFamily":1,"text":"Big text","baseline":35,"textAlign":"left","verticalAlign":"top","containerId":null,"originalText":"Big text"},{"type":"ellipse","version":305,"versionNonce":1795300462,"isDeleted":false,"id":"lQb2o3G3uO-OSzJlv7dQf","fillStyle":"cross-hatch","strokeWidth":1,"strokeStyle":"solid","roughness":1,"opacity":100,"angle":5.987365538640589,"x":483.5,"y":118.5,"strokeColor":"#000000","backgroundColor":"#7950f2","width":133.00000000000003,"height":58.00000000000001,"seed":617054574,"groupIds":[],"strokeSharpness":"sharp","boundElements":[],"updated":1655641371095,"link":null}],"files":{},"appState":{"scrollX":255.921875,"scrollY":295.91526179206426,"zoom":{"value":1}}}
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Canvas note_canvas-export.svg b/demo/Home/Trilium Demo/Canvas note_canvas-export.svg
new file mode 100644
index 000000000..f5bb7a3e6
--- /dev/null
+++ b/demo/Home/Trilium Demo/Canvas note_canvas-export.svg
@@ -0,0 +1,21 @@
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Formatting examples/Checkbox lists.html b/demo/Home/Trilium Demo/Formatting examples/Checkbox lists.html
new file mode 100644
index 000000000..ca94770f9
--- /dev/null
+++ b/demo/Home/Trilium Demo/Formatting examples/Checkbox lists.html
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+ Checkbox lists
+
+
+
+
+
Checkbox lists
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Create easy TODO-lists with checkboxes:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Formatting examples/Code blocks.html b/demo/Home/Trilium Demo/Formatting examples/Code blocks.html
new file mode 100644
index 000000000..5b937e3ca
--- /dev/null
+++ b/demo/Home/Trilium Demo/Formatting examples/Code blocks.html
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+ Code blocks
+
+
+
+
+
Code blocks
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Code blocks are useful to add short snippets of code blocks inside text
+ notes. Depending on your preference, it's possible to enable or disable
+ word wrapping for these code blocks.
+
We added syntax highlighting to code blocks as well. When a code block
+ is first created it will try to automatically determine the programming
+ 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,
+ see Custom request handler.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Formatting examples/Highlighting.html b/demo/Home/Trilium Demo/Formatting examples/Highlighting.html
new file mode 100644
index 000000000..56fb66b18
--- /dev/null
+++ b/demo/Home/Trilium Demo/Formatting examples/Highlighting.html
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+ Highlighting
+
+
+
+
+
Highlighting
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Space Shuttle Discovery (Orbiter Vehicle
+ Designation: OV-103) is one of the orbiters from NASA's Space
+ Shuttle program and the third of five fully operational orbiters to be
+ built. Its first mission, STS-41-D, flew from August 30 to September 5,
+ 1984. Over 27 years of service it launched and landed 39 times,
+ gathering more spaceflights than any other spacecraft to date. The shuttle
+ has three main components: the Space Shuttle orbiter, a central fuel tank,
+ and two rocket boosters. Nearly 25,000 heat resistant tiles cover
+ the orbiter to protect it from high temperatures on re-entry.
+
Discovery became the third operational orbiter to enter service, preceded
+ by Columbia and Challenger. It embarked on its last mission, STS-133, on February 24, 2011 and
+ touched down for the final time at Kennedy Space Center on March 9, having
+ spent a cumulative total of almost a full year in space. Discovery performed
+ both research and International Space Station (ISS) assembly missions,
+ and also carried the Hubble Space Telescope into orbit.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Formatting examples/Math.html b/demo/Home/Trilium Demo/Formatting examples/Math.html
new file mode 100644
index 000000000..22e45aba0
--- /dev/null
+++ b/demo/Home/Trilium Demo/Formatting examples/Math.html
@@ -0,0 +1,119 @@
+
+
+
+
+
+
+
+ Math
+
+
+
+
+
Math
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\(% \f is defined as #1f(#2) using the macro \f\relax{x} = \int_{-\infty}^\infty \f\hat\xi\,e^{2 \pi i \xi x} \,d\xi\)Some
+ math examples:
Inline math is also possible: \(c^2 = a^2 + b^2\) Neat!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Formatting examples/School schedule.html b/demo/Home/Trilium Demo/Formatting examples/School schedule.html
new file mode 100644
index 000000000..5d74ee1a9
--- /dev/null
+++ b/demo/Home/Trilium Demo/Formatting examples/School schedule.html
@@ -0,0 +1,161 @@
+
+
+
+
+
+
+
+ School schedule
+
+
+
+
+
School schedule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Monday
+
Tuesday
+
Wednesday
+
Thursday
+
Friday
+
+
+
+
+
9:00-10:30
+
P.E.
+
+
Math
+
Computer Science
+
+
+
+
11:00-12:30
+
History
+
English
+
+
Physics
+
Math
+
+
+
13:00-14:30
+
+
Computer Science
+
Chemistry
+
Physics Lab
+
Geography
+
+
+
15:00-16:30
+
Computer Science
+
+
Latin
+
+
+
+
+
+ School schedule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Inbox.html b/demo/Home/Trilium Demo/Inbox.html
new file mode 100644
index 000000000..45f52e349
--- /dev/null
+++ b/demo/Home/Trilium Demo/Inbox.html
@@ -0,0 +1,114 @@
+
+
+
+
+
+
+
+ Inbox
+
+
+
+
+
Inbox
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
This is a place I use to put notes waiting for better categorization
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Inbox/Book to read.html b/demo/Home/Trilium Demo/Inbox/Book to read.html
new file mode 100644
index 000000000..5559556ba
--- /dev/null
+++ b/demo/Home/Trilium Demo/Inbox/Book to read.html
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+ Book to read
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Inbox/Grocery list for today.html b/demo/Home/Trilium Demo/Inbox/Grocery list for today.html
new file mode 100644
index 000000000..edd3edc84
--- /dev/null
+++ b/demo/Home/Trilium Demo/Inbox/Grocery list for today.html
@@ -0,0 +1,118 @@
+
+
+
+
+
+
+
+ Grocery list for today
+
+
+
+
+
Grocery list for today
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
cucumber
+
cheese
+
beer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Inbox/The Last Question.html b/demo/Home/Trilium Demo/Inbox/The Last Question.html
new file mode 100644
index 000000000..797324e94
--- /dev/null
+++ b/demo/Home/Trilium Demo/Inbox/The Last Question.html
@@ -0,0 +1,125 @@
+
+
+
+
+
+
+
+ The Last Question
+
+
+
+
PDF preview - you can read PDFs directly in Trilium!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Inbox/The Last Question/The Last Question by Issac.pdf b/demo/Home/Trilium Demo/Inbox/The Last Question/The Last Question by Issac.pdf
new file mode 100644
index 000000000..717a69943
Binary files /dev/null and b/demo/Home/Trilium Demo/Inbox/The Last Question/The Last Question by Issac.pdf differ
diff --git a/demo/Home/Trilium Demo/Journal.html b/demo/Home/Trilium Demo/Journal.html
new file mode 100644
index 000000000..49937f581
--- /dev/null
+++ b/demo/Home/Trilium Demo/Journal.html
@@ -0,0 +1,115 @@
+
+
+
+
+
+
+
+ Journal
+
+
+
+
Trusted timestamping is the process of securely keeping
+ track of the creation and modification time of a document. Security here
+ means that no one—not even the owner of the document—should be able to
+ change it once it has been recorded provided that the timestamper's integrity
+ is never compromised.
+
The administrative aspect involves setting up a publicly available, trusted
+ timestamp management infrastructure to collect, process and renew timestamps.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday.html b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday.html
new file mode 100644
index 000000000..e2fe00a77
--- /dev/null
+++ b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday.html
@@ -0,0 +1,119 @@
+
+
+
+
+
+
+
+ 18 - Monday
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Meeting minutes.html b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Meeting minutes.html
new file mode 100644
index 000000000..8c45fccef
--- /dev/null
+++ b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Meeting minutes.html
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+
+ Meeting minutes
+
+
+
+
+
Meeting minutes
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
bla bla bla ...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/01.jpeg b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/01.jpeg
new file mode 100644
index 000000000..526922538
Binary files /dev/null and b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/01.jpeg differ
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/02.jpeg b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/02.jpeg
new file mode 100644
index 000000000..a6bd590e4
Binary files /dev/null and b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/02.jpeg differ
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/03.jpeg b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/03.jpeg
new file mode 100644
index 000000000..8d6ee7003
Binary files /dev/null and b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/03.jpeg differ
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/04.jpeg b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/04.jpeg
new file mode 100644
index 000000000..65dcff9f0
Binary files /dev/null and b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/04.jpeg differ
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/05.jpeg b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/05.jpeg
new file mode 100644
index 000000000..56dad904f
Binary files /dev/null and b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/05.jpeg differ
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/06.jpeg b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/06.jpeg
new file mode 100644
index 000000000..afae674d8
Binary files /dev/null and b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/06.jpeg differ
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/07.jpeg b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/07.jpeg
new file mode 100644
index 000000000..1a4177f45
Binary files /dev/null and b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/07.jpeg differ
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/08.jpeg b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/08.jpeg
new file mode 100644
index 000000000..eaa57bfbf
Binary files /dev/null and b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/08.jpeg differ
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/09.jpeg b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/09.jpeg
new file mode 100644
index 000000000..3266325f2
Binary files /dev/null and b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/09.jpeg differ
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/10.jpeg b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/10.jpeg
new file mode 100644
index 000000000..0ecdcc360
Binary files /dev/null and b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/10.jpeg differ
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/11.jpeg b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/11.jpeg
new file mode 100644
index 000000000..24fb1fc9e
Binary files /dev/null and b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/11.jpeg differ
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/12.jpeg b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/12.jpeg
new file mode 100644
index 000000000..ccded29c7
Binary files /dev/null and b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/Photos from the trip/12.jpeg differ
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/TODO - Send invites for christ.html b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/TODO - Send invites for christ.html
new file mode 100644
index 000000000..571f970b4
--- /dev/null
+++ b/demo/Home/Trilium Demo/Journal/2021/12 - December/18 - Monday/TODO - Send invites for christ.html
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
+ Send invites for christmas party
+
+
+
+
+
Send invites for christmas party
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/19 - Tuesday.html b/demo/Home/Trilium Demo/Journal/2021/12 - December/19 - Tuesday.html
new file mode 100644
index 000000000..e7bc46a10
--- /dev/null
+++ b/demo/Home/Trilium Demo/Journal/2021/12 - December/19 - Tuesday.html
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+ 19 - Tuesday
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/20 - Wednesday.html b/demo/Home/Trilium Demo/Journal/2021/12 - December/20 - Wednesday.html
new file mode 100644
index 000000000..fa12db818
--- /dev/null
+++ b/demo/Home/Trilium Demo/Journal/2021/12 - December/20 - Wednesday.html
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+ 20 - Wednesday
+
+
+
+
+
20 - Wednesday
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
TODO:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/21 - Thursday.html b/demo/Home/Trilium Demo/Journal/2021/12 - December/21 - Thursday.html
new file mode 100644
index 000000000..cce4a0a08
--- /dev/null
+++ b/demo/Home/Trilium Demo/Journal/2021/12 - December/21 - Thursday.html
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+ 21 - Thursday
+
+
+
+
+
21 - Thursday
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
TODO:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/21 - Thursday/Christmas shopping.html b/demo/Home/Trilium Demo/Journal/2021/12 - December/21 - Thursday/Christmas shopping.html
new file mode 100644
index 000000000..991793ca1
--- /dev/null
+++ b/demo/Home/Trilium Demo/Journal/2021/12 - December/21 - Thursday/Christmas shopping.html
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+
+ Christmas shopping
+
+
+
+
+
Christmas shopping
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Bought a book!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/21 - Thursday/Office party.html b/demo/Home/Trilium Demo/Journal/2021/12 - December/21 - Thursday/Office party.html
new file mode 100644
index 000000000..a549dd1b7
--- /dev/null
+++ b/demo/Home/Trilium Demo/Journal/2021/12 - December/21 - Thursday/Office party.html
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
+ Office party
+
+
+
+
+
Office party
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
That was fun!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/22 - Friday.html b/demo/Home/Trilium Demo/Journal/2021/12 - December/22 - Friday.html
new file mode 100644
index 000000000..81c156bcd
--- /dev/null
+++ b/demo/Home/Trilium Demo/Journal/2021/12 - December/22 - Friday.html
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+ 22 - Friday
+
+
+
+
+
22 - Friday
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
TODO:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/22 - Friday/Christmas shopping.html b/demo/Home/Trilium Demo/Journal/2021/12 - December/22 - Friday/Christmas shopping.html
new file mode 100644
index 000000000..9cbaa9f79
--- /dev/null
+++ b/demo/Home/Trilium Demo/Journal/2021/12 - December/22 - Friday/Christmas shopping.html
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+
+ Christmas shopping
+
+
+
+
+
Christmas shopping
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/22 - Friday/The Mechanical.html b/demo/Home/Trilium Demo/Journal/2021/12 - December/22 - Friday/The Mechanical.html
new file mode 100644
index 000000000..2032f5774
--- /dev/null
+++ b/demo/Home/Trilium Demo/Journal/2021/12 - December/22 - Friday/The Mechanical.html
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+ The Mechanical
+
+
+
+
+
The Mechanical
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
I enjoyed this book a lot. It's slow moving at times with the author taking
+ his time with conversations and descriptions of them. The premise is very
+ interesting, but I'm sad that it wasn't elaborated more deeply - e.g. the
+ history and development of the clakker technology with Huygens and how
+ Spinoza comes into the picture. Maybe the author saves it for the next
+ two parts of the book.
+
Language can be intimidating at first for non-native english speakers
+ - author uses wide range of vocabulary. Fortunately it gets better after
+ a while as reader adjusts.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/22 - Friday/The Mechanical/Highlights.html b/demo/Home/Trilium Demo/Journal/2021/12 - December/22 - Friday/The Mechanical/Highlights.html
new file mode 100644
index 000000000..7bb91a352
--- /dev/null
+++ b/demo/Home/Trilium Demo/Journal/2021/12 - December/22 - Friday/The Mechanical/Highlights.html
@@ -0,0 +1,136 @@
+
+
+
+
+
+
+
+ Highlights
+
+
+
+
+
Highlights
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Like a raindrop rolling down dry valleys to the sea, his body sensed the
+ contours of agony and helplessly followed their gradient. Impelled by alchemical
+ compulsion rather than gravity, Jax became an unstoppable boulder careering
+ along gullies of human whim.
+
+
+
Free Will was a vacuum, a negative space. It was the absence of coercion,
+ the absence of compulsion, the absence of agony.
+
+
+
Overwhelming: he could do anything he wanted. But the grand sum of anything-at-all
+ was nothing-at-all. The topology of freedom offered no gradients to nudge
+ him, no landmarks to guide him. How did humans guide themselves? How did
+ they know what to do and what not to do? How did they know when to do anything
+ without the benefit of geasa and metageasa to prioritize every single action
+ of their waking lives? How did they order their daily existence without
+ somebody to tell them what to do?
+
+
+
Life as a slave was unspeakable; life as a slave who had briefly tasted
+ freedom was unthinkable. Clakkers carried complex geasa by dint of alchemy;
+ humans carried heavy obligations, too, but called them culture. Society.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Journal/2021/12 - December/23 - Saturday.html b/demo/Home/Trilium Demo/Journal/2021/12 - December/23 - Saturday.html
new file mode 100644
index 000000000..66dd0b9c2
--- /dev/null
+++ b/demo/Home/Trilium Demo/Journal/2021/12 - December/23 - Saturday.html
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+ 23 - Saturday
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Journal/2021/Epics/Christmas/Vacation days.html b/demo/Home/Trilium Demo/Journal/2021/Epics/Christmas/Vacation days.html
new file mode 100644
index 000000000..28951bbbb
--- /dev/null
+++ b/demo/Home/Trilium Demo/Journal/2021/Epics/Christmas/Vacation days.html
@@ -0,0 +1,114 @@
+
+
+
+
+
+
+
+ Vacation days
+
+
+
+
+
Vacation days
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
25. 12., 26. 12., 1. 1. - statutory holidays
+
27. 12. - 29. 12., 2. 1. - vacation days
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Journal/2021/Epics/Vacation.html b/demo/Home/Trilium Demo/Journal/2021/Epics/Vacation.html
new file mode 100644
index 000000000..fa844380a
--- /dev/null
+++ b/demo/Home/Trilium Demo/Journal/2021/Epics/Vacation.html
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
+ Vacation
+
+
+
+
+
Vacation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Planning stuff etc.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Journal/Day template.html b/demo/Home/Trilium Demo/Journal/Day template.html
new file mode 100644
index 000000000..7cc21b853
--- /dev/null
+++ b/demo/Home/Trilium Demo/Journal/Day template.html
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+ Day template
+
+
+
+
+
Day template
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
TODO:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Bar chart.txt b/demo/Home/Trilium Demo/Mermaid Diagrams/Bar chart.txt
new file mode 100644
index 000000000..b13f7ee52
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Bar chart.txt
@@ -0,0 +1,15 @@
+gantt
+ title Git Issues - days since last update
+ dateFormat X
+ axisFormat %s
+
+ section Issue19062
+ 71 : 0, 71
+ section Issue19401
+ 36 : 0, 36
+ section Issue193
+ 34 : 0, 34
+ section Issue7441
+ 9 : 0, 9
+ section Issue1300
+ 5 : 0, 5
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Bar chart_mermaid-export.svg b/demo/Home/Trilium Demo/Mermaid Diagrams/Bar chart_mermaid-export.svg
new file mode 100644
index 000000000..97489f06b
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Bar chart_mermaid-export.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/C4.txt b/demo/Home/Trilium Demo/Mermaid Diagrams/C4.txt
new file mode 100644
index 000000000..7e4dc961a
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/C4.txt
@@ -0,0 +1,32 @@
+C4Context
+title System Context diagram for Internet Banking System
+
+Person(customerA, "Banking Customer A", "A customer of the bank, with personal bank accounts.")
+Person(customerB, "Banking Customer B")
+Person_Ext(customerC, "Banking Customer C")
+System(SystemAA, "Internet Banking System", "Allows customers to view information about their bank accounts, and make payments.")
+
+Person(customerD, "Banking Customer D", "A customer of the bank, with personal bank accounts.")
+
+Enterprise_Boundary(b1, "BankBoundary") {
+
+ SystemDb_Ext(SystemE, "Mainframe Banking System", "Stores all of the core banking information about customers, accounts, transactions, etc.")
+
+ System_Boundary(b2, "BankBoundary2") {
+ System(SystemA, "Banking System A")
+ System(SystemB, "Banking System B", "A system of the bank, with personal bank accounts.")
+ }
+
+ System_Ext(SystemC, "E-mail system", "The internal Microsoft Exchange e-mail system.")
+ SystemDb(SystemD, "Banking System D Database", "A system of the bank, with personal bank accounts.")
+
+ Boundary(b3, "BankBoundary3", "boundary") {
+ SystemQueue(SystemF, "Banking System F Queue", "A system of the bank, with personal bank accounts.")
+ SystemQueue_Ext(SystemG, "Banking System G Queue", "A system of the bank, with personal bank accounts.")
+ }
+}
+
+BiRel(customerA, SystemAA, "Uses")
+BiRel(SystemAA, SystemE, "Uses")
+Rel(SystemAA, SystemC, "Sends e-mails", "SMTP")
+Rel(SystemC, customerA, "Sends e-mails to")
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/C4_mermaid-export.svg b/demo/Home/Trilium Demo/Mermaid Diagrams/C4_mermaid-export.svg
new file mode 100644
index 000000000..60f433a49
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/C4_mermaid-export.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Class.txt b/demo/Home/Trilium Demo/Mermaid Diagrams/Class.txt
new file mode 100644
index 000000000..f902afadd
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Class.txt
@@ -0,0 +1,16 @@
+classDiagram
+Class01 <|-- AveryLongClass : Cool
+<> Class01
+Class09 --> C2 : Where am i?
+Class09 --* C3
+Class09 --|> Class07
+Class07 : equals()
+Class07 : Object[] elementData
+Class01 : size()
+Class01 : int chimp
+Class01 : int gorilla
+class Class10 {
+ <>
+ int id
+ size()
+}
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Class_mermaid-export.svg b/demo/Home/Trilium Demo/Mermaid Diagrams/Class_mermaid-export.svg
new file mode 100644
index 000000000..9d10efc11
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Class_mermaid-export.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Entity Relationship.txt b/demo/Home/Trilium Demo/Mermaid Diagrams/Entity Relationship.txt
new file mode 100644
index 000000000..94d6f5196
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Entity Relationship.txt
@@ -0,0 +1,10 @@
+erDiagram
+ CUSTOMER }|..|{ DELIVERY-ADDRESS : has
+ CUSTOMER ||--o{ ORDER : places
+ CUSTOMER ||--o{ INVOICE : "liable for"
+ DELIVERY-ADDRESS ||--o{ ORDER : receives
+ INVOICE ||--|{ ORDER : covers
+ ORDER ||--|{ ORDER-ITEM : includes
+ PRODUCT-CATEGORY ||--|{ PRODUCT : contains
+ PRODUCT ||--o{ ORDER-ITEM : "ordered in"
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Entity Relationship_mermai.svg b/demo/Home/Trilium Demo/Mermaid Diagrams/Entity Relationship_mermai.svg
new file mode 100644
index 000000000..d5911752e
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Entity Relationship_mermai.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Flow (ELK).txt b/demo/Home/Trilium Demo/Mermaid Diagrams/Flow (ELK).txt
new file mode 100644
index 000000000..34d7aedaf
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Flow (ELK).txt
@@ -0,0 +1,15 @@
+---
+config:
+ layout: elk
+---
+flowchart LR
+A-->|"Guarantee"|B
+C-->|"User attributes"|B
+C-->|"Master data"|B
+C-->|"Exchange Rate"|B
+C-->|"Profit Centers"|B
+C-->|"Vendor Partners"|B
+C-->|"Work Situation"|B
+C-->|"Customer"|B
+C-->|"Profit Centers"|B
+B-->|"Guarantee"|C
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Flow (ELK)_mermaid-export.svg b/demo/Home/Trilium Demo/Mermaid Diagrams/Flow (ELK)_mermaid-export.svg
new file mode 100644
index 000000000..1a133a1c7
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Flow (ELK)_mermaid-export.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Flow.txt b/demo/Home/Trilium Demo/Mermaid Diagrams/Flow.txt
new file mode 100644
index 000000000..a7fcef7f3
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Flow.txt
@@ -0,0 +1,5 @@
+graph TD
+A[Hard] -->|Text| B(Round)
+B --> C{Decision}
+C -->|One| D[Result 1]
+C -->|Two| E[Result 2]
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Flow_mermaid-export.svg b/demo/Home/Trilium Demo/Mermaid Diagrams/Flow_mermaid-export.svg
new file mode 100644
index 000000000..7941b9ae1
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Flow_mermaid-export.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Gantt.txt b/demo/Home/Trilium Demo/Mermaid Diagrams/Gantt.txt
new file mode 100644
index 000000000..af32bc27d
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Gantt.txt
@@ -0,0 +1,8 @@
+gantt
+section Section
+Completed :done, des1, 2014-01-06,2014-01-08
+Active :active, des2, 2014-01-07, 3d
+Parallel 1 : des3, after des1, 1d
+Parallel 2 : des4, after des1, 1d
+Parallel 3 : des5, after des3, 1d
+Parallel 4 : des6, after des4, 1d
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Gantt_mermaid-export.svg b/demo/Home/Trilium Demo/Mermaid Diagrams/Gantt_mermaid-export.svg
new file mode 100644
index 000000000..61ffc0260
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Gantt_mermaid-export.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Git.txt b/demo/Home/Trilium Demo/Mermaid Diagrams/Git.txt
new file mode 100644
index 000000000..f5c89f75d
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Git.txt
@@ -0,0 +1,10 @@
+ gitGraph
+ commit
+ commit
+ branch develop
+ commit
+ commit
+ commit
+ checkout main
+ commit
+ commit
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Git_mermaid-export.svg b/demo/Home/Trilium Demo/Mermaid Diagrams/Git_mermaid-export.svg
new file mode 100644
index 000000000..15b9bb454
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Git_mermaid-export.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Journey.txt b/demo/Home/Trilium Demo/Mermaid Diagrams/Journey.txt
new file mode 100644
index 000000000..8bad1ef77
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Journey.txt
@@ -0,0 +1,9 @@
+ journey
+ title My working day
+ section Go to work
+ Make tea: 5: Me
+ Go upstairs: 3: Me
+ Do work: 1: Me, Cat
+ section Go home
+ Go downstairs: 5: Me
+ Sit down: 3: Me
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Journey_mermaid-export.svg b/demo/Home/Trilium Demo/Mermaid Diagrams/Journey_mermaid-export.svg
new file mode 100644
index 000000000..2b6c1e75d
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Journey_mermaid-export.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Mind Map.txt b/demo/Home/Trilium Demo/Mermaid Diagrams/Mind Map.txt
new file mode 100644
index 000000000..6cdfad11d
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Mind Map.txt
@@ -0,0 +1,17 @@
+mindmap
+ root((mindmap))
+ Origins
+ Long history
+ ::icon(fa fa-book)
+ Popularisation
+ British popular psychology author Tony Buzan
+ Research
+ On effectiveness and features
+ On Automatic creation
+ Uses
+ Creative techniques
+ Strategic planning
+ Argument mapping
+ Tools
+ Pen and paper
+ Mermaid
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Mind Map_mermaid-export.svg b/demo/Home/Trilium Demo/Mermaid Diagrams/Mind Map_mermaid-export.svg
new file mode 100644
index 000000000..4e0a32214
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Mind Map_mermaid-export.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Pie.txt b/demo/Home/Trilium Demo/Mermaid Diagrams/Pie.txt
new file mode 100644
index 000000000..58aeda658
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Pie.txt
@@ -0,0 +1,4 @@
+pie
+"Dogs" : 386
+"Cats" : 85
+"Rats" : 15
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Pie_mermaid-export.svg b/demo/Home/Trilium Demo/Mermaid Diagrams/Pie_mermaid-export.svg
new file mode 100644
index 000000000..80909557d
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Pie_mermaid-export.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Sequence.txt b/demo/Home/Trilium Demo/Mermaid Diagrams/Sequence.txt
new file mode 100644
index 000000000..5ed800922
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Sequence.txt
@@ -0,0 +1,9 @@
+sequenceDiagram
+Alice->>John: Hello John, how are you?
+loop Healthcheck
+ John->>John: Fight against hypochondria
+end
+Note right of John: Rational thoughts!
+John-->>Alice: Great!
+John->>Bob: How about you?
+Bob-->>John: Jolly good!
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/Sequence_mermaid-export.svg b/demo/Home/Trilium Demo/Mermaid Diagrams/Sequence_mermaid-export.svg
new file mode 100644
index 000000000..804d86275
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/Sequence_mermaid-export.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/State.txt b/demo/Home/Trilium Demo/Mermaid Diagrams/State.txt
new file mode 100644
index 000000000..7b57864f0
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/State.txt
@@ -0,0 +1,7 @@
+stateDiagram-v2
+[*] --> Still
+Still --> [*]
+Still --> Moving
+Moving --> Still
+Moving --> Crash
+Crash --> [*]
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mermaid Diagrams/State_mermaid-export.svg b/demo/Home/Trilium Demo/Mermaid Diagrams/State_mermaid-export.svg
new file mode 100644
index 000000000..1e2314d6c
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mermaid Diagrams/State_mermaid-export.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mind map.json b/demo/Home/Trilium Demo/Mind map.json
new file mode 100644
index 000000000..79b3add25
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mind map.json
@@ -0,0 +1 @@
+{"nodeData":{"id":"me-root","topic":"Mind Elixir","root":true,"tags":["Mind Map Core"],"children":[{"topic":"What is Mind Elixir","id":"bd4313fbac40284b","direction":0,"expanded":true,"children":[{"topic":"A mind map core","id":"beeb823afd6d2114"},{"topic":"Free","id":"c1f068377de9f3a0"},{"topic":"Open-Source","id":"c1f06d38a09f23ca"},{"topic":"Use without JavaScript framework","id":"c1f06e4cbcf16463","expanded":true,"children":[]},{"topic":"Use in your own project","id":"c1f1f11a7fbf7550","children":[{"topic":"import MindElixir from 'mind-elixir'","id":"c1f1e245b0a89f9b"},{"topic":"new MindElixir({...}).init(data)","id":"c1f1ebc7072c8928"}]},{"topic":"Easy to use","id":"c1f0723c07b408d7","expanded":true,"children":[{"topic":"Use it like other mind map application","id":"c1f09612fd89920d"}]}]},{"topic":"Basics","id":"bd1b66c4b56754d9","direction":0,"expanded":true,"children":[{"topic":"tab - Create a child node","id":"bd1b6892bcab126a"},{"topic":"enter - Create a sibling node","id":"bd1b6b632a434b27"},{"topic":"del - Remove a node","id":"bd1b983085187c0a"}]},{"topic":"Focus mode","id":"bd1b9b94a9a7a913","direction":1,"expanded":true,"children":[{"topic":"Right click and select Focus Mode","id":"bd1bb2ac4bbab458"},{"topic":"Right click and select Cancel Focus Mode","id":"bd1bb4b14d6697c3"}]},{"topic":"Left menu","id":"bd1b9d1816ede134","direction":0,"expanded":true,"children":[{"topic":"Node distribution","id":"bd1ba11e620c3c1a","expanded":true,"children":[{"topic":"Left","id":"bd1c1cb51e6745d3"},{"topic":"Right","id":"bd1c1e12fd603ff6"},{"topic":"Both l & r","id":"bd1c1f03def5c97b"}]}]},{"topic":"Bottom menu","id":"bd1ba66996df4ba4","direction":1,"expanded":true,"children":[{"topic":"Full screen","id":"bd1ba81d9bc95a7e"},{"topic":"Return to Center","id":"bd1babdd5c18a7a2"},{"topic":"Zoom in","id":"bd1bae68e0ab186e"},{"topic":"Zoom out","id":"bd1bb06377439977"}]},{"topic":"Link","id":"bd1beff607711025","direction":0,"expanded":true,"children":[{"topic":"Right click and select Link","id":"bd1bf320da90046a"},{"topic":"Click the target you want to link","id":"bd1bf6f94ff2e642"},{"topic":"Modify link with control points","id":"bd1c0c4a487bd036"}]},{"topic":"Node style","id":"bd1c217f9d0b20bd","direction":0,"expanded":true,"children":[{"topic":"Font Size","id":"bd1c24420cd2c2f5","style":{"fontSize":"32","color":"#3298db"}},{"topic":"Font Color","id":"bd1c2a59b9a2739c","style":{"color":"#c0392c"}},{"topic":"Background Color","id":"bd1c2de33f057eb4","style":{"color":"#bdc3c7","background":"#2c3e50"}},{"topic":"Add tags","id":"bd1cff58364436d0","tags":["Completed"]},{"topic":"Add icons","id":"bd1d0317f7e8a61a","icons":["😂"],"tags":["www"]},{"topic":"Bolder","id":"bd41fd4ca32322a4","style":{"fontWeight":"bold"}},{"topic":"Hyper link","id":"bd41fd4ca32322a5","hyperLink":"https://github.com/ssshooter/mind-elixir-core"}]},{"topic":"Draggable","id":"bd1f03fee1f63bc6","direction":1,"expanded":true,"children":[{"topic":"Drag a node to another node\nand the former one will become a child node of latter one","id":"bd1f07c598e729dc"}]},{"topic":"Export data","id":"beeb7586973430db","direction":1,"expanded":true,"children":[{"topic":"JSON","id":"beeb784cc189375f"},{"topic":"HTML","id":"beeb7a6bec2d68f5"},{"topic":"SVG","id":"beeb7a6bec2d68e6"}]},{"topic":"Caution","id":"bd42dad21aaf6bae","direction":0,"style":{"background":"#f1c40e"},"expanded":true,"children":[{"topic":"Only save manually","id":"bd42e1d0163ebf04","expanded":true,"children":[{"topic":"Save button in the top-right corner","id":"bd42e619051878b3","branchColor":"green","expanded":true,"children":[]},{"topic":"ctrl + S","id":"bd42e97d7ac35e99"}]}]}],"expanded":true},"arrows":[{"id":"ac5fb1df7345e9c4","label":"Render","from":"beeb784cc189375f","to":"beeb7a6bec2d68f5","delta1":{"x":142.8828125,"y":-57},"delta2":{"x":146.1171875,"y":45}}],"summaries":[{"id":"a5e68e6a2ce1b648","parent":"bd42e1d0163ebf04","start":0,"end":1,"text":"summary"},{"id":"a5e6978f1bc69f4a","parent":"bd4313fbac40284b","start":3,"end":5,"text":"summary"}],"direction":0,"theme":{"name":"Dark","palette":["#848FA0","#748BE9","#D2F9FE","#4145A5","#789AFA","#706CF4","#EF987F","#775DD5","#FCEECF","#DA7FBC"],"cssVar":{"--main-color":"#ffffff","--main-bgcolor":"#4c4f69","--color":"#cccccc","--bgcolor":"#252526","--panel-color":"#ffffff","--panel-bgcolor":"#2d3748","--panel-border-color":"#696969"}}}
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mind map/1_new note.json b/demo/Home/Trilium Demo/Mind map/1_new note.json
new file mode 100644
index 000000000..e69de29bb
diff --git a/demo/Home/Trilium Demo/Mind map/new note.json b/demo/Home/Trilium Demo/Mind map/new note.json
new file mode 100644
index 000000000..b73e5bf70
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mind map/new note.json
@@ -0,0 +1 @@
+{"nodeData":{"id":"1add248a269dc540","topic":"new topic","root":true,"children":[{"topic":"sfg","id":"1add2e114258aa6f"}]},"arrows":[],"summaries":[],"direction":0,"theme":{"name":"Latte","palette":["#dd7878","#ea76cb","#8839ef","#e64553","#fe640b","#df8e1d","#40a02b","#209fb5","#1e66f5","#7287fd"],"cssVar":{"--main-color":"#444446","--main-bgcolor":"#ffffff","--color":"#777777","--bgcolor":"#f6f6f6","--panel-color":"#444446","--panel-bgcolor":"#ffffff","--panel-border-color":"#eaeaea"}}}
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mind map/new note/new note.json b/demo/Home/Trilium Demo/Mind map/new note/new note.json
new file mode 100644
index 000000000..cb4b5098a
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mind map/new note/new note.json
@@ -0,0 +1 @@
+{"nodeData":{"id":"1adc13eb15e57c17","topic":"new topic","root":true,"children":[{"topic":"asdfas","id":"1adc142dd5a11537","children":[{"topic":"adsf","id":"1adc14819bdcb38d"},{"topic":"asd","id":"1adc14c6920bc68a","children":[{"topic":"asd","id":"1adc1aab9383a26f","children":[{"topic":"asd","id":"1adc1b14942f7a44"}]}]},{"topic":"new node","id":"1adc14fc5f38fd4c"},{"topic":"adsf","id":"1adc152588d29a91"},{"topic":"asdf","id":"1adc19601cdcd9b6"}]},{"topic":"asdf","id":"1add48c7aa544e61","children":[{"topic":"asdf","id":"1add4917919fe495"}]},{"topic":"The quick brownie foxie","id":"1ade2085c2cd91a0"}]},"arrows":[],"summaries":[],"direction":1,"theme":{"name":"Latte","palette":["#dd7878","#ea76cb","#8839ef","#e64553","#fe640b","#df8e1d","#40a02b","#209fb5","#1e66f5","#7287fd"],"cssVar":{"--main-color":"#444446","--main-bgcolor":"#ffffff","--color":"#777777","--bgcolor":"#f6f6f6","--panel-color":"#444446","--panel-bgcolor":"#ffffff","--panel-border-color":"#eaeaea"}}}
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Mind map_mindmap-export.svg b/demo/Home/Trilium Demo/Mind map_mindmap-export.svg
new file mode 100644
index 000000000..31a0b83eb
--- /dev/null
+++ b/demo/Home/Trilium Demo/Mind map_mindmap-export.svg
@@ -0,0 +1,2 @@
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Scripting examples/Custom request handler.js b/demo/Home/Trilium Demo/Scripting examples/Custom request handler.js
new file mode 100644
index 000000000..99b71b71c
--- /dev/null
+++ b/demo/Home/Trilium Demo/Scripting examples/Custom request handler.js
@@ -0,0 +1,28 @@
+return api.res.send(404);
+
+/**
+ * To activate this demo, comment (or remove) the very first line of this code note.
+ * This is deactivated because custom request handler like this one can be a security risk.
+ * To test this, execute the following curl request: curl -X POST http://localhost:37740/custom/create-note -H "Content-Type: application/json" -d "{ \"secret\": \"secret-password\", \"title\": \"hello\", \"content\": \"world\" }"
+ * (host and port might have to be adjusted based on your setup)
+ *
+ * See https://github.com/zadam/trilium/wiki/Custom-request-handler for details.
+ */
+
+const {req, res} = api;
+const {secret, title, content} = req.body;
+
+if (req.method == 'POST' && secret === 'secret-password') {
+ // notes must be saved somewhere in the tree hierarchy specified by a parent note.
+ // This is defined by a relation from this code note to the "target" parent note
+ // alternetively you can just use constant noteId for simplicity (get that from "Note Info" dialog of the desired parent note)
+ const targetParentNoteId = api.currentNote.getRelationValue('targetNote');
+
+ const {note} = api.createTextNote(targetParentNoteId, title, content);
+ const notePojo = note.getPojo();
+
+ res.status(201).json(notePojo);
+}
+else {
+ res.send(400);
+}
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Scripting examples/Statistics/Attribute count/template.html b/demo/Home/Trilium Demo/Scripting examples/Statistics/Attribute count/template.html
new file mode 100644
index 000000000..5f5417f5c
--- /dev/null
+++ b/demo/Home/Trilium Demo/Scripting examples/Statistics/Attribute count/template.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
Attribute name
+
Count
+
+
+
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Scripting examples/Statistics/Attribute count/template/js.js b/demo/Home/Trilium Demo/Scripting examples/Statistics/Attribute count/template/js.js
new file mode 100644
index 000000000..4f7d3872b
--- /dev/null
+++ b/demo/Home/Trilium Demo/Scripting examples/Statistics/Attribute count/template/js.js
@@ -0,0 +1,12 @@
+const attrCounts = await api.runOnBackend(() => {
+ return api.sql.getRows(`
+ SELECT
+ name, COUNT(*) AS count
+ FROM attributes
+ WHERE isDeleted = 0
+ GROUP BY name
+ ORDER BY count DESC`);
+});
+
+renderPieChart(attrCounts.length <= 10 ? attrCounts : attrCounts.splice(0, 10));
+renderTable(attrCounts);
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Scripting examples/Statistics/Attribute count/template/js/renderPieChart.js b/demo/Home/Trilium Demo/Scripting examples/Statistics/Attribute count/template/js/renderPieChart.js
new file mode 100644
index 000000000..db0269cb4
--- /dev/null
+++ b/demo/Home/Trilium Demo/Scripting examples/Statistics/Attribute count/template/js/renderPieChart.js
@@ -0,0 +1,45 @@
+module.exports = data => {
+ const ctx = api.$container.find('.stats-canvas')[0].getContext("2d");
+
+ const myPieChart = new Chart(ctx, {
+ type: 'pie',
+ data: {
+ datasets: [{
+ data: data.map(nc => nc.count),
+ backgroundColor: ['#3366CC','#DC3912','#FF9900','#109618','#990099','#3B3EAC','#0099C6','#DD4477','#66AA00','#B82E2E','#316395','#994499','#22AA99','#AAAA11','#6633CC','#E67300','#8B0707','#329262','#5574A6','#3B3EAC'],
+ datalabels: {
+ anchor: 'end'
+ }
+ }],
+ labels: data.map(nc => nc.name)
+ },
+ options: {
+ legend: {
+ display: false
+ },
+ plugins: {
+ datalabels: {
+ backgroundColor: function(context) {
+ return context.dataset.backgroundColor;
+ },
+ borderColor: 'white',
+ borderRadius: 25,
+ borderWidth: 2,
+ color: 'white',
+ display: function(context) {
+ var dataset = context.dataset;
+ var count = dataset.data.length;
+ var value = dataset.data[context.dataIndex];
+ return value > count * 1.5;
+ },
+ font: {
+ weight: 'bold'
+ },
+ formatter: function(value, context) {
+ return context.chart.data.labels[context.dataIndex] + ": " + Math.round(value);
+ }
+ }
+ }
+ }
+ });
+}
\ No newline at end of file
diff --git a/demo/Home/Trilium Demo/Scripting examples/Statistics/Attribute count/template/js/renderPieChart/chart.js.clone.html b/demo/Home/Trilium Demo/Scripting examples/Statistics/Attribute count/template/js/renderPieChart/chart.js.clone.html
new file mode 100644
index 000000000..64e4de7c4
--- /dev/null
+++ b/demo/Home/Trilium Demo/Scripting examples/Statistics/Attribute count/template/js/renderPieChart/chart.js.clone.html
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+ chart.js
+
+
+
+