Live data from Hacker News

Show HN: Trilium Notes – Scriptable note-taking application

github.com

41–50 of 129 posts

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

#41
post #13

Does this support maths notation? E.g. Latex code interpreted with Katex or MathJax, or WYSIWYG with MathQuill. I see there may be relevant CKEditor plugins. Could these be used?

Currently no support. I use CKEditor 5 which is very very nice, but still a bit immature in its plugin ecosystem. LaTex support is definitely something I've been thinking about, but I'm still not sure about how to approach it. This might be also one of the showcases for the scripting support. User can load e.g. KaTex as a script, bind it to the "code note" which it will render into a view e.g. above the code editor.…

You should look at https://katex.org/

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

#42

Earlier quoted context omitted.

I'm always thinking about doing so yet the perfect one I imagine is actually too complex for me to make - I hardly am too much of a frontend developer so far.

What features would you like in your ideal one?

Thank you for the question but it feels I can't write a comprehensive answer quickly enough and it's time to go to bed now (in Europe) but my head is already working on systematizing the idea. I'll probobably write later.

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

#43

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...

There are already too many of these "collect universal notes" kind of apps. New ones pop up all the time with a slightly different twist, but basically same shit, new wrpping

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

#45

Earlier quoted context omitted.

I think a good place to start would be here: https://en.wikipedia.org/wiki/Comparison_of_notetaking_softw...

Thanks but this list doesn't seem relevant to me as it doesn't even contain any of the most interesting notetaking apps I've seen so far like TreeSheets, Bear (I wish it wasn't Apple-only), The Brain, Notable or Frame. Evernote-like stuff is not what I'm looking for.

What are you looking for?

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

#46
post #43

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...

There are already too many of these "collect universal notes" kind of apps. New ones pop up all the time with a slightly different twist, but basically same shit, new wrpping

I’ve tried every one and still plain text files work and will continue to work. The simplest is best.

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

#48
post #13

Does this support maths notation? E.g. Latex code interpreted with Katex or MathJax, or WYSIWYG with MathQuill. I see there may be relevant CKEditor plugins. Could these be used?

Want to add on that TeX support is pretty much the only thing holding me back from this. I feel like KaTeX is not only easy to integrate but also full featured.

I'd be incredibly impressed if you could render full LaTeX though - e.g. via a renderer switch and a PDF viewer like PDF.js.

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

#49

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 see…

So, say I export my note as a markdown document, what I'm seeing is that all the images that I had pasted into my note are still referenced as a link. I was thinking the image itself would be copied into an images directory and referenced relative to the note, locally. Is it possible to do that?

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

#50

Earlier quoted context omitted.

I'm always thinking about doing so yet the perfect one I imagine is actually too complex for me to make - I hardly am too much of a frontend developer so far.

What features would you like in your ideal one?

Let me join the conversation, since it's a good opportunity to think about it. For me it would be:

* Open-source, self-hosted

* Storing the data in some very plain format, as long as it doens't conflict with other features. In fact, I'd wish for it to be plain markdown in individual files on the disk, but (aside from performance problems) I don't imagine it being fully possible. So I'm not sure where the right balance should be, but the point is it is something to strive for, since personal notes is something that should be easily editable/recoverable within minutes in any situation.

* Clients for Android, web, preferrably simple enough API to be able to write plugins for vim/atom/whatever.

* The main document format (let's call it .note further): ok, maybe not really markdown, but something intentionally simple still. The only not-markdown feature I can remember right now that is really necessary is text coloring. Must support block-quotes and tables well. Otherwise, it shouldn't be possible to make any html document you want in the editor.

* Editor UI: pretty much one of the Evernote. Embed images by drag'n'drop (automatically copying them to the server), preserve simple formatting when copying HTML markup from somewhere (like Google Docs do).

* Even though only .note files must be editable, pretty much anything should be easily attachable as a first-class note: picture, audio-file, PDF, etc. Even if the only thing app can do with the file is to upload/download, this still should be considered as much a note as a .note file.

* Auth, obviously. I doubt it's a viable feature to build, but if I'm writing it myself, I'd eventually configure it to log-in the proper user using SSL user-certificate.

* Primary purpose of notetaking app is, actually, reading the notes, not writing them, so this should be simple. The default UI for any saved note should be read-only, w/o unnecessary buttons taking up the space on the screen (especially critical when using the phone).

* Tags attachable to every note (of any format). Search using tags. Tags can be non-ASCII. Tags must be easily searchable and editable in bulk.

* Full-text search.

* Some tags can be marked as "labels", and the label should be the only possible way to organize data: treat them approx. as Gmail does, don't clutter the app with both tree-style navigation and tags. To satisfy the user who really likes trees, treat some symbol in the label (- / |) as the separator, so that "university/biology" and "university/math" would form a tree in the UI.

* Pretty much everything else I can imagine right now is anti-feature. Simple is gold. Well, maybe some sort of versioning is actually useful, but if it's implemented it should not only "just work", but also be obvious for the user to see how it works.

* Treat conflicting changes well (for example, if you lose internet connection on a mobile). Maybe something similar to how git does it: let the use choose?

* Oh, yeah, about lost connections: caching on the clients. All cached data should always be encrypted on the disk (hm, I guess it would conflict with auth by SSL?).

Post reply on HN