Simplenote Command Line Interface
sncli is a Python application that gives you access to your Simplenote account via the command line. You can access your notes via a customizable console GUI that implements vi-like keybinds or via a simple command line interface that you can script.
Notes can be viewed/created/edited in both an online and offline mode. All changes are saved to a local cache on disk and automatically sync'ed when sncli is brought online.
Pull requests are welcome!
Check your OS distribution for installation packages.
Requirements
Installation
- Via pip (latest release):
pip3 install sncli
- Manually:
- Clone this repository to your hard disk:
git clone https://github.com/insanum/sncli.git - Pipenv:
- Install the requirements
pipenv install - Run with
pipenv run sncli
- Install the requirements
- or more manual:
python setup.py install
- or with Docker (see the wiki for Docker usage tips)
- docker build . -t sncli
- docker run --rm -it -v /tmp:/tmp -v "$HOME/.sncli/:/root/.sncli/" -v "$HOME/.snclirc:/root/.snclirc" sncli
- Clone this repository to your hard disk:
Features
- Console GUI
- full two-way sync with Simplenote performed dynamically in the background
- all actions logged and easily reviewed
- list note titles (configurable format w/ title, date, flags, tags, keys, etc)
- sort notes by date, alpha by title, tags, pinned on top
- search for notes using a Google style search pattern or Regular Expression
- view note contents and meta data
- view and restore previous versions of notes
- pipe note contents to external command
- create and edit notes (using your editor)
- edit note tags
- trash/untrash notes
- pin/unpin notes
- flag notes as markdown or not
- vi-like keybinds (fully configurable)
- Colors! (fully configurable)
- Command Line (scripting)
- force a full two-way sync with Simplenote
- all actions logged and easily reviewed
- list note titles and keys
- search for notes using a Google style search pattern or Regular Expression
- dump note contents
- create a new note (via stdin or editor)
- import a note with raw json data (stdin or editor)
- edit a note (via editor)
- trash/untrash a note
- pin/unpin a note
- flag note as markdown or not
- view and edit note tags
Screenshots
HowTo
"Usage:
sncli [OPTIONS] [COMMAND] [COMMAND_ARGS]
OPTIONS:
-h, --help - usage help
-v, --verbose - verbose output
-n, --nosync - don't perform a server sync
-r, --regex - search string is a regular expression
-k , --key= - note key
-t



