Back to Blog
team@tinypod.app

Self-Hosting Trilium: Personal Knowledge Base

Trilium is a hierarchical note-taking app. Build your personal knowledge base with a tree structure, relations, and powerful scripting.

triliumnotesknowledge-basepersonal

What Is Trilium?


Trilium is a hierarchical note-taking application designed for building large personal knowledge bases. It's uniquely powerful among note-taking apps.


Features


Note Organization

  • Infinite hierarchy (tree structure)
  • Notes can appear in multiple places (cloning)
  • Relations between notes (links, maps)
  • Note types: text, code, canvas, search, book
  • Attributes and labels

  • Editor

  • Rich text with Markdown support
  • Code notes with syntax highlighting
  • Math equations (KaTeX)
  • Mermaid diagrams
  • Include other notes (transclusion)
  • Tables

  • Knowledge Management

  • Relation maps (visual connections)
  • Note map (graph view)
  • Link autocomplete
  • Full-text search
  • Saved searches
  • Note versioning

  • Advanced

  • Scripting (JavaScript for custom behavior)
  • Custom widgets
  • REST API
  • Import from Markdown, HTML, ENEX
  • Export to Markdown, HTML

  • Sync

  • Server-client sync
  • Multiple devices
  • Encrypted sync

  • Trilium vs Obsidian vs Logseq


  • Trilium: Server-based, most powerful features, web UI
  • Obsidian: Local files, plugin ecosystem, desktop app
  • Logseq: Block-based, bidirectional links, local-first

  • Deployment


    1. Deploy Trilium server on TinyPod

    2. Access via web browser or desktop app

    3. Start building your knowledge tree

    4. Connect related notes


    Resources: 1 CPU, 256 MB RAM.


    Trilium is the most powerful self-hosted note-taking app. The hierarchy + relations + scripting combination is unmatched.