发现一个酷站:goosh.org。它是一个搜索引擎,准确地说,应该是一个搜索引擎的shell。它以google的服务为基础,我们可以像使用命令行一样使用它。
进入之后,会有这样一个提示符:
guest@goosh.org:/web>这时你只要输入关键词,然后回车即可。此时前4个搜索结果就会显示出来。直接输入序号并回车,即能在新窗口中打开你想要的url。如果对搜索结果不满意,直接回车便会再给出4个结果。
查看更多功能请使用help命令。我们可以看到这样一张列表:
已经很详细了,应该不用多解释了吧?- Enter green commands without parameters to change default mode.
command aliases parameters function web (search,s,w) [keywords] google web search news (n) [keywords] google news search more (m) get more results blogs (blog,b) [keywords] google blog search read (rss,r) <url> read feed of url feeds (feed,f) [keywords] google feed search place (places,map,p) [address] google maps search translate (trans,t) [lang1] [lang2] <words> google translation images (image,i) [keywords] google image search video (videos,v) [keywords] google video search clear (c) clear the screen wiki (wikipedia) [keywords] wikipedia search help (man,h,?) [command] displays help text cd <command> change mode site (in) <url> <keywords> search in a specific website open (o) <url> open url in new window go (g) <url> open url lucky (l) [keywords] go directly to first result ls [command] lists commands addengine add goosh to firefox search box load <extension_url> load an extension calculate (calc) [mathematical expression] evaluate a mathematical expression settings (set) [name] [value] edit settings gmail (mail) [compose] read & write mail in gmail * login login with your google account * logout log out of goosh *
- Anything that's not a command will search in current default mode.
- Aliases will expand to commands. Numbers will expand to corresponding search results.
- Use cursor up and down for command history.
- Enter keyword and hit the tab-key for tab-completion.
- Commands marked with * are experimental, use them with care and please report any bugs.
这种shell的设计好处在于,它避免了鼠标与键盘切换过于频繁的麻烦(这同样是CLI的优势),而且我发现比起直接使用google搜索,其速度稍有提升。于是我就把它设为主页了。但正如其声明中所说,它毕竟是开发中的产品,可能还有许多不足之处,如果有兴趣,也请参与贡献。
项目主页http://code.google.com/p/goosh/
Goosh is written by Stefan Grothkopp <grothkopp@gmail.com>
It is NOT an official google product!
Goosh is open source under the Artistic License/GPL.