Personal Knowledge Base with Trilium

I use Trilium to create my personal knowledge base for several key reasons:

  • It is open-source and community-driven, which means there’s no risk of a company shutting down development or removing essential features, unlike my previous experience with Obsidian.

  • Trilium utilizes a single SQLite database file, making backups straightforward and offering excellent performance for quick navigation, full-text search, and scripting capabilities.

  • It provides a flexible note hierarchy with an intuitive tree navigation system, allows for rapid linking between notes, and scales efficiently, even with large collections of over 100,000 notes.

  • The software supports transparent synchronization through a self-hosted server, enabling full access from anywhere on the internet, including mobile devices.

  • It also allows for publishing notes to the public internet.

  • Furthermore, Trilium is easily customizable with user-defined JavaScript code and supports various community plugins.

I self host my synchronisation service with Yunohost.

I secure my Trilium instance with a password that is stored in my KeePass. Additionally, certain sensitive notes are protected with end-to-end encryption using this password.

I backup my Trilium knowledge base using the Yunohost backup tool, and I also create an additional backup of that backup using Borg.

Links