Docs

FAQ

Mac OS support ————–

Originally, desktop builds of Trilium Notes has been available for Windows & Linux, but there has been a considerable demand for macOS build.

So I made one, but I underestimated the differences and specifics of Mac platform which seems to require special handling in several places. My lack of knowledge and frankly willingness to learn & code Mac specific functionality resulted in a current state where Trilium does not integrate well into the OS %%{WARNING}%%.

macOS build is from now on considered “unsupported”. I will strive to keep it fundamentally functional, but I won’t work on Mac specific features or integrations. Note that this is more of an acknowledgment of an existing state rather than sudden change of direction.

Of course, PRs are welcome.

Translation / localization support

Trilium is currently available only in English. Translation to other languages is not planned in the near/medium term because it brings a significant maintenance overhead. This decision might be revisited once Trilium stabilizes into a more mature product.

For Chinese, there’s an unofficial fork here. Use at your own risk.

Multi user support

Common request is to allow multiple users collaborate, share notes etc. So far I’m resisting this because of these reasons:

How to open multiple documents in one Trilium instance

This is normally not supported - one Trilium process can open only a single instance of a database. However, you can run two Trilium processes (from one installation), each connected to a separate document. To achieve this, you need to set a location for the data directory in the TRILIUM_DATA_DIR environment variable and separate port on TRILIUM_PORT environment variable. How to do that depends on the platform, in Unix-based systems you can achieve that by running command such as this:

TRILIUM_DATA_DIR=/home/me/path/to/data/dir TRILIUM_PORT=12345 trilium 

You can save this command into a .sh script file or make an alias. Do this similarly for a second instance with different data directory and port.

Can I use Dropbox / Google Drive / OneDrive to sync data across multiple computers.

No.

These general purpose sync apps are not suitable to sync database files which are open and being worked on by another application. The result is that they will corrupt the database file, resulting in data loss and this message in the Trilium logs:

SqliteError: database disk image is malformed

The only supported way to sync Trilium’s data across the network is to use a sync/web server.

Why database instead of flat files?

Trilium stores notes in a database which is an SQLite database. People often ask why doesn’t Trilium rather use flat files for note storage - it’s fair question since flat files are easily interoperable, work with SCM/git etc.

Short answer is that file systems are simply not powerful enough for what we want to achieve with Trilium. Using filesystem would mean fewer features with probably more problems.

More detailed answer: