a-covar / s

Open a web search in your terminal.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

s

Web search from the terminal. Just opens your default browser.

Usage:
  s <query> [flags]

Flags:
  -l, --list-providers    list supported providers
  -p, --provider string   set search provider (default "google")
  -v, --verbose           display url when opening
      --version           display version

Examples

Search for puppies on google.

s puppies

Search for a wifi router on amazon

s -p amazon wifi router

Search for rhinos on wikipedia

s -p wikipedia rhinos

Supported Providers

  • amazon
  • bing
  • digg
  • dockerhub
  • duckduckgo
  • github
  • gist
  • go
  • google
  • npm
  • npmsearch
  • pinterest
  • reddit
  • soundcloud
  • stackoverflow
  • twitter
  • wikipedia
  • yahoo
  • youtube

Install

go get -v github.com/zquestz/s
cd $GOPATH/src/github.com/zquestz/s
make
make install

Advanced

Setup an alias in your .profile for your favorite providers.

alias sa="s -p amazon"
alias sw="s -p wikipedia"

Contributors

  • Josh Ellithorpe (zquestz)
  • Christian Petersen (fnky)
  • Preet Bhinder (mbhinder)

License

s is released under the MIT license.

About

Open a web search in your terminal.

License:MIT License


Languages

Language:Go 98.8%Language:Makefile 1.2%