trilium
trilium copied to clipboard
tag system suggest
HI zadam:
I spent a lot of time looking for a knowledge base software for myself.
When trilium had only 900 stars, I began to pay attention to it,It has many good ideas, clone, run JavaScript in note, save search results, etc.
I'm a collector. I want to store anything I'm interested. It's easy to store, but how to quickly find out what I've collected is a huge problem.For example, I have more than 5000 web urls in my collection,But I don't know how to classify them effectively.
What bothers me is the problem of tree classification. Most of the time, I don't know which classification to put the fragments in. If I forgot which classification to put it in, disaster will come. Unless I use full-text search, I will never find it. And when there are more and more things collected, it's also a frustrating thing to check one by one in the hundreds of search results.
The tag system seems to be able to solve my problem. I'm not a programmer, I try to use VBA to realize it. The interface is ugly, but basically realize my idea. The advantage is that the data is completely stored locally, and the convenience of Excel is incomparable with other applications.
For each collection item, I will input a lot tags on it. There is a certain relationship between these tags: dependency, synonym, attribute, but I will not strictly distinguish them, but just insert them into the note table of SQLite as a record. At the same time, in the tags table, I will divide the tags and use the note ID as joinquery.
When there are enough records, when I want to label a record, I will enter a tag, and the sqlite will find other associated labels, and display the number of times as the sorting basis in list box 2. I can select multiple tags, and then insert them into the tags list of this record. List box 1 is the existing list of tags, which I can exclude by clicking Items.
like this
When I want to find a record, the service will filter the result by inputed tag. The more tags I enter, the more accurate the result will be.
Improvement:
-
If no results are found, turn to full-text search
-
Standardize the tags list, such as grouping tags. Enter the name of the group, and the tags under the item will be listed.
Trilium is a great open source software. I think it's better than Evernote. I hope my idea can help it
Just a quick check - have you seen attributes (labels) - https://github.com/zadam/trilium/wiki/Attributes
They do support most of what you ask for. There are some missing things (list of existing labels with their usage count) but I imagine that could be provided as a scripted widget. But then I'm not sure if I understood everything completely ...
Yes, I have noticed the content of attributes. The suggestion is that I want to input a large number of labels quickly. I also notice that all attributes from the template note are inherited to the instance notes.Specifically, I want to be more flexible and intelligent when entering tags, rather than relying on templates alone. When I input the next tag, it will pop up the suggestion box, list the tags related to all inputed tag, and sort them according to the count of co-occurrence.
For example, I want to create a git cheatsheet. At the same time, I also have a zsh cheatsheet.Which path should I put it in, GIt or Linux command or cheat sheet? Or I just put it in the learning directory,and label it #Zsh #cheatsheet #linux #command
A more in-depth question is how should I create this table, insert a table in note, or create note for each command(If count the parameters, GIT has about 500 records, which is very troublesome to view one by one)
The benefit of create note for each command is that i can Annotate label for each command line, such as create, find, diff 创建,查找,对比, so I can search like "tag:git create 创建" and get results with create function command quickly, or "tag:git add alias" to return add command's alias .I think it will be accurate and flexible.I can even get the results in command line with API without strict grammar ,such as my native language(chinese).
My memory is bad, my English is also bad, for a git command, I only have a general impression.and I want to use trilium to hold millions of records,Not limited topics.I just want to get what I want quickly, not spend time choosing paths and finding results.
BTW thanks for your thoughts, I have been thinking about this since - in general I'm not very happy about the current state of attributes and I might possibly do changes in the direction you described in the 0.39 development ...
@lbgws2 I like the idea of tags very much too. It would be nice to have the option to add tags to e.g. a journal note, it could be a very fast way to assign those daily notes to a couple of subfolders or to show all notes with the same tag by clicking the tag e.g. if you take a journal note of a phone call with a customer you could add a project tag, customer tag and a topic tag (e.g. offer, todo etc.). It would be an additional way to categorize notes very quickly. For me it is a very familiar and comfortable UX - I know it from Lobsters and Wallabag - to be honest these tag badges (maybe different colors) look pretty too.



+1
It's a good ideal to list tags/attributes by default, i'm expecting this too