goosh, the Unofficial Google Shell
ohxten writes "Stefan Grothkopp has come up with a pretty neat tool called goosh. It's essentially a browser-oriented, shell-like interface that allows you to quickly search Google (and images and news) and Wikipedia and get information in a text-only format. This is quite possibly the coolest thing I've seen in a good while."
Getting excited from old functionality in a commandline enviroment.
Knowledge is power. Knowledge shared is power lost.
In all seriousness, why not just use Lynx if you want text only?
46487 466780 252994 376409 96920 39622 205366 244315 622115 512361 668040 63608 259203 955314 811176 652718 166330 23922
I tried it, and it is dissapointing from my point of view!
.... [66] In the U.S., the Driver Monitoring System debuted on the LS 600h L sedan. [52] ...
...
... Register Now for the 2008 LS-DYNA Conference on our conference website: ...
... 2004 - 2008 LS Frais Contact | Legal | Roadmap | Awex | Sitemap | Jobs ...
guest@goosh.org:/web> ls *
1) Lexus LS - Wikipedia, the free encyclopedia
The long wheelbase LS 600h L is equipped with Lexus Hybrid Drive,
http://en.wikipedia.org/wiki/Lexus_LS
2) Quality Precision Innovation... since 1880 - The L.S. Starrett Company
Manufactures more than 5000 variations of precision tools, gages, measuring instruments, saw blades for industrial, professional and consumer markets
http://www.starrett.com/
3) Livermore Software Technology Corporation
10th International LS-DYNA Users Conference: June 8, 2008 - June 10, 2008.
http://www.lstc.com/
4) L.S. Frais - Excellence in Slicing and Packing
LS Frais. your slicing partner ! Our company Our services Our products
http://www.lsfrais.be/
Next, I'm gonna try operators and regexes - but I don't have much hope.
"Flyin' in just a sweet place,
Never been known to fail..."
source code says "readable" source code will be posted soon.
i await that.
theres a lot of cool text interfaces happening on the web. theres in browser vi (jsvi), and source code editors like CodeMirror, CodePress, and more[1]. all very cool!
[1] http://en.wikipedia.org/wiki/Comparison_of_Javascript-based_source_code_editors
Don't search google at all. Do something else !! For christs sake, do something else !!
Error: Operation timed out (1212449383081). I broke it.
What's the difference between this and bash with a few handwritten scripts to grab results? (Other than a local bash shell being more functional than the webpage)
My UID is prime... is yours?
The response time is extremely quick and the functionality is more then sufficient for my needs at least.
Pointing and clicking is easy for some stuff, but the command line is still king for many purposes.
Engineering is the art of compromise.
Create an interactive site, then post it to slashdot. Anyone opening book on how long the server will last?
upon the advice of my lawyer, i have no sig at this time
So I loaded it and watched it work -- reminiscent of ANSI BBSs but with AJAX instead. It was quick on my laptop but on my mobile device it took longer to load that Google did itself and while I could enter search terms I couldn't submit them. But it's in BETA and it's a Google side project so we should all bow before its greatness.
:)
So here: <bow></bow>
"rm -rf /" is still not working!
Bravo!
When can we expect a vi editor for this environment? ('cause everbody knows its not complete until it supports vi...)
I'd be more impressed if it were an actual shell.
The cake is a pie
How does it search Google images when it's text only? Is there an ASCII art module built in, or something?
... ASCII goatse isn't nearly as shocking as the real thing, which is a bonus.
Actually, hmm, that'd be pretty damn cool,
I do a lot of my work day in a shell, but when I'm just tooling around browsing the web I prefer a GUI... I guess it makes it feel more like entertainment to me when it's more visually appealing :)
Procrastinators, Unite Tomorrow!!
That'd be nice to have a usable bash shell via web interface, for those times when we have access to a kiosk etc that has a web browser but no terminal/ssh. With the right web page we could ssh into our machine at home.
I work for the Department of Redundancy Department.
Just tried it. Wanted to read its documentation. Realized too late that 'man goosh' was a really poor choice of phrase, but just got
guest@goosh.org:/web> help goosh
help: goosh
Error: command "goosh" not found.
Phew!
This sounds precisely like why I've never agreed to the google eula. I.e. if I wanted to write my own wrapper around google using wget and bash, I'd be violating their EULA TOS. Wheras without ever getting a gmail account or the like, I never have to click the EULA, and thus have never signed away my rights to perform automated queries.
I tried some old ms-dos commands like format c: but it seemed unaffected. How unfortunate that all I got was search results.
You can actually take something like JavaScript Shell and add JSON based query features to it. This would allow things like command line based search, news... etc and has the advantage of using JavaScript as command syntax. You can write JavaScript functions to access and manipulate JSON variables. (easier said than done, from someone whose done it )
Now all this guy needs to do is add some features, like text to speech, speech to text, remembering old searches to build a meta-agent program.... and of course it can't be a good text program without the ability to read mail. Right?
Oh, and include images and video!
Then we'd have... google.com!
Okay, I use Kubuntu 8.05,Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008050509 Firefox/3.0b5 with: /. works...WTF? /. in 'noscript', and have excepted /. from noscript and ad block, but still cannot read my messages...WTF?!!!
/. community's knowledge and wisdom as to WTF????
Adblock +, and filterset, Noscript, and flashblock in Firefox3.
Why can I not view replies to 'messages'? all I get is a blank page. Everything else on
I have tried enabling
It is frustrating because the ONLY thing I cannot do is read my messages! (thus reply in a timely fashion!)
I now have to resort to crawling in on my knees and ask of the
How can I fix this?
I did not have this problem with Kubuntu Fiesty and FireFox ver.2xxx, but definitely have this constantly now.
HELP!!!!Plz! I am NOT in ur computer wanting cheezburgersand LOL!
Down With Slashdot BETA!!! I've been around the corner and seen the oliphant; you can only abuse me from your perspecti
guest@goosh.org:/web> man woman
help: woman
Error: command "woman" not found.
http://www.zombieapocalypse.tv/
that gives you a list of commands. From there you can do h or even man .
As the island of our knowledge grows, so does the shore of our ignorance.
Ive tested it and i can say it now: pure beauty.
I need this as a bash-completion plugin. I need it NOW, NOW, NOW.
NO SIG
Totally my new home page now. Since half my web searches start with me using a Google keyword search in Firefox anyway, this is just that much better. Wow. Now it just needs "open in new tab," which I'm sure will come about in short order...
"Time flies like an arrow; fruit flies like a banana." --Groucho Marx
One of the biggest advantages of a command-line interface is that you can pipe programs together and create a workflow. You can't do that with this since it's just a command-line imitation in a web browser.
So no neat things like piping the images from an imagesearch.
Secondly, a mouse is still going to be required when you browse to one of the sites returned in the search, so this interface is only useful while you're actually searching.
It's cool, but really only as a novelty.
"A week in the lab saves an hour in the library"
fuckin thing SUCKS
For Full command line emulation, you should be able to put the command into a query string: "http://www.goosh.com/?s slashdot"
Seriously cool stuff
You can even set a default search engine. In that case anything that doesn't look like a valid URL goes to the default search engine. To top that off, you can select text, then middle-click on the background and it will be just like tossing the text into the location bar and pressing return. You can select a phrase from a web page and middle click to instantly run a web search on the phrase. It's one of Konqueror's coolest features.
I'd been excited in the 1990s about a browser growing to include all commandline functionality. Netscape started a project called "XMLterm" which used the browser to send commandlines to the local or a remote host, then display the output in the browser. Which showed some results as clickable icons in that resulting page. But the project never produced a usable release, and seemed to die sometime before Netscape itself turned into Mozilla and then Firefox.
But XMLterm lives! Someone's completing the project. I'm really psyched to see this system work. And even more psyched for the possibility that it could support different "Web APIs" at different hosts it connect to, different DOMs and other object models, perhaps with mappings to some grand unified object model (and browser for it). It seems like a great way to implement a client for goosh, this Google shell.
That would be really cool, and finally start to transcend some of the "CLI vs GUI" ghettoes we've stuck ourselves in. Or at least give the GUI people most of the CLI stuff, except its pure simplicity. Which, as a GUI person who uses CLIs all day long, sounds great to me.
--
make install -not war
I guess it would be pretty exciting if we hadn't had Yubnub (yubnub.org) for years.
I can go :o creative pcbs or :o wikipedia 13th floor elevators, etc etc.
:o :open :o[pen][!] [arg1], [arg2], â¦
/etc/fstab shows the file system table. ../other/foo.html in your home directory opens /home/other/foo.html
:dialog searchengines.
:open -tags linux torvalds to complete bookmarks with tag "linux" and which contain "torvalds". Note that -tags support is only available for tab completion, not for the actual command. The items which are completed on are specified in the 'complete' option. Without argument, reloads the current page. Without argument but with !, reloads the current page skipping the cache.
From the help page:
o
o
Open one or more URLs in the current tab. Multiple URLs can be separated with ", ". Note that the space after the comma is required. Each token is analyzed and in this order:
1.
Opened as a local file if it is an existing relative or absolute filename.
*:open
*:open
2.
Opened with the specified search engine if the token looks like a search string and the first word is the name of a search engine (:open wikipedia linus torvalds opens the Wikipedia entry for linus torvalds). The short name of a search engine is automatically guessed from its name. If you want to set a custom name, you can change it with
3.
Opened with the default search engine or keyword (specified with the 'defsearch' option) if the first word is no search engine (:open linus torvalds opens a Google search for linux torvalds).
4.
Passed directly to Firefox in all other cases (:open www.osnews.com, www.slashdot.org opens OSNews in the current, and Slashdot in a new background tab).
You can use
*years* ago, most of us were doing this same type of thing from a commandline with lynx/links.
If you like this, you'll probably like surfraw too
http://surfraw.alioth.debian.org/
All the goodness of goosh without the need for X or a browser
I actually added some of the handlers years ago, but I found that eventually Google searchbox was able to do many of them for me directly - like "quote intc" , "ufo site=cnn.com", etc.
I created my own handlers (elvii) for internal intranet use to do all sorts of mundane queries from the commandline with ease. Its amazing how excited people get when you give them a commandline way to do really quick web queries and get results with minimal CSS/ads/formatting junk.
Come on, they make something as geeky as this and neglect Google Code Search? For shame!
I'm suprised you are not all "gooshing" in excitement. Its like Google portable.
How amazed would you be to suddenly find that you just forgot what I wrote and you needed to reread my post.... again.
according to urban dictionary, goosh is a slang term for vagina. in fact, it's the first entry for a google search of 'goosh'
Um, you need to get out more.
Start small. Leave the basement for a day-trip to the garage or back yard....
It must have been something you assimilated. . . .
#! /bin/sh
links "http://www.google.com/search?q=$*"
----
Usage: g QUERY
surfraw for the web browser.
LYNX!
Doesn't work with links .
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Comment removed based on user account deletion
You can do what you described with ANY search box with Firefox. Right click on the box you want to be searching in and hit 'add a keyword to this search', and you can add what ever shortcut(s) you want.
Some of mine:
wiki (wikipedia)
g, goog, google (google)
gi (google image search)
d, dict (dictionary)
y, yt, youtube (youtube)
etc.
does all that jazz too. It's called 'keywords'.
See e.g. http://www.mozilla.org/docs/end-user/keywords.html
porn : like web porn -fet ( fetishes) porn - tee ( teens) porn - ggw ( google gone wild) so on .......
Yubnub http://www.yubnub.org/ did it before and better, but still poorly. Obviously this type of thing should run client side and should be truly scriptable. Yubnub gives a taste of the what can be done (try http://yubnub.org/example/split?type=t&urls=http%3A%2F%2Fimages.google.com%2Fimages%3Fq%3Dporsche+http%3A%2F%2Fimages.search.yahoo.com%2Fsearch%2Fimages%3Fp%3Dporsche+http%3A%2F%2Fwww.flickr.com%2Fphotos%2Fsearch%2Ftext%3Aporsche) but it's limitations become apparent quickly, the foremost being that you are limited to the command constructs provided by the server. Also, some commands run code from third-party servers which seems a monstrously dangerous idea. The other quality that is lacking is parsing of the returned output. You should be able to do things like query imdb and extract the actors in a movie and pipe them to some other command or process.
where's sudo; i want to be root
Wow. That was fucked up. Like, really fucked up. I know that I should have known better, but... wow.
How are sites slashdotted when nobody reads TFAs?
There is also surfraw http://surfraw.alioth.debian.org/ which is a great idea but somehow does not aspire greatly enough.
$ uname -a 1) uname 1 http://www.freebsd.org/cgi/man.cgi?query=uname&sektion=1
I had the pleasure once of logging into and working on an ancient PDP-11/73 running 4.2BSD hooked up to an actual line printer/teletype machine. The noise was deafening, and kind of sexy. This web page needs a sound effect option for maximum retro verisimilitude.
Da Blog
I can type in search terms and get the results from Google. And...
Um...
How is this something I couldn't do before? I can certainly do this on my own (real) command line - surfraw has been mentioned, and a perl script and the Google API (or even without it) means "getting a list of links for a search term from google" is not exactly unknown.
It has a cute CLI-like interface, but not really. "This google-interface behaves similar to a unix-shell." Um, no, not really. It's a cute interface, but not a real shell by any stretch...
So what am I missing?
Advice: on VPS providers
and exactly what is wrong with using google from a browser? Too much trouble to click the mouse over to a browser window? Sit all night until 4:00am clicking the mouse at some meaningless icon in a game but can't move the mouse and click at work. Are we starting a fire so we can use our water here or what?
On a somewhat related note, Google is experimenting with vi keyboard shortcuts for their search interface. You can test it at labs.google.com/experimental.
guest@goosh.org:/web> web bush
Error: Operation timed out (1212457328772).
guest@goosh.org:/web> lucky bush
Error: Operation timed out (1212457338196).
guest@goosh.org:/web> images bush
Error: Operation timed out (1212457346518).
guest@goosh.org:/web> wiki bush
Error: Operation timed out (1212457353991).
guest@goosh.org:/web> news bush
Error: Operation timed out (1212457361272).
guest@goosh.org:/web> blogs bush
Error: Operation timed out (1212457369081).
guest@goosh.org:/web> video bush
Error: Operation timed out (1212457377082).
I like being able to circumvent force feeding:
It gives me a different set of results compared to when I use google directly; I'm in australia so google queries always get answered by google.com.au rather than google.com.
It returns subtly different answers. Might be handy for residents in paranoid nations.
All they have to do is to combine it with:
emacs == gooemacs
sed == goosed
or
vi == goovi
Sig this!
Now all we need is the OoshKoosh shell to come around. And then the text ads by Goooooosh.
This is really sad. It's not UNIX until I can type
%> search "lindsay lohan\'s (boobs|tits|chest|underwear|bank account.*[0-9]+)"
Now if it was a real shell binary that you could run IN UNIX then I might be slightly impressed. I could make this "shell" in 10 lines of CSS!
Just tried it and getting everything timing out... yay for the SlashDot effect!
Disclaimer: The above comment was made while under the influence of too much coding and not enough sleep.
What makes this so cool? There are so many other, more efficient, ways of doing something so simple.
i can use this to parse with easily in my own apps
From goosh.org/goosh.js:
------
If you want to extend goosh.org, please take a look at the load command.
You can see an example module at http://goosh.org/ext/spon.js
Code of an extension: (indented properly)
------
function search_spon() {
this.name = "spon";
this.aliases = new Array("spon","spiegel");
this.mode = true; this.help = "search in spiegel.de";
this.call = function(args) {
this.start = 0; this.args = "site:www.spiegel.de "+args.join(" ");
this.query("web",this.args);
}
this.next = function() {
this.start += 4;
if(this.args)
this.query("web",this.args);
}
this.render = function(context, results, status, details, unused) {
if(results && results.results != "")
this.hasmore = true;
else
this.hasmore = false;
this.renderResult(context, results, status, details, unused);
}
}
register_searcher("spon","web");
So in other words, we've come full circle and invented gopher, archie, and WAIS.
"It is our blasphemy which has made us great, and will sustain us, and which the gods secretly admire in us." - Zelazny
echo './google ${1} | html2text' >g2t
chmod 700 google g2t
--
make install -not war
Goosh is a process control library for guile.
http://arglist.com/guile/
I've been using goosh for years.
Stefan Grothkopp: go away and find your own God damned project name - not ours.
g query in the address line will take you directly to the Google search results. There's a lot of similar shorcuts for other sites - y for Yahoo!, a for Amazon, etc...
/. :)
And nothing beats opening Slashdot with
Comment removed based on user account deletion
I'm sick of everyone talking crap on goosh. Goosh freaking rocks! I'm seriously quite amused by it. And it really is easier to type your search in to goosh and then just type the number of whatever result you want to see. It's quicker and cleaner and everyone saying "It's nothing like a real shell" completely missed the point. Props to Stefan Grothkopp.
fun
My ism, it's full of beliefs.
$ sudo ku
Password:
sudo: ku: command not found
$ _
Useful features of goosh that you might not have noticed:
- as you do searches, the previous search results stay on your screen and you can scroll up to see them - excellent for performing several similar searches
- use the up and down arrow keys to navigate through your command history (previous searches, page open commands, etc) - great for fixing typos or when realising that previous keywords were the best ones
- use the digits next to each link to open that link: "o 1 ENTER" to go to the first result (you've probably all worked that out already, but just in case...)
I'll certainly give this a look.
I suspect the majority of casual Google users really couldn't care less, though.
If each mistake being made is a new one, then progress is being made.
SZERVÃC Attila
SZERVÃC Attila -
Turn off image loading in your browser, ...
or use lynx and get the same result
"Gosh" indeed...
I don't see how this is "neat" or "cool" at all. I've already had this functionality in my location bar for many years...
It even has tab-completion!
you can't search for 'help' ... i need help...
One step closer..!
Nice idea, but I like the SQL interface better.
OS Reviews: Free and Open Source Software
A lot of planning and thought would have gone into creating this page. It might not be directly useful as others point out. But, this is a lesson for any web developer on how to use available tools to create a webpage, the way one wants.
I salute Mr. Grothkopp and agree with the poster that it is the coolest thing I have seen recently.
yAthum UrE yAvarum kELir All the places are our place, everybody is our kin. (A Tamil Poet - 2000 years ago)
So, urbandictionary says it might not be the best name to choose.
But seriously, if one atleast could telnet to their server or something, it'd be useful for something!
guest@goosh.org:/web> translate en fr dog | search translating "dog | search" from "en" to "fr": "chien | Rechercher" Doesn't quite work as it should.
"XML is like violence. If it doesn't solve your problem, use more." - Anonymous Coward
This website breaks the back button which is one of the highest sins a website can commit in my opinion.
I want to do a search, but don't care about the actual results, only how many total hits there are. You know, the "of about 42,000,000" part of the regular page. How do I get that info through this interface?
The slashdot crowd is getting worse then windows Users. "It's not really a shell, It doesn't work like google", Reminds me of "But it doesn't look like windows". We should be thanking people for sharing their creative ideas with us. By the way I love goosh
This is a nice UNIX-like-but-not-really interface that the Windows masses can use from IE. It gives the feeling of being a computer geek without having to grow your hair, wear socks and sandals, and move to Seattle.
Not to discount the effort that went into this, it looks like a fun thing to code.
:)
Still, Konqueror has web shortcuts. gg: is a google search, ggi: an image search, wp: a wikipedia search etc etc etc. There is a load of preexisting ones and you can add more yourself.
Then, you also have http://www.google.com/experimental/#BetaShortcuts ; it is pure bliss and I have modified my gg*: web shortcuts to append &esrch=BetaShortcuts to all queries.
Try it, you might like it
Ahh...just discovered one big downside. In firefox under Linux I can't search for something by pasting it (with the middle mouse) as, unlike with a text box, firefox assumes I'm pasting a url...bummer.
I noticed the same sort of thing creating an ebay auction some time ago...their fancy ajax text entry (unless I'm missing something) seems to defy any form of text pasting (as it's not an actual text box or text area).
this toy I have called a Web Browser... It actually shows all this stuff graphically...
Serioously, though, this seems kind of ridiculous to me. I can do most of this stuff in firefox, thanks to bookmark keywords. If I want to do a google search, I go to the address bar and type: g . If I want to do a wiki search, I type: wiki . If I want to do a google image search: gi
All the speed of command-line typing with the bonus of rendered HTML output. I think I'll stick with what I have.
We have a lightspeed router at the school district that I work at that we use to enforce "Safe Search" for various grant compliances. This morning I had to block goosh because there doesn't seem to be any filtering at all.. too bad, I kinda like the lightning quickness of the interface..
I keep getting "Error: Operation timed out" when I try to run a search.
Prisencolinensinainciusol. Ol Rait!
Of course, this is only geeky, but not useful. Yubnub is useful. I advice you to set is as a default search engine in your browser (in opera, use search.ini). For instance, I use "y gbs foo" to search for "for" using Google Blog Search.
http://yubnub.org/
yubnub.org has been doing this for years
I think its a pretty neat idea. Reminds me of good ol lynx.
This is the coolest. It's my new home page, maybe...
Jedis are stupid. If they were so powerful, why couldn't they handle counseling for a kid who missed his mom?
lucky porn
I dare you!
Its the integrated concept, packaging and execution that counts even if the individual pieces already exist. This guy actually *did* something and made it available rather than complain about other peoples work on the Internet.
And just because something is not perfect doesn't mean that its crap.
The reflexive cynicism and unctuous dismissal of these types of creative hacks are one of the more annoying characteristics of the Slashdot community.
Nifty, cool and geeky. True, true, but when will finally vigoogle come?
Troll 2.0 Fear my asocial networking!
Too bad it doesn't seem to work in Firefox 3 RC1. It just times out on the search.
What is it with you people and images?
President/CEO Pacy World http://www.pacyworld.com
I'm not sure Google will be very happy about this thing, since it doesn't show any of their ads, effectively providing the service completely for free (every time you look at an ad, that's technically revenue for Google from you).
Does this in any way violate Google's EULA?
This space up for sale.
You'd better try this addon https://addons.mozilla.org/en-US/firefox/addon/2517 if you are using mozilla.
I don't understand most comments here but again I'm not a unix / linux massive user. Goosh is not meant to be a real shell obviously, only a text driven interface to launch some google actions and it does that very well, fast and efficiently on any platform. I constantly use it for translations of words and short sentences now. Great work as far as I am concerned