Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

goosh, the Unofficial Google Shell

Posted by kdawson on Mon Jun 02, 2008 06:26 PM
from the land-a-gooshen dept.
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."
+ -
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by Daimanta (1140543) on Monday June 02 2008, @06:27PM (#23632843) Journal
    Getting excited from old functionality in a commandline enviroment.
    • by Jeremiah Cornelius (137) * on Monday June 02 2008, @06:29PM (#23632877) Homepage Journal
      I tried it, and it is dissapointing from my point of view!

      guest@goosh.org:/web> ls *

          1) Lexus LS - Wikipedia, the free encyclopedia
      The long wheelbase LS 600h L is equipped with Lexus Hybrid Drive, .... [66] In the U.S., the Driver Monitoring System debuted on the LS 600h L sedan. [52] ...
      http://en.wikipedia.org/wiki/Lexus_LS [wikipedia.org]

          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/ [starrett.com]

          3) Livermore Software Technology Corporation
      10th International LS-DYNA Users Conference: June 8, 2008 - June 10, 2008. ... Register Now for the 2008 LS-DYNA Conference on our conference website: ...
      http://www.lstc.com/ [lstc.com]

          4) L.S. Frais - Excellence in Slicing and Packing
      LS Frais. your slicing partner ! Our company Our services Our products ... 2004 - 2008 LS Frais Contact | Legal | Roadmap | Awex | Sitemap | Jobs ...
      http://www.lsfrais.be/ [lsfrais.be]


      Next, I'm gonna try operators and regexes - but I don't have much hope.
    • Pointing and clicking is easy for some stuff, but the command line is still king for many purposes.
    • Re:Totally geeky (Score:5, Interesting)

      by vanyel (28049) * on Monday June 02 2008, @06:39PM (#23632979) Journal
      It is amazingly fast, you'd think it was a *real* command line environment: fast and efficient.
    • Re:Totally geeky (Score:5, Insightful)

      by Anonymous Coward on Monday June 02 2008, @06:48PM (#23633053)
      It kind of reveals some good UI design choices though. For example, why should the Google website have a textbox for the search input anyway? If you're at Google, all you'll type in will be for a search. So why not just capture all keyboard inputs into the search input box instead of requiring the user to ever explicitly click/tab and put the input field into focus?
      • Re:Totally geeky (Score:5, Informative)

        by martin-boundary (547041) on Monday June 02 2008, @07:15PM (#23633279)
        There's already a better choice for command line integration: try surfraw [debian.org]. This lets you stay within a real command shell such as bash, and just type

        $ google what I want to know

        You'll get the results directly in a browser of your choice. If you're like me, you have the browser set up as w3m [sourceforge.net], so that the google results simply appear in the same terminal where you can click on them. Since w3m is a pager like more and less, you can postprocess the google output, eg

        $ google hello | grep Cached
        www.hello.com/ - 2k - Cached - Similar pages
        www.hellomagazine.com/ - 32k - Cached - Similar pages
        www.hellomagazine.com/royalty/ - 27k - Cached - Similar pages
        en.wikipedia.org/wiki/Hello - 39k - Cached - Similar pages
        en.wikipedia.org/wiki/Hello_world_program - 32k - Cached - Similar pages
        www.elite.net/~runner/jennifers/hello.htm - 157k - Cached - Similar pages
        www.ipl.org/div/hello/ - 20k - Cached - Similar pages
        www.mylalaland.com/hello/ - 6k - Cached - Similar pages
        publicaddress.typepad.com/ - 58k - Cached - Similar pages
        www.sanrio.com/ - 10k - Cached - Similar pages

        Best of all , surfraw is not just limited to google, so you can have a complete shell browsing experience for a lot of different sites.

        • Re:Totally geeky (Score:5, Informative)

          by smitty_one_each (243267) * on Monday June 02 2008, @09:00PM (#23633969) Homepage Journal
          Also, w3m runs nicely as an inferior process under emacs.
          http://www.emacswiki.org/cgi-bin/wiki/emacs-w3m#WThreeM [emacswiki.org]
        • Re:Totally geeky (Score:4, Informative)

          by Dolda2000 (759023) <fredrikNO@SPAMdolda2000.com> on Monday June 02 2008, @11:56PM (#23634895) Homepage
          You may also want to try Vimperator [mozdev.org], a Firefox extension for controlling the browser entirely with the keyboard, with vi-like keybindings. It's not perfect, but I find it much more convenient than the standard mouse-driver interface.
          • Re:Totally geeky (Score:4, Informative)

            by dotancohen (1015143) on Tuesday June 03 2008, @01:41AM (#23635329) Homepage

            You may also want to try Vimperator [mozdev.org], a Firefox extension for controlling the browser entirely with the keyboard, with vi-like keybindings. It's not perfect, but I find it much more convenient than the standard mouse-driver interface.
            Vimperator really is a great product, I even donated to the developer recently. I am browsing with it now, and I am not a VI-junkie either. In fact, I now intend to learn VI because Vimperator has made browsing that much easier.

            My favorite features:
            * Best hit-a-hint implementation. There are other extensions that do this, but vimperator is the easiest to use on a laptop with no numpad.
            * j/k scrolling. This is so convenient that I don't understand why it is not the default
            * Cleaner interface. No menu, location bar, nothing but the status bar until you start a command.
            * Next/Previous buttons. Vimperator finds the "next" and "previous" links in webpages and follows them when you click ]] and [[.
            * I could go on and on.
      • Re:Totally geeky (Score:5, Informative)

        by nuzak (959558) on Monday June 02 2008, @07:29PM (#23633389) Journal
        Capturing all keyboard inputs would require javascript, and if you have that enabled for google, you'd have noticed it already sets the focus to the input box when loaded.
    • by Anonymous Coward on Monday June 02 2008, @07:09PM (#23633225)
      Ha ha.

      Click for definition of Goosh [urbandictionary.com]
    • by Dpaladin (890625) on Monday June 02 2008, @07:36PM (#23633433)
      I find that Linux users always Bash new shells, to be honest.
  • Lynx (Score:4, Interesting)

    by FST (766202) on Monday June 02 2008, @06:28PM (#23632855) Journal
    In all seriousness, why not just use Lynx if you want text only?
  • source code says (Score:3, Interesting)

    by LordMyren (15499) on Monday June 02 2008, @06:29PM (#23632879) Homepage
    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 [wikipedia.org]
  • Whoops. (Score:5, Funny)

    by Anonymous Coward on Monday June 02 2008, @06:30PM (#23632891)

    guest@goosh.org:/web> web penis
    Error: Operation timed out (1212449383081).
    I broke it.
  • by garcia (6573) on Monday June 02 2008, @06:35PM (#23632935) Homepage
    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> :)
  • Shells (Score:4, Interesting)

    by ucblockhead (63650) on Monday June 02 2008, @06:38PM (#23632965) Homepage Journal
    I'd be more impressed if it were an actual shell.
  • by gardyloo (512791) on Monday June 02 2008, @06:41PM (#23633001)
    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!
  • by Anik315 (585913) <anik@alphaco r . n et> on Monday June 02 2008, @06:50PM (#23633065)
    You can actually take something like JavaScript Shell [squarefree.com] 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 )
  • guest@goosh.org:/web> man woman

    help: woman

    Error: command "woman" not found.
  • by Zouden (232738) on Monday June 02 2008, @06:59PM (#23633143)
    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.
    • by martin-boundary (547041) on Monday June 02 2008, @10:10PM (#23634389)
      I posted this in another comment already, but here's a version with more details: if you use surfraw and w3m together, you can essentially have clickable google results inside an xterm, and a first class piping mechanism. You might have to change the color scheme in w3m if it clashes with your *term settings, or just try this out in a plain vanilla black and white terminal.

      apt-get install surfraw w3m

      export PATH=$PATH:/usr/lib/surfraw

      export SURFRAW_graphical=no

      export SURFRAW_browser=/usr/bin/w3m

      export SURFRAW_text_browser=/usr/bin/w3m

      export SURFRAW_graphical_browser=/usr/bin/iceweasel

      export SURFRAW_graphical_remote=yes

      google hello # (clickable results "in" the terminal)

      google slashdot | grep Cached | head

      slashdot.org/ - 76k - Cached - Similar pages
      slashdot.org/bookmark.pl?url - 13k - Cached - Similar pages
      en.wikipedia.org/wiki/Slashdot - 83k - Cached - Similar pages
      en.wikipedia.org/wiki/Slashdot_effect - 34k - Cached - Similar pages
      Cached - Similar pages
      yro.slashdot.org/ - 44k - Cached - Similar pages
      yro.slashdot.org/yro/07/05/02/0235228.shtml - 451k - Cached - Similar pages
      hardware.slashdot.org/ - 40k - Cached - Similar pages
      Cached - Similar pages
      politics.slashdot.org/ - 45k - Cached - Similar pages

      It's also possible to write some scripts so that w3m can open new terminals when clicking a link, and if you cannot live without images inside a terminal, there's the w3m-img package you can install.

      I also like to use w3mman as the system man pager, which lets me click on urls and file paths referenced inside a man page.

  • Konqueror (Score:4, Informative)

    by slashqwerty (1099091) on Monday June 02 2008, @07:03PM (#23633175)
    Konqueror [konqueror.org] has this functionality built into the location bar. To search Google, just type "gg: search phrase". To search wikipedia, type "wp: search phrase". Forgot what Moore's law is? "fd:Moore's law". Someone created a new search engine? You can add your own shortcuts.

    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.

  • by fahrbot-bot (874524) on Monday June 02 2008, @07:16PM (#23633291)
    This is quite possibly the coolest thing I've seen in a good while.

    Um, you need to get out more.

    Start small. Leave the basement for a day-trip to the garage or back yard....

  • by afabbro (33948) on Monday June 02 2008, @08:17PM (#23633681)

    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?

  • by phreakhead (881388) on Monday June 02 2008, @08:45PM (#23633857) Homepage
    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!
  • DON'T (Score:4, Funny)

    by MrKaos (858439) on Monday June 02 2008, @10:55PM (#23634651) Journal
    rm -rf /

    • Re:Difference? (Score:4, Insightful)

      by sveard (1076275) on Monday June 02 2008, @07:36PM (#23633431) Homepage
      There are other comments on this story that show the same sentiment: "why use this when we've got a terminal (with a few scripts)"

      Are these posted by the same people who say that Open Source's strength lies in its diversity?

      We should applaud the effort that has gone into this project, even though it may not be equally useful to everyone.
    • Re:Difference? (Score:4, Insightful)

      by Frosty Piss (770223) on Monday June 02 2008, @07:49PM (#23633511)

      What's the difference between this and bash with a few handwritten scripts to grab results?
      The difference is that this guy has already written the "few handwritten scripts" (as opposed to machine written scripts?), so I don't have to.