Coder Social home page Coder Social logo

nnote's Introduction

nnote v0.0.2

nnote is a quick and simple command line utility to take and keep track of notes with as little friction as possible. I usually have a terminal open, so for me the best way to do this is with a really short command. I typed in nn and it didn't do anything. Now it does!

nn will launch YOUR favorite editor, any of which should work as long as it's openable by a terminal command.

Known Issues

  • using nn new <filename> with an existing filename will simply overwrite your previous note without warning. The next version will present a prompt asking the user whether they want to open the existing note or overwrite it. For now, use nn list first if you're not sure if you're using an existing filename.

Install

First, make sure you have a recent version of Node.js. I'm using const, let and arrow functions (=>) from ES6 in this module, so whichever version you use has to support those at least. I'm on 6.2.2 as of this writing.

Then to install nn itself:

npm install -g nnote

Then run nn once to create the configuration file in your home directory, open that file and put in your desired settings and BAM! You'll never again forget an important thought in the year between opening Evernote and it finally letting you type.

Commands

The output of nn help is below. Words between <these> are values that you supply.

nn new <filename>       => Creates a new note with the (optional) specified filename.
nn open <filename>      => Opens the specified file, or creates it if it doesn't exist.
nn list                 => Prints a list of all notes in your note_path
nn set <param> <val>    => Sets the specified parameter to the value in your config
nn peek <filename>      => Prints the first two sentences of the specified file.
nn help                 => Well, here you are!

nnote's People

Contributors

schwingbat avatar

Watchers

 avatar  avatar

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.