A cozy home office illustrates secure, synchronized file storage across a desktop, laptop, phone, and network drive.
How-To Geek's Dibakar Ghosh says he gave up on Obsidian's sync story and moved his personal knowledge base to Trilium Notes. The pitch is free, open-source, and built-in sync. The details matter, though. Trilium's sync isn't a free hosted service. It's a design built around a server you run yourself, and that trade-off is the real story for anyone weighing the switch.

A cozy home office illustrates secure, synchronized file storage across a desktop, laptop, phone, and network drive. What prompted the switch​

Ghosh says Obsidian's paid sync is $4 a month, and he didn't want to pay it. He first tried Syncthing to move his vaults between devices. By his account, it went badly: notes failed to sync properly, and he lost important data. That's one user's experience. It isn't evidence that Syncthing generally loses data, or that Trilium is categorically safer. It's a good reminder that any sync setup needs backups.

What Trilium is​

Trilium is an open-source personal knowledge-base app. It runs locally or syncs with your server. Its official FAQ says it is AGPL-3.0 licensed, with no paid tiers, accounts, or feature paywalls. The desktop app is available for Windows, macOS, and Linux.

At first glance it looks like Obsidian, with a note tree on the left, an editor in the middle, and a side panel for context. Ghosh says it also covers Obsidian-style staples like daily notes, wiki links, and a graph view.

How "free sync" actually works​

Trilium's documentation describes an offline-first desktop client that stores data locally. It can synchronize with a central server in a star topology, with multiple clients talking to one sync server. Once configured, sync is automatic and ongoing.

Three points are worth being clear about:

  • There is no official cloud service. The FAQ says an official hosted version doesn't exist yet. You host the server yourself or use a third-party provider. The official site names PikaPods, and describes it as a paid service. "Free" means no Trilium subscription. It doesn't mean no hosting, setup, or maintenance.
  • There is no official mobile app. If you have a server, you can open it in a mobile browser and install it as a progressive web app. An unofficial Android app, TriliumDroid, can work offline.
  • It's built for one person. Trilium syncs your own devices. It doesn't support real-time multi-user editing.

Setting up the server with Docker​

Official Docker images exist for AMD64, ARMv7, and ARM64/v8. The Docker Compose route works like this:

  1. Install Docker.
  2. Download the project's docker-compose.yml.
  3. Optionally edit it. Unless you change it, data lives in a trilium-data folder next to the file, and the container answers on port 8080. To keep data elsewhere, change the host path before the colon in the volumes entry.
  4. Start it with docker compose up -d.

Ghosh's example address is. Treat that as a simplified local-network example. Trilium's Docker guide separates three setups: localhost only, local network, and global access. Which one you get depends on how you bind the port and configure the network.

Two Docker cautions from the official guide:

  • Pin a version. The guide advises against the "latest" tag. It can upgrade you automatically and disrupt sync setups.
  • Mind the SMB shares. If your data directory sits on an SMB/CIFS share, you need the nobrl and noperm mount options.

Version mismatches deserve attention too. The project's recent release notes say a sync protocol bump means instances on different versions cannot sync. Update the server and every client together. Docker Hub's page for the project's older image name says the same, noting that older clients can't sync with an upgraded server. The release notes also say a database migration runs on first open after an automatic backup. They add that an earlier version then refuses to open the database.

The project also published a security release for the server and Docker images. It updated Node.js and addressed a Brotli decoder flaw. The notes say requests are decompressed before authentication. The notes tell anyone running a server, especially an internet-reachable one, to update promptly. A community listing identified that release as v0.106.1. I couldn't confirm the current latest version from the sources I had, so check the releases page before you deploy.

Connecting your desktop and other devices​

For an existing desktop install, the documented steps are:

  1. Deploy the server but leave it uninitialized.
  2. In the desktop app, open Options, then Sync, then Sync server. Enter your server's address.
  3. Click Test sync. If it succeeds, the client starts pushing all its data to the server.
  4. Wait for the push to finish. You can keep working, and the server shows its login screen when done.

For a new desktop client, choose the sync-with-server option during first-run setup. Enter the server address and password. If the server uses TOTP multi-factor authentication, also enter a one-time code or a recovery code.

Security: don't skip this part​

