banner
amtoaer

晓风残月

竹杖芒鞋轻胜马,谁怕?一蓑烟雨任平生。
github
x
telegram
steam
nintendo switch
email

trilium - Build your personal knowledge base

title: trilium - Build Your Personal Knowledge Base
date: 2022-01-26 16:17:07
tags:

Recently, I came across a note-taking application called trilium. As stated in its README:

Build your personal knowledge base with Trilium Notes.

Using this software, it is convenient to build a personal knowledge base. Its unique design and high extensibility have attracted me.

Features

There are five main features that attract me to this software:

  1. Unique directory structure design, where a single note can act as both a "file" and a "folder," making it easy to organize documents.
  2. Notes support custom icons, viewing edit history, cloning (similar to hard links in a file system), and more.
  3. WYSIWYG rich text editor with a good editing experience.
  4. Highly extensible, allowing customization of buttons, page elements, and batch operations on notes through the API.
  5. Separation of front-end and back-end, enabling easy sharing and synchronization of notes across multiple devices.

Running

This software has multiple running modes, such as:

  1. Opening the client locally for personal use, with note content stored only locally.
  2. Deploying it on a server and setting the server address in the local client, enabling periodic synchronization of note content between the local and cloud.
  3. Deploying it on a server and accessing it directly through a web browser, interacting with the server via the front-end.

I personally recommend the second method, deploying it on a server for note backup.

Installation

The client can be installed from trilium - release. If Chinese translation is needed, trilium-translation - release can be installed.

Deployment

In general, server deployment can be done using the compressed package method. The process is simple, just follow the steps.

Showcase

Below are several typical features showcased.

Documents and Sub-documents

The right sidebar displays document content and previews of sub-documents.

image-20220126185121723

Cloning of Notes

The same note can be organized in different locations within the directory.

image-20220126190133566

Note Editing

A mature rich text editor.

image-20220126190530905

Custom Buttons

Custom buttons can be added to the sidebar, which, when clicked, generate a daily note and its two sub-notes, "Study" and "Entertainment."

image-20220126190648895

Note Synchronization

Synchronization of note content with a remote server.

image-20220126190854977

Advanced

For more advanced requirements, refer to Trilium: A Highly Customizable Personal Knowledge Base (Advanced Guide).

To write your own scripts, refer to the official API documentation:

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.