work
Goosh.org Unix-like Google Command Line
Posted by Gina Trapani at 4:06 PM on June 3, 2008

Shell-lovers are going to flip for this one: Goosh.org, which bills itself "the unofficial google shell," puts a Unix-like command line interface to Google on a web page using the magic of Ajax. Head over to goosh.org and type any word to get Google search results back in a an ls-like listing. You can also search various other Google products and engines, like Google Images, News, Blogs, Video, Translate and the Wikipedia. Type help or h to get a full listing of possible goosh.org commands.

For example, search individual sites by using the in operator, like in lifehacker.com iTunes to search this site's archives for iTunes. Run an "I'm Feeling Lucky" search for a term simply using l. Or enter addengine to put goosh.org in your Firefox search box, go [URL] to open a link, or open [URL] to open a web site in a new window. There's also the intriguing load command that can "load an extension" by URL—what types of extensions we don't know, but we sure do like ourselves some extensibility.
While we're more apt to use Firefox's address bar as a web search command line for everyday use, goosh.org is undeniably cool.

Comments (AU Comments · US Comments)
There are currently no AU comments for this post.
nikrox
Posted 5:16 PM 3/6/08
Honestly what is the point of this? Can you seriously sift through a hundred thousand web page results on a ls style listing?
And how do you make sure you have the right video or the image or the music file that you searched for?
Is google losing it?
nikrox
qbix
Posted 5:05 PM 3/6/08
Now, if only it came in a dark color scheme. I'm still making this my new home page.
qbix
TonyAgudo
Posted 6:15 PM 3/6/08
@nikrox:Is google losing it?
It's not affiliated with Google in any way. It's an experiment more or less, somewhat similar to Yubnub. I kinda like it.
TonyAgudo
xenobyte72
Posted 7:01 PM 3/6/08
I like this, I can search for whimsical stuff at work and look like I'm working, if only I could use it to read blogs.
xenobyte72
remi
Posted 6:58 PM 3/6/08
I just don't get it. At first I was psyched when I read that it's 'text-only' but it's not. It opens webpages normally. I was hoping for a lynx-like HTML -> text view.
This is like yubnub except, instead of having > 20,000 commands, it has about a dozen.
I'm not a fan. All interested should check out yubnub ... a *social* command line for the web, so you can add your own commands etc etc.
Also, for all yubnub fans who aren't using rubnub yet, you should check it: [rubnub.org]
remi
andhapp
Posted 9:17 PM 3/6/08
@xenobyte72: Just use lynx for that....
andhapp
dave1010
Posted 9:05 PM 3/6/08
@xenobyte72: You can, kind of. To read LH's type:
b lifehacker
r 1
What would be really cool is if this was integrated with things like grep, awk, etc.
dave1010
gareth.pn
Posted 9:52 PM 3/6/08
It's useful if you are stuck on dial up while you are waiting for your cable company. I agree, you could use lynx if you want to download it via the dial up connection.
gareth.pn
coonj
Posted 10:06 PM 3/6/08
It's more for fun than functional. I don't like the static prompt... it seems like it could change, but then it doesn't
coonj
OX4
Posted 9:55 PM 3/6/08
Ha! You know, I kinda like it. "feeds washingtonpost" then to open the first link, you just type "open 1". It's easier on the eyes and it looks like you're working.
OX4
richvalsky
Posted 10:43 PM 3/6/08
I agree with dave1010.
If this you could pipe the results to grep, then this would be really useful.
ex:
web itunes |grep applescript
richvalsky
illflux
Posted 11:29 PM 3/6/08
I've always said, if there's one thing that Google search is missing, it's to be more difficult and cumbersome. Finally, a solution!
Honestly, I don't see why someone would prefer to use this, other than to show everybody how 133+ they are.
illflux
That_Eagle_Scout!
Posted 11:04 PM 3/6/08
@qbix: ditto its kinda blinding in the morning looking at this site on my behemoth LCD screen so early in the morning :) i wonder if it's has any userscripts to change it to a darker color scheme.....anybody know?
That_Eagle_Scout!
nicknackpaddyHack
Posted 12:05 AM 4/6/08
It is definitely not more useful than plain google.
But it is a good change from...well, PLAIN google.
nicknackpaddyHack
elightbo
Posted 12:30 AM 4/6/08
Personally, I feel that this is way more efficient than google's homepage. (Never thought that would be possible) I love that I can do everything through the keyboard.
Great find!
elightbo
codykniffen
Posted 12:26 AM 4/6/08
I'm a fan of anything that looks, acts or feels like a shell. Fun, but this is far from useful.
Either way, nice find.
codykniffen
ICEBreaker
Posted 12:25 AM 4/6/08
Wow this is so cool! I really love this.
From the comments above, I can see many disparaging remarks. Well, it's good that in this world we have choices and options.
People love command lines, not because it's fast and efficient (for those who are used to it), but also because it brings back a lot of nostalgia. Everyone who used computers since the 80s are command liners, and are used to that way of working.
For those who don't like command lines, they can use GUI/mouse. Choices.
ICEBreaker
four12
Posted 1:05 AM 4/6/08
This is insanely cool. I think I have a new homepage.
four12
AceSev3n
Posted 1:01 AM 4/6/08
This is great, I think its useful quick searches. I love being able to do anything from the keyboard.
AceSev3n
jglessner
Posted 12:55 AM 4/6/08
When I saw the article I first thought that someone had created a command line interface for google that you could download and use in your shell.
Now THAT would come in handy.
jglessner
JamesF1
Posted 1:41 AM 4/6/08
@qbix, @superbryant: I've just made a dark theme. Any suggestions/requests are more than welcome: [jamesburgess.co.uk]
I'll post it up on UserStyles.org when it'll actually let me register.
JamesF1
Yab
Posted 2:41 AM 4/6/08
This is actually pretty cool. Would be great if it could also work to fetch feeds, instead of simply redirecting you to them
Yab
Yab
Posted 3:34 AM 4/6/08
I've played a bit with it, installed JamesF1's theme, edited a littlebit the somewhat ugly colors, and I realized that if you bookmark :
[goosh.org]
As a sidebar bookmark, you get quite a nice search sidebar...
Yab
kli6891
Posted 4:06 AM 4/6/08
Hmm.... the site doesn't work on my computer. It always gives a "connection timed out" error.
kli6891
JamesF1
Posted 3:42 AM 4/6/08
@Yab: I guess colours are simply a matter of preference. Personally, I use those terminal colours (albeit, usually with some degree of transparency) on any and every system I can lay my hands on.
I'll try and add some more variations in the coming days :)
JamesF1
JamesF1
Posted 4:26 AM 4/6/08
@Yab: I fixed this shortly after the initial upload (you must have grabbed the download before I updated). :)
JamesF1
Yab
Posted 4:12 AM 4/6/08
@JamesF1: One edit I made to your theme that you should incorporate is change the text color of the inputb class to 666666
Or else, what you input will disapear from the command line (in the history)
Yab
Yab
Posted 4:10 AM 4/6/08
@JamesF1: One edit I made to your theme that you should incorporate is
.inputb{
color: #666666 !important;
}
Or else, what you input will disapear from the command line (in the history)
Yab
superbryant
Posted 6:14 AM 4/6/08
@JamesF1: nice thanks, much better, I usually keep my office dark till I'm fully awake and that site killed my eyes :)
superbryant
joelena
Posted 6:11 AM 4/6/08
@joelena:
Silly me, it's better with just one bookmark:
hxxp://goosh.org/?q=%s
so that you can type the alias of the command you want + your search term.
joelena
joelena
Posted 6:07 AM 4/6/08
@Yab: Thanks for showing me that you can make keyword bookmarks for any of goosh's functions:
search: hxxp://goosh.org/?q=s%20%s
images: hxxp://goosh.org/?q=i%20%s
maps: hxxp://goosh.org/?q=p%20%s
etc.
joelena
joelena
Posted 5:54 AM 4/6/08
My first thought was that it was interesting, but not useful. Then I tried some different searches, and I love it! Image searches and map searches are especially cool. It's too bad the "read" command result is limited to 4 items (and "more" does nothing), but at least it's a quick way to check on the 4 most recent recent posts of your favorite rss feed.
@jglessner: Someone made one for Linux [goose-search.sourceforge.net] and abandoned it 5 years ago.
joelena
nyxtom
Posted 2:57 AM 4/6/08
Woo, here's a snippet for a dark theme (it works :/ )
@namespace url([www.w3.org]);
@-moz-document domain("goosh.org") {
body,input {
background-color: #000;
color: #bbb;
}
#input, #prompt, #output, #less, .info, .less, {
color: #aaa;
}
}
nyxtom
morenus
Posted 2:30 AM 4/6/08
You can type:
web itunes | grep applescript
...but when you do, the "|" symbol doesn't pipe, it means "OR" to Google. That example is kind of bad, because it would be simpler just to type:
web itunes applescript
Anyway, if you really wanted to integrate goosh into a Unix-like shell, goosh would need a completely different interface. Instead of providing its own shell, it should provide a CLI (command line interface), to be used in your shell:
goosh -web 'itunes' -results 100 | grep applescript | wc
(Note that I added my own fantasy parameter, a way to get more than four results back at a time. Also, such a goosh CLI should return one result per line, rather than one result taking several lines.)
Overall, goosh is novel and clever, but the basic search doesn't really add value for me. I kind of like the "translate" command. Once you guess the two-letter abbreviations for each language, you can type:
translate en es Time flies like an arrow, but fruit flies like a banana.
The result: "El tiempo vuela como una flecha, pero las moscas de la fruta como un plátano."
(..."como" un platano? Oh well, not goosh's fault.) :-)
morenus
garbanzo-bean
Posted 5:24 PM 3/6/08
this is the coolest thing ever. i hope it never goes away.
garbanzo-bean
Bosambo
Posted 6:07 PM 3/6/08
@nikrox:
First, this is not a product by Google...it has nothing to do with them. Secondly, it gives the exacts same results as the same Google search. If what you're looking for doesn't pop up straight away type m, hit enter. Easy. It's not for everyone. I find I can now do everything from the keyboard in a single window. If I do a search and my result is the 5th one, I just type 5 hit enter and the page loads. I like.
Bosambo
Yab
Posted 9:44 AM 4/6/08
@joelena: Maybe that's just me being quite ignorant about web protocols, but I only get some forbidden mesages
Yab
joelena
Posted 12:13 PM 4/6/08
Use this url to make a keyword search bookmarklet for Goosh: [goosh.org]
@Yab: I wanted the text of the url to be visible, and I've seen others do it that way without offering an explanation, but I guess I should have mentioned that you should change "hxxp" to "http". I'd like a better way to avoid the link transformations in these comments - sometimes you'd rather show/see the text.
joelena
Yab
Posted 3:41 PM 4/6/08
@joelena: I knew about that, but even with http, I get the same Forbidden error.
And anyway, I don't know if it's firefox3 or lifehacker, but the hxxp gets automatically transformed to http when I click the link
Yab
joelena
Posted 9:30 PM 4/6/08
@Yab: OK, I get it - you can't just click the link. Either drag it to your bookmarks toolbar or otherwise create a new bookmark and set that as the url. Right-click on your new bookmark and give it a keyword (mine's gsh). Now you can type, "gsh s lifehacks" in your location bar to search google for "lifehacks", or "gsh i chimpanzee" to search for pictures of chimps.
See [lifehacker.com] for more on keyword bookmarks.
joelena
ariswadkar
Posted 3:44 AM 5/6/08
It maybe be more useful when they put more work into it. I can see it being used for a low speed mobile/dial up connection.
ariswadkar
wkudelt
Posted 7:25 AM 5/6/08
This site is great!!! Highly recommend as a "cool" way to search.
wkudelt
jebberwocky
Posted 6:38 PM 6/6/08
Put Goosh on Desktop
[macroselfian.ning.com]
jebberwocky
nikrox
Posted 10:23 PM 6/6/08
@Bosambo: Oh well, to each his own I guess :) I quiet like the existing stuff and using mouse is not a pain really.
@Tony: Yes I kinda figured it out later on. Some of these experiments do turn out interesting. Guess we would just have to watch and see.
nikrox