The official sync guide says setting up the server securely is critical and can be complex. It calls for a valid TLS certificate (HTTPS) rather than plain HTTP. Ghosh's article suggests a mesh VPN like Tailscale for reaching the server away from home. The official sources I reviewed don't cover that, so consider it the author's suggestion. A local-only server isn't reachable from the wider internet unless you deliberately set that up. Opening it up without a plan is how self-hosted notes become someone else's reading material.

The documentation also covers troubleshooting:

  • Clock drift. Client and server clocks must agree within five minutes.
  • Certificate failures. Self-signed certificates and some corporate proxies can break verification. The docs describe an environment variable that disables TLS verification. They warn it significantly reduces security and exposes you to man-in-the-middle attacks. Don't use it as a routine fix. Get a proper certificate.

Where your notes live​

This is the biggest philosophical difference from Obsidian. Trilium stores notes in an SQLite database, not as a folder of plain Markdown files. The FAQ gives performance and features like placing one note in several tree locations as the reasons. Two consequences:

  • Don't put the database on a network drive. The FAQ warns that imperfect file locking can corrupt it.
  • Notes aren't encrypted by default. They can be read directly from the database. Notes you mark as protected are encrypted with AES-128-CBC. Self-hosted doesn't mean encrypted.

Sync has documented safeguards. If you edit the same note on two instances before they sync, the newer change wins and the older one is discarded. The older version stays in the note's revisions. After each sync, Trilium computes hashes on both sides and starts recovery if they disagree. Those are safeguards, not guarantees.

There are scale limits as well. The FAQ says Trilium should handle at least 100,000 notes, but sync can fail when uploading many large files. It's meant to be a knowledge base, not a file store like NextCloud. The import documentation puts the maximum size of a single item at roughly 374 MiB, set by the sync protocol.

What you get beyond Obsidian-style notes​

Ghosh argues Trilium is more flexible than Obsidian. His main points:

  • Note types. The default is a WYSIWYG editor. Other types include Markdown with live preview, Excalidraw-based canvases, Mermaid diagrams, and code notes with syntax highlighting. He also mentions a beta spreadsheet type with working formulas. Render notes can display code-note output as HTML, enabling custom dashboards.
  • Nested notes instead of folders. Any note can have children. Ghosh recommends staying at three levels or fewer so the structure doesn't get unwieldy. The official site adds that one note can appear in multiple places in the hierarchy.
  • Collections. Child notes can be shown as Kanban, Calendar, Map, Presentation, list, or table views.
  • Built-in features. The official site lists revisions, templates, a web clipper, and a REST API. It also lists scripting, and AI features that are opt-in and disabled by default.

The counterargument is fair, and Ghosh makes it himself. If you like Obsidian's minimalism, this may feel like overcomplication. If you can't use Obsidian without a dozen plugins, built-in features may appeal. Flat-file portability and an official mobile app are also reasons to stay put.

Migrating from Obsidian​

Trilium accepts imports from Obsidian, OneNote, Notion, and Google Keep. Dragging a file or archive into the note tree can auto-detect formats like Obsidian. Safe import is on by default, to prevent foreign scripts from running accidentally.

In Ghosh's test, folders became parent notes holding their sub-notes, and wiki links survived. Obsidian Bases and Canvas files were skipped. Results will vary with your vault, so test it yourself:

  1. Keep your original vault untouched.
  2. Import a copy.
  3. Check representative notes, attachments, links, and any Obsidian-specific features.
  4. Back up before you switch daily use.

On the backup point, the docs distinguish backups from ZIP exports. Backups preserve the whole structure and extra data like note IDs. For export, Trilium supports Markdown, HTML, and OPML. The documentation warns that some HTML-specific features, like internal links, may not carry over to other apps.

Who should consider it​

This fits people who:

  • already run a homelab or are comfortable with Docker
  • want sync without a subscription and are willing to maintain a server
  • like a database-backed, feature-rich tool over a folder of Markdown

It fits less well if you want turnkey cloud sync, a polished native mobile app, or plain files you can open anywhere. Whichever way you lean, set up independent backups and test a restore first. The author's own cautionary tale started with a sync tool that was supposed to just work.

 

References

  1. I ditched Obsidian for its free and open-source rival with built-in sync How-To Geek 2026-11-09T15:30:16+00:00
  2. Trilium/docs/User Guide/User Guide/Installation & Setup/Server Installation/1. Installing the server/Using Docker.md at main · TriliumNext/Trilium · GitHub github.com
  3. Trilium/docs/User Guide/User Guide/Installation & Setup/Synchronization.md at main · TriliumNext/Trilium · GitHub github.com