Live data from Hacker News

Show HN: Trilium Notes – Scriptable note-taking application

github.com

21–30 of 129 posts

Re: Show HN: Trilium Notes – Scriptable note-taking application

#21
post #14

This is very interesting. It's self-hosted and therefore not reliant on someone's brittle/invasive business model. I'd consider switching over to this in a heartbeat if it could handle attaching arbitrary files to notes (e.g. office docs, pdfs, etc.) that would also get sync'd. I haven't looked at the code, but can anyone say something informed about the sync server auth and transport security? Is it running over TLS…

Native integration is better, but file:// + syncthing could probably suffice?

I can't really recommend this. Trilium Notes stores its data in an SQLite database and syncing it as a single file would mean any kind of edit conflict would have to throw out all changes from one side of edit conflict.

Native solution has an advantage of being able to resolve edit conflicts on a very granular level (individual notes, attributes etc.)

Re: Show HN: Trilium Notes – Scriptable note-taking application

#22
post #14

This is very interesting. It's self-hosted and therefore not reliant on someone's brittle/invasive business model. I'd consider switching over to this in a heartbeat if it could handle attaching arbitrary files to notes (e.g. office docs, pdfs, etc.) that would also get sync'd. I haven't looked at the code, but can anyone say something informed about the sync server auth and transport security? Is it running over TLS…

[deleted]

Re: Show HN: Trilium Notes – Scriptable note-taking application

#23

Earlier quoted context omitted.

Native integration is better, but file:// + syncthing could probably suffice?

I can't really recommend this. Trilium Notes stores its data in an SQLite database and syncing it as a single file would mean any kind of edit conflict would have to throw out all changes from one side of edit conflict. Native solution has an advantage of being able to resolve edit conflicts on a very granular level (individual notes, attributes etc.)

Is there a way to do diffs between versions of notes?

Re: Show HN: Trilium Notes – Scriptable note-taking application

#25
post #23

Earlier quoted context omitted.

I can't really recommend this. Trilium Notes stores its data in an SQLite database and syncing it as a single file would mean any kind of edit conflict would have to throw out all changes from one side of edit conflict. Native solution has an advantage of being able to resolve edit conflicts on a very granular level (individual notes, attributes etc.)

Is there a way to do diffs between versions of notes?

I'm not sure if you mean on a user level or possibly on a sync level?

Trilium Notes automatically versions notes by kind of taking a snapshot every few minutes. It allows you to browse those "revisions", but there isn't a diff built in yet. It is one of those features which I thought I might implement some day but there's always something more important.

For the edit conflict resolution - no diff is being used. Newer change just overwrite the old one. But since you have historical revisions from both sides of edit conflicts, there's a good chance you didn't lose the data completely. And in practical terms this happens quite rarely if you sync often (i.e. - are online) since the sync is granular enough.

Re: Show HN: Trilium Notes – Scriptable note-taking application

#27

This looks pretty impressively thorough. I noticed you support Evernote -> ENEX -> Trilium; what about exports, ie going in the other direction?

For the export there's a TAR archive which contains a directory structure of HTML/Markdown files (you can choose the format) representing the notes in the tree structure. Extra metadata are stored in a single JSON file (in the same tar). Same tar archive can also be imported without losing anything in the process.

Besides that there's an OPML file export which contains a tree structure with plain text. Its import seems to be supported widely among outliners.

Re: Show HN: Trilium Notes – Scriptable note-taking application

#28
Thank you for the hoisting! For me this is a crucial feature missing on most outliners. I got spoiled by one that had it in the mid 80s (one of the first, can't remember the name). That one went away and ever since hoisting has been my screening test. The fact that hoisting is hard to find 30 years later is evidence of technical regression and the oncoming collapse of civilization. So Trilium gives me hope.

Re: Show HN: Trilium Notes – Scriptable note-taking application

#29
The_Colonel, could handwritten notes fit into Trilium? It's technically possible, with PointerEvents to get pressure, but I'm wondering about whether it would fit with your goals for the project.

I'm guessing it would need to be another type of note, separate from the CKEditor ones, or maybe some kind of drawing area plugin making space within a rich text note.

Re: Show HN: Trilium Notes – Scriptable note-taking application

#30
I wish somebody would write a good comparative review of all the note-taking, information organization and outlining apps... I'm in constant search of the one that would actually suit my preferences. Perhaps this is the one (but chances are it's not). Let's take a look...
Post reply on HN