Command line markdown editor which uses Github gists as a database.
- Clone repository
git clone https://github.com/madrix01/nub.git
cd nub
- Download the dependencies
go mod download
- build the application
make build
- Copy output to /bin
cp ./bin/nub /bin/nub
As you run nub
it creates config.json
file in ~/.config/nub
{
"Editor": "vim",
"GistId": "<you gist id>",
"Token": "<your github token>",
"TempFolder": "/tmp",
"Username": "madrix01"
}
edit
- Edit note in a gist
nub edit
create
- Create note in a gist
nub create <filename>.md