An open API service indexing awesome lists of open source software.

https://github.com/exaroth/gonote

Terminal client for SimpleNote
https://github.com/exaroth/gonote

Last synced: 6 months ago
JSON representation

Terminal client for SimpleNote

Awesome Lists containing this project

README

          

## 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

``` bash
brew tap exaroth/gonote && brew install gonote
```

#### Linux

###### AMD64

``` bash
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

``` bash
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 ` - Edit note with given note id.

- **Fetching note**

`gonote get ` - Will fetch a note with given id, retrieved with `list` command.

- **Deleting note**

`gonote delete ` - Deletes a note, moving it to trash.

`gonote delete --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.