Skip to content

Latest commit

 

History

History
66 lines (39 loc) · 2.53 KB

README.md

File metadata and controls

66 lines (39 loc) · 2.53 KB

GoNote - Terminal client for SimpleNote

GoNote is a simple utility for managing notes in your SimpleNote account. It allows basic operations like creating new notes - either by using external editor, piping file contents or just passing text in command line, as well as listing, editing and deleting them. I'm probably one of many developers who use terminal on a daily basis and, in time leaving it just to save some text for later became a nuisance. At the same time I like having all my notes available on my phone or in the browser, just in case I don't have my computer with me. SimpleNote is a service which focuses on having very straightforward and transparent way of managing your notes, at the same time allowing access to your account from mobile devices and web - thus the reason for choosing it as a storage backend for this utility.

Installation

OSX

brew tap exaroth/gonote && brew install gonote

Linux

AMD64
wget -O gonote https://github.com/exaroth/gonote/releases/download/0.2.0/gonote-linux-amd64 && chmod +x gonote && sudo mv gonote /usr/local/bin/
i386
wget -O gonote https://github.com/exaroth/gonote/releases/download/0.2.0/gonote-linux-i386 && chmod +x gonote && sudo mv gonote /usr/local/bin/

Example Usage

  • Creating notes

gonote - Will open external editor (set in $EDITOR environment variable) allowing you to create new note.

gonote @sometag @anothertag - Same as above but will also attach @sometag and @anothertag to the note.

gonote Something something dark side... - Will create note with "Something something dark side..." as content.

cat somefile.txt | gonote @sometag - Saves contents of 'somefile.txt' as a note appending @sometag tag.

  • Listing notes

gonote list - Will list all notes in your SimpleNote account (except those in trash).

gonote list -n 5 - Lists last 5 notes.

gonote list --deleted - List all notes including those that are in trash.

  • Editing existing note

gonote edit <note_id> - Edit note with given note id.

  • Fetching note

gonote get <note_id> - Will fetch a note with given id, retrieved with list command.

  • Deleting note

gonote delete <note_id> - Deletes a note, moving it to trash.

gonote delete <note_id> --permanently - Will permanently delete a note.

Configuration

You can find configuration file in ~/.gonote.json. Available options are:

  • email - SimpleNote email.
  • password - SimpleNote password.
  • markdown - Whether to set markdown flag when uploading notes.