Currently Available: Need a skilled Software Developer for your next project?
Categories
Self-Hosting

Self-Hosted Alternatives to Trilium Notes for Hierarchical Note-Taking

Trilium Notes organizes information in a tree. Notes can contain child notes, and the same note can appear in several places in that tree. This matters when you want to organize one note under several topics. Trilium also supports labels and links between notes, as described in its project documentation.

Several self-hosted tools can replace parts of this approach, but they organize and store notes in different ways. “Self-hosted” can mean running a web-based notes service on your own server, hosting a sync service for apps on your devices, or keeping notes in files you control. SilverBullet suits browser access and Markdown files. SiYuan suits a structured editor with a document tree and links to individual content blocks. Joplin suits note-taking in device apps with configurable syncing. BookStack and Logseq suit more specialized ways of organizing notes.

Compare the ways each tool organizes notes

Tool How it organizes information What self-hosting means Best fit
SilverBullet Pages in folders, with tags and links for other groupings Run a server for browser access, or use its desktop app with local files Markdown files you can manage outside the notes app
SiYuan A notebook and document tree, plus references to individual content blocks Run a self-hosted knowledge workspace A rich editor and fine-grained cross-links
Joplin Nested notebooks, notes, and tags Host a synchronization service for local desktop and mobile apps, or choose another sync target Offline-capable device apps and flexible sync
BookStack Shelves contain books; books contain chapters and pages Install a web-based documentation service on infrastructure you manage Handbooks and structured documentation
Logseq Outlines, linked pages, and block references Depends on the graph model and current sync arrangement Outline-driven note-taking rather than a conventional note tree

SilverBullet keeps notes in Markdown files

Choose SilverBullet if you want direct access to your note files as well as a self-hosted interface. A SilverBullet “space” is a folder containing Markdown pages, assets, and configuration. You can run the server for browser access or use the desktop app with local folders.

SilverBullet stores pages in folders, so a page such as Folder/Page has one location in the folder tree. Tags and links give you other ways to find or connect the page, but they do not put it in several folder locations. The content-finding documentation describes these ways to organize and find pages.

Because SilverBullet stores notes as Markdown files, you can back them up or edit them with other tools. Some features, including live queries, depend on conventions that other editors do not handle the same way. The project describes these open-format trade-offs. Choose SilverBullet when file access and portability matter more than placing the same note in several parts of a tree, as Trilium does.

SiYuan pairs a document tree with block references

Choose SiYuan if you want a structured editor and a tree of nested documents. It also lets you link to individual content blocks. A block is a specific piece of content, such as a paragraph. Linking to a block points readers to a detail inside a note, rather than just to the note as a whole. The SiYuan project documentation describes its document tree, block references, editor, and Docker deployment.

SiYuan’s stored data is harder to access directly than Markdown files in a folder. The project documents .sy files in JSON format and offers Markdown export. It also warns that syncing SiYuan data through third-party sync disks is unsupported because of the risk of corruption. Before making SiYuan your main notebook, test how its export handles your notes and assets. Check that your backup and sync methods follow the project’s guidance. Running your own server does not resolve these data-management choices.

Joplin uses local apps and a separate sync service

Choose Joplin if you want desktop and mobile apps that keep notes on your devices. You can nest notebooks, but the controls differ by app. The desktop app can create and reorganize sub-notebooks. The mobile app can show the notebook tree and expand or collapse it, but it cannot move sub-notebooks. Joplin’s sub-notebook documentation describes these differences.

With Joplin, self-hosting usually means running a service that syncs data among the apps on your devices. Joplin Server is one sync target. The synchronization documentation also describes WebDAV, S3, and Nextcloud as other targets. This setup differs from working mainly in one web-based editor.

Joplin formats notes in Markdown. The local profile stores note and notebook data in SQLite, with attachments in a separate resources directory. If you enable end-to-end encryption, the apps encrypt note contents before syncing, so the sync service does not receive readable notes. Joplin’s Markdown documentation covers its note format. Choose Joplin when you prioritize editing on your devices and flexible syncing over managing the full notebook tree in a browser.

BookStack turns notes into documentation

Choose BookStack if you want a handbook or documentation library with a clear reading order. Shelves group books. Books contain pages, either directly or inside chapters. A book can appear on more than one shelf, but an individual page cannot appear in several parts of a note tree as it can in Trilium. BookStack’s content overview describes the hierarchy.

BookStack’s sidebars and breadcrumbs help readers move through organized material. Authors must fit content into its set hierarchy, so it is less suited to capturing personal notes freely. You run the service on infrastructure you manage, and it requires a web server and database. Check the current installation requirements before choosing it. Choose BookStack if publishing and a consistent documentation structure matter more than flexible note organization.

Logseq favors outlines and linked blocks

Consider Logseq if you build notes from nested bullet points and links between pages or blocks. It organizes information around outlines and their connections, rather than starting with a tree of whole notes.

Logseq’s storage and sync details depend on the graph model you use. An official announcement describes two directions: the file-based Markdown version, called Logseq OG, and a database graph. Its announcement about the two versions explains the difference. Check the current self-hosting and sync terms for the version you plan to use. Logseq suits outline-centered work, but it does not directly replace a hierarchical note tree.

Plan a Trilium migration around data and structure

Trilium stores notes and their relationships, along with metadata and settings, in an embedded SQLite database. Its database architecture documentation explains how the database works. Storage differs across the alternatives. SilverBullet stores Markdown in files, while SiYuan uses its own document format and can export to Markdown. Joplin stores notes as Markdown and uses SQLite for local data.

Trilium can import and export Markdown, HTML, and OPML. Its documentation distinguishes these exports from a full backup. A full backup preserves details such as note IDs and options or tokens. Make a native Trilium backup before migrating, even if you also export notes to transfer them. See the import and export guidance.

Check how the destination handles note relationships and attributes. Also check how it handles attachments and notes that appear in several places in the tree. It may preserve the text but organize it differently. Product documentation describes formats and features, but it does not show that a migration between any two of these tools will preserve every detail. Test a representative subset before moving your full collection.

What I'm building

Delegate tasks. Get software.

Give Vroni a GitHub issue, bug report, spec, or rough idea. It reads the repo, plans the change, writes code, runs checks, and works toward a review-ready pull request.

Take a look at vroni.com

Email updates

Usually a new article and a few links I found interesting.

No spam. Unsubscribe with one click.

Leave a Reply

Your email address will not be published. Required fields are marked *