Trilium Notes
Hierarchical note-taking application with focus on building large personal knowledge bases.
What it replaces
What Trilium Notes actually is
Trilium Notes is a self-hosted, hierarchical note-taking application for building a large personal knowledge base. Its pitch is narrower and more useful than the average “second brain” marketing page: organize your notes into a durable tree, keep the system under your control, and avoid handing your entire thinking process to another SaaS dashboard. It sits in the overlap between Notion and Obsidian, aimed at people who want Notion-style knowledge-base organization without the hosted service, or an Obsidian alternative that is more explicitly centered on hierarchy and a substantial collection of notes.
Live GitHub stats
Trilium Notes currently shows 2927 stars and 153 forks on GitHub. The repository is licensed under AGPL-3.0, lists TypeScript as its primary language, has 1 open issue, and records a last push of 2025-06-24. Those numbers suggest a real project with a meaningful user base and very little visible issue backlog at the time of this snapshot, but they are signals rather than a guarantee that every edge case is polished or that development will continue at the same pace.
The TypeScript codebase also tells you roughly what kind of project this is: a full application with enough surface area to deserve proper deployment and maintenance, not a tiny notes folder with a web wrapper bolted on. The low open-issue count is nice, though it should not be mistaken for proof that the project has no unresolved problems. GitHub metrics are useful context; they are not a substitute for checking releases, backups, upgrades, and whether the current build fits your workflow.
What it's good at
The strongest use case is a personal knowledge base that needs structure. Trilium’s defining idea is hierarchy: notes live in an organized tree rather than a flat pile of pages, tags, backlinks, and search results that you are expected to mentally assemble later. That makes it a sensible fit for documentation, research notes, project material, reference information, and the accumulated miscellany that becomes difficult to manage once a notebook stops being small.
It is also a practical escape hatch from hosted knowledge-base economics and vendor dependence. Notion starts at $10/month, while Trilium can be self-hosted, so the trade is clear: you give up the convenience of a managed service and take responsibility for running the application. For an individual, homelab operator, or technically comfortable small team, that can be a good exchange when the notes are valuable enough that “please trust our cloud forever” no longer feels like a strategy.
Compared with Obsidian, Trilium is a better match for someone who wants the application itself to provide a centralized, hierarchical knowledge-base experience. Compared with Notion, it is the more control-oriented option: your installation, your storage, your backup policy. That does not automatically make it better. It makes the ownership model explicit, which is more honest than pretending every user wants a collaborative SaaS workspace for their private notes.
What to watch for
The AGPL-3.0 license matters if you modify Trilium and make the modified software available over a network: the license carries corresponding source-sharing obligations for those modifications. That is not a reason to avoid the project, but it is a reason to involve whoever handles licensing before turning a customized instance into a product or internal service. Deployment difficulty is 3 of 5, which puts Trilium in the “reasonable for a competent self-hoster, not appliance-level” category. The supplied GitHub data records the last push as 2025-06-24; that is enough to show recent activity in the snapshot, but prospective operators should verify current releases and upgrade guidance before making it the only home for important information.
How to deploy
Trilium Notes is available for self-host deployment. Docker or Docker Compose is a common route for this kind of TypeScript web application, especially when you want repeatable upgrades, persistent storage, and a reverse proxy in front of it. Keep backups separate from the container and test restoring them before trusting the setup with irreplaceable notes. See the Trilium deployment guide for the supported deployment path and current instructions.
Related tools
- Notion alternatives for other open-source and self-hosted replacements for Notion.
- Obsidian alternatives for tools focused on local-first notes and personal knowledge bases.
- All open-source knowledge-base tools for the broader comparison set.