Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A streaming CLI for opening all URLs piped to it in a browser
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.md
package.json
tabexplode.js
test.txt

README.md

tabexplode

npm status dependency status stable

Simple streaming CLI to pipe a list of URLs to and they will open in your browser

Usage

Obtain a list of URLs somehow, say google's search API:

# pugbomb self
$ curl -sS "https://ajax.googleapis.com/ajax/services/search/images?v=1.0&q=pug&rsz=8"
  | json responseData.results
  | json -a unescapedUrl
  | tabexplode

# gif search
$ curl -sS "https://ajax.googleapis.com/ajax/services/search/images?v=1.0&as_filetype=gif&safe=off&q=gameofthrones%20sausage"
  | json responseData.results
  | json -a unescapedUrl
  | tabexplode

Note that these examples requires a globally installed jsontool.

Installation

$ npm install -g tabexplode

Running tests

$ cat test.txt | tabexplode

License

MIT-Licensed. See LICENSE file for details.

Something went wrong with that request. Please try again.