This will list the tags along with the number of number of times it is used. An optional --noheader flag can be passed after the command to prevent the header being printed. e.g. ``` $ kb list-tags name count ---------------- ----- Linux 2 Authentication 1 Pentesting 1 Enumeration 3 Network Protocol 2 ``` ``` $ kb list-tags --noheader Linux 2 Authentication 1 Pentesting 1 Enumeration 3 Network Protocol 2 ``` This --noheader flag was also added to the list command Close #10 |
||
---|---|---|
inc | ||
kb | ||
README.md |
Knowledge Base
This is a script that I use to manage my personal knowledge base. I have yet to find a tool that fits my requirements / desires so I decided to build one.
This is still in early stages of development so expect braking changes to come if you use it.
Goals
Mostly Plain Text
Most of my notes are currently in Markdown. This has a couple of advantages for me:
- I can read them anywhere
- I can version control them with Git
There may be some exceptions. I may wish to include links or images which I will version control with Git LFS; but for the most part, my notes are plain text.
Tags
Before starting this project, my notes were organised into folders. Unfortunately, this makes storing articles or notes that apply to different areas difficult. I would prefer a tag based system. This would allow a file to have multiple tags assigned to it.
Fast
I want to be able to retrieve my notes quickly by tag or by title. To do this, this tool will index notes using an SQLite database. This will not be version controlled.
Don't re-invent the wheel
I will be building on top of already great, fast tools such as RipGrep and FZF.