Peeq
15/04/2009I’ve been putting together a new widget for the Dashboard called Peeq. Peeq is an OS X dashboard widget inspired by Shaun Inman’s fantastic Shortwave bookmarklet. Similar to Shortwave, Peeq responds to user-defined commands in order to perform simple, web-based searches. As the Shortwave website explains:
A command consists of a predefined trigger plus optional search terms.
Although users are welcome to add their own commands to the Peeq repository, the widget comes with a few by default. For instance, entering “g Airmailr” into a vanilla Peeq installation will perform a Google search for the term Airmailr.

Performing a simple Google search with Peeq
Time is a finite measure (a matter of fact, for all you Daniel Johnston fans) and Peeq works to make such unfortunate truths slightly easier to swallow. In short, Peeq compresses the effort involved in searching your favourite websites for content. Hopefully it does so in a way that is intuitive. Let’s take a look at exactly how it works:
By default, Peeq comes with two Twitter related commands. The first opens a Twitter users profile (t NialGiacomelli) and the second performs a Twitter search (ts Airmailr). But what if we want Peeq to be able to show us the latest tweets made by a specific Twitter user? Let’s check the existing commands list to see if we can find anything that’ll help us out. To access the existing commands list, click the + (plus) icon to the right of the search input pane.
From there, you’ll be shown a list of existing commands. Scroll down to the ts command and click it.

Editing an existing Peeq listing
The form below the command list should populate with the ts commands details. From here, we can either edit the command, or delete it altogether. For our purposes, we’re going to use the ts commands existing data and alter it slightly to create a new command.
First things first: let’s think up a new command name. We’ll go with tf, short for Twitter fetch (or maybe tu for Twitter user). Next, we’ll edit the URL string, changing it from: http://search.twitter.com/search?q=%s to http://search.twitter.com/search?q=from:%s. In Twitter terms, adding from: to a search will cause only tweets from that particular user to be returned. Finally, we update the commands description to say something like: Show a Twitter users latest tweets. Now we’re free to close the existing commands pane and go ahead with a tf search:

I’m releasing Peeq in beta form to collect suggestions and general feedback. If it proves popular, I’ll think about giving the project it’s own place on the web. For now, you can grab a copy here.