Slashdot Log In
goosh, the Unofficial Google Shell
Posted by
kdawson
on Mon Jun 02, 2008 06:26 PM
from the land-a-gooshen dept.
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."
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
Loading... please wait.
Totally geeky (Score:5, Funny)
What is this junk? (Score:5, Funny)
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 [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.
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
http://www.lsfrais.be/ [lsfrais.be]
Next, I'm gonna try operators and regexes - but I don't have much hope.
Parent
Re:What is this junk? (Score:5, Informative)
Or type
open http://slashdot.org/ [slashdot.org]
Parent
Re: (Score:3, Informative)
Re:What is this junk? (Score:5, Funny)
Not saying this happened to me. It was.. erm.. a.. friend of mine.
Parent
Ironic... (Score:5, Funny)
Doesn't work with links [sourceforge.net] .
Parent
Re:Ironic... (Score:5, Funny)
Parent
Re:Ironic... (Score:5, Informative)
Parent
Re:What is this junk? (Score:5, Funny)
Parent
Re:What is this junk? (Score:5, Funny)
Parent
Re:What is this junk? (Score:5, Funny)
I'm not surprised. Check out the kernel it's running on.
guest@goosh.org:/web> uname -r
1) uname
The uname() function shall return a string naming the current system in the character array sysname. Similarly, nodename shall contain the name of this node
http://www.opengroup.org/onlinepubs/009695399/functions/uname.html [opengroup.org]
2) uname 1
http://www.freebsd.org/cgi/man.cgi?query=uname&sektion=1 [freebsd.org]
3) uname function.
uname is NOT in the ANSII library but is handy for getting system information. It will return handy things like:. System type (name). Host name (Nodename).
http://www.space.unibe.ch/comp_doc/c_manual/C/FUNCTIONS/uname.html [unibe.ch]
4) Unix man pages: uname (2)
UNAME(2) Linux Programmer's Manual UNAME(2) NAME uname - get name and information about current kernel SYNOPSIS #include int uname(struct
http://www.rt.com/man/uname.2.html [rt.com]
Parent
There will always be a command line (Score:3, Insightful)
Re:There will always be a command line (Score:5, Insightful)
Parent
Re:Totally geeky (Score:5, Interesting)
Parent
Re:Totally geeky (Score:5, Insightful)
Parent
Re:Totally geeky (Score:5, Informative)
$ 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.
Parent
Re:Totally geeky (Score:5, Informative)
http://www.emacswiki.org/cgi-bin/wiki/emacs-w3m#WThreeM [emacswiki.org]
Parent
Re:Totally geeky (Score:5, Funny)
Parent
Re:Totally geeky (Score:4, Informative)
Parent
Re:Totally geeky (Score:4, Informative)
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.
Parent
Re:Totally geeky (Score:5, Informative)
Parent
Re:Totally geeky (Score:5, Funny)
Click for definition of Goosh [urbandictionary.com]
Parent
Re:Totally geeky (Score:5, Funny)
Parent
Lynx (Score:4, Interesting)
Re: (Score:3, Insightful)
Re:Lynx (Score:5, Informative)
Parent
Re: (Score:3, Informative)
Some people prefer vi style of navigation through pages, myself included.
Re: (Score:3)
Re: (Score:3, Informative)
type in the number of the result you want.
to see more results type in more
try typing in help if your confused.
it's actually really clever. you don't have to remove your hands from the keyboard.
source code says (Score:3, Interesting)
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)
Error: Operation timed out (1212449383081).
Re:Whoops. (Score:5, Funny)
guest@goosh.org:/web> web penis
1) Human penis size - Wikipedia, the free encyclopedia
Human penis size refers to the length and width of human male genitalia. Interest in larger penis sizes has led to an industry devoted to penis enlargement.
http://en.wikipedia.org/wiki/Human_penis_size [wikipedia.org]
2) Penis - Wikipedia, the free encyclopedia
The penis (plural penises, penes) is an external sexual organ of certain biologically male organisms. The penis is a reproductive organ, technically an
http://en.wikipedia.org/wiki/Penis [wikipedia.org]
3) Things You Didn't Know About Your Penis, Interesting Facts That
(WebMD) Here are some things you might have wondered about your penis, but were
http://www.cbsnews.com/stories/2008/03/19/health/webmd/main3949777.shtml?source=mostpop_story [cbsnews.com]
4) YouTube - Is it a penis
ok first of all this is not my video, please to not think it is, i had recently seen it at my friends house and decided to upload it from www.funnyjunk.com!
http://www.youtube.com/watch?v=Q0sQA9ILZSU [youtube.com]
Parent
Slow and doesn't work on my mobile browser (Score:4, Informative)
So here: <bow></bow>
Re: (Score:3, Funny)
Re:Slow and doesn't work on my mobile browser (Score:5, Insightful)
Parent
Re:Slow and doesn't work on my mobile browser (Score:5, Informative)
As such, if by "google side project", you mean "an experimental project created by a google employee", I believe you may be wrong. It's some random hacker's side project, and it queries a google API, but that's the only resemblance to a "google side project" it bears.
Parent
Shells (Score:4, Interesting)
I'm kind of glad it didn't work... (Score:5, Funny)
guest@goosh.org:/web> help goosh
help: goosh
Error: command "goosh" not found.
Phew!
Check out JavaScript Shell... (Score:3, Interesting)
Aah, the world is a sane place again :) (Score:4, Funny)
help: woman
Error: command "woman" not found.
Not particularly useful (Score:5, Insightful)
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.
Re:Not particularly useful (Score:5, Informative)
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.
Parent
Konqueror (Score:4, Informative)
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.
Future explorer... (Score:5, Funny)
Um, you need to get out more.
Start small. Leave the basement for a day-trip to the garage or back yard....
I guess I'm missing something... (Score:5, Insightful)
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?
Call me when it supports regular expressions (Score:5, Insightful)
%> 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)
Re:Difference? (Score:4, Insightful)
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.
Parent
Re:Difference? (Score:4, Insightful)
Parent
Re:What about vi? (Score:5, Funny)
Parent