Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
web pipes for your browser's omnibar!
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
public add welcome page + opensearch.xml for auto setup
views add welcome page + opensearch.xml for auto setup
Gemfile add welcome page + opensearch.xml for auto setup
Gemfile.lock
Procfile
README.md add readme
omnipipe.rb goo.gl shortener + world's simplest web grep :-)
server.rb add welcome page + opensearch.xml for auto setup

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.