Yesterday I finished up the first version of Clip, the easy command-line interface clipboard manager. Currently it’s OS X only but I plan to make it platform agnostic over the coming weeks. Here’s how you can get started using Clip.
Installing Clip is simple with pip:
$ pip install clip‘
You can also use a mirror by typing:
$ pip install -i http://simple.crate.io/ clip
Getting the Code
You can either clone the public repository:
git clone email@example.com:silent1mezzo/clip.git
Download the tarball:
$ curl -OL https://github.com/silent1mezzo/clip/tarball/master
Or, download the zipball:
$ curl -OL https://github.com/silent1mezzo/clip/zipball/master
Once you have a copy of the source, you can embed it in your Python package, or install it into your site-packages easily:
$ python setup.py install
You can get started with clip quickly by typing
clip in your terminal to pull up the help text.
Here are a few commands you can try out
Creating a List:
$ clip <list_name> $ clip websites
Viewing a List:
$ clip <list_name> $ clip websites ...
Adding a snippet:
$ clip <list_name> $ clip websites django1.5 https://docs.djangoproject.com/en/dev/releases/1.5/
Getting a snippet:
$ clip <list_name> $ clip websites django1.5 'https://docs.djangoproject.com/en/dev/releases/1.5/' has been copied to your clipboard
You can also omit the list_name and it’ll try to find the key
$ clip django1.5 'https://docs.djangoproject.com/en/dev/releases/1.5/' has been copied to your clipboard
Deleting a List/Key
$ clip delete <list_name> $ clip delete websites $ clip delete <list_name> $ clip delete websites django1.5
Opening a snippet in your browser:
$ clip open <list_name> $ clip open websites django1.5 $ clip open $ clip open django1.5
Hope you enjoy using Clip as much as I do!