# Trilium

> Build your personal knowledge base with Trilium Notes

- Type: agent or tool
- Field: Productivity
- Repository: https://github.com/TriliumNext/Trilium
- GitHub stars: 39199
- Licence: AGPL-3.0
- Language: TypeScript
- Last push: 2026-12-01
- Page: https://imutechz.in/agents/trilium

## What it is
Trilium Notes is a free, open-source, cross-platform hierarchical note-taking application designed for building large personal knowledge bases. It organizes notes in an arbitrarily deep tree structure where a single note can appear in multiple locations through cloning. The app includes a rich WYSIWYG editor with tables, images, math, code syntax highlighting, and markdown auto-formatting, plus features like full-text search, note versioning, encryption, synchronization via a self-hosted server, and visual tools such as diagrams, mind maps, and geo maps. It scales to over 100,000 notes and offers a touch-optimized mobile frontend.

## Features
- Hierarchical tree with note cloning for multiple placements
- Rich WYSIWYG editor with tables, images, math, and markdown auto-format
- Code notes with syntax highlighting
- Full-text search, note hoisting, and seamless versioning
- Per-note encryption and self-hosted synchronization
- Scripting, REST API, and visual tools (diagrams, mind maps, geo maps)

## Best for
- Personal knowledge base management
- Research and documentation with deep hierarchies
- Secure note-taking with encryption and self-hosted sync
- Visual knowledge mapping and diagramming

## Pros
- Free and open-source with cross-platform support
- Scales to 100,000+ notes with strong performance
- Multiple import/export options including Evernote and Markdown
- Touch-optimized mobile frontend and dark theme

## Cons
- Requires self-hosted server for synchronization
- Advanced features like scripting and attributes have a learning curve
- No official cloud sync service; relies on third-party hosting

Tags: note-taking, knowledge-base, hierarchical-notes, open-source, self-hosted, encryption, markdown, diagrams
