3 ms·
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 hear
by lvs 8y ago
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?
- yjftsjthsd-h 8y agoNative integration is better, but file:// + syncthing could probably suffice?
- The_Colonel 8y agoI 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.)
- mkl 8y agoIs there a way to do diffs between versions of notes?
- The_Colonel 8y agoI'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.
- The_Colonel 8y agoTrilium Notes has a concept of "file notes" which are just notes placed into the tree which can contain binary files. They fill the role of attachments. As any other kind of note, they are synced to the sync server and all clients. Sync auth is done through HMAC of a timestamp with shared secret. Sync uses HTTP so if sync server is properly configured with TLS, then it is used of course.
- deleted 8y ago[deleted]