Open your browser from terminal to search things
Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config_example
readme.md
search.go

readme.md

Search me

Open your browser from terminal to search things.

Usage

Syntax

search-me [engine] and things to search

Examples

search-me ddg vim screencast !yt
search-me google vim screencast
search-me vim screencast

Engines

  • main: http://google.com/
  • google: http://google.com/
  • ddg: https://duckduckgo.com/

Define your engines

See config_example. Feel free to place your favorite search engines to ~/.search.json:

engine-name http://example.com/?q=%s

Also, you can redefine main engine, that used for no engines matched. Just add to your ~/.search:

main http://best-search.ever/?q=%s

Aliases

You can alias your favorite engines. For example

alias ddg=search-me ddg
alias google=searh-me google
alias jquery=search-me jquery

Dotfiles

You can save your favorite search engines into dotfiles to never miss it!

Development

go get
go run search.go ddg adventure time !v