sncli: Command-Line Client for Simple Note

Dmitri Popov

Productivity Sauce

Sep 26, 2014 GMT
Dmitri Popov

One of the things that make Simple Note such a convenient note-taking solution is the choice of client tools that let you access and edit notes on a variety of platforms and devices. But if you take a closer look at the  list of available applications and utilities, you'll notice that it doesn't include any command-line tools. That doesn't mean, though, that CLI tools for Simple Note don't exist, and sncli is here to prove that. Written in Python, sncli boasts comprehensive functionality, including two-way sync, sorting, searching, editing, pinning, tag editing, and much more. The tool supports Vim-like key bindings and fully-customizable colors.

sncli has only two requirements: Python 2.x and the Urid module. To install the latter on Debian and Ubuntu, run the apt-get install python-urwid command as root. Clone then the project's GitHub repository using the command (or grab and unpack the ZIP archive). Create the ~/.snclirc file and enter the following configuration into it, replacing the example values with your actual Simple Note user name and password:

cfg_sn_username =
cfg_sn_password = password

You can then run sncli using the ./sncli command from the resulting directory, or you can install the tool by running the python install command as root. When you run sncli, the utility automatically syncs all notes, and you can view all available commands and their key bindings by pressing h.

comments powered by Disqus

Issue 245/2021

Buy this issue as a PDF

Digital Issue: Price $12.99
(incl. VAT)