Coder Social home page Coder Social logo

nota-bene's Introduction

Overview

Nota Bene is a simple shell-based note-taking application providing Evernote-like functionality.

Why use a fancy thick client application to take notes when you're already in the terminal? Ain't nobody got time for that!

NB uses a simple convention: notes are stored in flat namespace, and the filename of the note is the label. Using the power of the shell, you can list, search, and even encrypt notes (TBD). By symlinking your note directory into a sync service folder (such as Dropbox) you can get all the benefit of free cloud storage and mobile access.

Installation

# The directory of DESTFILE should be in your PATH variable:
DESTFILE=$HOME/bin/nb; curl -s -o "$DESTFILE" https://raw.githubusercontent.com/ccarpita/nota-bene/master/nb && chmod 755 "$DESTFILE"

# For shell completion and shortcuts like nbls and nbgrep, add this to your .profile:
eval "$(nb --env)"

Usage

Edit or start a new note

nb <note-label>
# Uses EDITOR (default: vim) for note taking

List your notes

nb --list <optional-filter-search>

Search your notes

nb --search <query>

Setup command-line completion and the aliases nbs (search) and nbl (list)

NB_DIR=~/Dropbox/my-notes
source `which nb`

Environmental Variables

Variable Default Value Description
EDITOR vim Default note editor to use
NB_DIR $HOME/notes The directory where your notes will be stored. Pro tip: symlink this into your Dropbox for cloud sync
NB_DEFAULT_EXT md The default extension given to your notes. Markdown is the preferred format.
NB_PUB_DIR $HOME/pub Directory of git repo where your notes can be published
NB_PUB_BRANCH public Name of main branch to use in your public repo. A value other than master was chosen as the default so that your notes are not indexed by search engines on Github

nota-bene's People

Contributors

ccarpita avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

nota-bene's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.