Skip to main content

Trilium

version: '3.3'
services:
    trilium:
        ports:
            - '8080:8080'
        volumes:
            - '/srv/path/Files/Trilium/trilium-data:/home/node/trilium-data'
        image: 'zadam/trilium:latest'

chmod 777 /srv/path/Files/Trilium/trilium-data
Since this effectively allows reading/writing this directory to any user on the system, it's recommended to do this on only single-user systems. This directory will be used (mounted) below.

Enhance Mobile View experience:

Mobile view plugin: https://github.com/BeatLink/trilium-scripts/tree/main/Mobile%20View (Thanks dude)

Create a new note.

Create 7 sudnotes and follow instructions:

https://github.com/BeatLink/trilium-scripts/blob/main/Mobile%20View/SetNoteView.js
https://github.com/BeatLink/trilium-scripts/blob/main/Mobile%20View/SetRightPanelView.js
https://github.com/BeatLink/trilium-scripts/blob/main/Mobile%20View/SetSidebarView.js
https://github.com/BeatLink/trilium-scripts/blob/main/Mobile%20View/ToggleMobileView.js
https://github.com/BeatLink/trilium-scripts/blob/main/Mobile%20View/SetupButtons.js
https://github.com/BeatLink/trilium-scripts/blob/main/Mobile%20View/SetHTMLMeta.js
https://github.com/BeatLink/trilium-scripts/blob/main/Mobile%20View/MobileView.css

Note: "<path-to-....js>" is the "Note Id" under "Note Info"

triliumnotepath.png

More plugins:

Awesome Trilium: https://github.com/Nriver/awesome-trilium#-table-of-contents

Firefox extension: https://github.com/zadam/trilium-web-clipper/releases