Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1.04 KB

README.md

File metadata and controls

32 lines (18 loc) · 1.04 KB

Pinboard for Alfred

This is a very simple ruby script to add a URL with a title to Pinboard. The script makes use of the Pinboard API.

Installation

The script requires the escape gem to be installed. The Gemfile is included so you just need to run bundler:

bundle install

Usage

Add a new URL from http://url with the title "Multiword Title":

pinboard http://url Multiword Title

Add a new URL from http://url with the title "http://url":

pinboard http://url

Creating The Alfred Extension

You can follow the lovely instructions by Andrew Pepperrell here.

In the command text area, you use:

/path/to/pinboard {query}

If you enable Notification Center, the script will output the Pinboard API status code on completion, e.g. "done" when the URL was added successfully.

License

Standard MIT License