I've been wanting a notes app I can use in the terminal on my Ubuntu server for a while. Every few months I forget how to do mundane things like find reverse dependencies for a package, or uninstall something including rc files, and the classic what are certbot's arguments again??, etc.
I embarked on making this ncurses terminal app for that purpose, but it got too complicated to start using immediately.
This is my solution, and my notes.
- Fork this repo, and clear out the _notes.txt, or keep it if you want my notes 🤷🏽♂️
- Run
./install
- which will symlink~/_notes.txt
and~/bin/notes
My main use cases are:
-
Browse the notes:
❯ notes
This opens the notes in
less
-
Add a new note:
❯ notes # Hit `v` to open your default editor # Hit `q` twice to exit # (Once for my editor `nano`, once to exit `less`)
-
Search for a keyword:
❯ notes purge # To search for 'purge' # Use `n` and `N` to go forward/backward through results
You can read more about how to use less
and other tips/tricks in this great article.