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 thehttps://github.com/insanum/sncli.git 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:

[sncli]
cfg_sn_username = user@email.com
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 setup.py 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
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News