Git Product home page Git Product logo

omnipipe's Introduction

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

omnipipe's People

Contributors

igrigorik avatar

Stargazers

 avatar Angus H. avatar Aswini S avatar  avatar Tavis Rudd avatar Leandro López avatar Mathieu Ravaux avatar  avatar Joshua Hull avatar Régis Gaidot avatar Bryce Thornton avatar Andrew Nesbitt avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

dalavancloud

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.