Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

web pipes for your browser's omnibar!

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 public
Octocat-spinner-32 views
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 Procfile
Octocat-spinner-32 README.md
Octocat-spinner-32 omnipipe.rb
Octocat-spinner-32 server.rb
README.md

Omnipipe

"What if the URL bar supported unix pipe semantics? ex: "http://longurl.com | bitly", "http://foo.cn | translate english", ..."

Demo @ http://omnipipe.herokuapp.com/

How does it work?

Unfortunately Chrome doesn't provide an API to listen to "url submit" events, but we can approximate what this functionality would "feel" like by creating and leveraging a custom search engine. This "search engine" simply takes in the URL and the pipe parameters as a query string, and then does the right thing.

Example commands

  • googl: Take the input URL, shorten it via goo.gl shortener and redirect me to the resulting page.
  • grep: World's simplest grep.. Download the page, walk over the content line by line and output matching lines.

For instructions on how to install & use, check http://omnipipe.herokuapp.com/

License

MIT License - Copyright (c) 2011 Ilya Grigorik

Something went wrong with that request. Please try again.