✎ nt
The minimal note taking script, all confined to a single little bash script.
Why?
I often find myself wanting to write down ideas, use a scratch pad, or sit down for a long brain dump without leaving my terminal. I've been using this script for a while now to do so, and decided to open source it in case someone else might find it useful.
PRs welcome for added features, documentation, etc.
TODO
- configurable editor
- gist integration, publish and checkout
- grep functionality for searching in files for match and file names
- order based on creation/updated
Installation
git clone https://github.com/johnotander/nt
Then, in your .bashrc
/.zshrc
/etc run . ./path/to/nt/nt.sh
.
Via npm
For convenience, the script is also available on npm:
npm i -g @johno/nt
Usage
❯ nt
✎ nt - the minimal note taking script
Usage:
nt open my-notes
nt ls
nt show random-thoughts
Commands:
open, o - open or create a file
show, s - cat a given file
ls, l - list all files
Related
This script is inspired by, and adapted from, pigmonkey's blog post.
License
MIT
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Crafted with <3 by John Otander (@4lpine).