A locally hosted replacement for Yubnub
Create the file ".webcmd.json" in your home directory with content similar to this:
{
"g": "https://www.google.com/search?q=%s",
"wp": "https://en.wikipedia.org/?search=%s",
"gim": "https://www.google.com/search?q=%s&um=1&ie=UTF-8&hl=en&tbm=isch",
"twits": "https://twitter.com/#!/search/%s"
}
Then start webcmd.rb
. Add a new search engine in your browser, with the url
http://localhost:8000/?q=%s
(the exact syntax might be different, this is
an example for Google Chrome)
Now you can use "g cats" to search for "cats" on google, or "wp dogs" to search for dogs on Wikipedia.
You can stop the server by using the server:stop
command. Type server:help
to see all available commands.