Nub

Command line markdown editor which uses Github gists as a database.

Installation

  • 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

Setting the config

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"
}

Usage

  • edit – Edit note in a gist
nub edit
  • create – Create note in a gist
nub create <filename>.md

GitHub

View Github