Noti is a cli tool to find or copy personal notes. It is the fastest librarian for the lazy researcher.
Noti was influenced by tldr and tealdeer.
"The tldr-pages project is a collection of community-maintained help pages for command-line tools, that aims to be a simpler, more approachable complement to traditional man pages."
Clone this repository where you see fit.
$ cd ~/code
$ git clone git@github.com:MikaelJG/noti.git
Copy all of your programming notes in noti/notes/languages.
$ mv *.py ~/code/noti/notes/languages/py
$ mv *.js ~/code/noti/notes/languages/js
Copy all of your tech definitions in noti/notes/dictionary.
$ mv *.txt ~/code/noti/notes/dictionary
In your home directory, update your .bashrc or .bash_aliases file. If if doesn't exist, create it.
$ cd # move to home
$ vim .bashrc # edit your .bashrc file
$ alias noti="~/path/to/noti.sh" # write an alias to noti.sh
# for example
alias noti="~/code/noti/noti/noti.sh"
Using zsh? Update your .zshrc file.
$ cd # move to home
$ vim .zshrc # edit your zshrc file
$ alias noti="~/path/to/noti.sh" # write an alias to noti.sh
# for example
alias noti="~/code/noti/noti/noti.sh"
Options.
$ noti # list all options for Noti
# OR
$ noti -help # list all options for Noti
Read a tech definition in dictionary by using by providing one argument. Read a programming note by providing two arguments (language, then note name).
$ noti azure # find my note on Azure in notes/dictionary
$ noti js if # find my note on Javascript if statement,
# in notes/languages/js
Create a new tech definition in dictionary or a programming note with the -w option.
$ noti -w azure # write a new note named azure in notes/dictionary
$ noti -w js if # write a new note named if in notes/languages/js
Update an existing tech definition in dictionary or a programming noti with the -u option.
$ noti -u azure # update my note on azure in notes/dictionary
$ noti -u js if # update my note named if in notes/languages/js
In your home directory, update your .bashrc or .bash_aliases file.
$ cd # move to home
$ vim .bashrc # edit your .bashrc file
alias w="~/path/to/noti.sh -w" # write a new note
alias u="~/path/to/noti.sh -u" # update a note
# for example
alias w="~/code/noti/noti/noti.sh -w"
To be updated soon.
Big thanks to all collaborators. Your support made a difference on the project!