7 ms·
The unofficial Google shell
- eneveu 15y agoThat's cool, but I like the Google Command Line interface even more: http://code.google.com/p/googlecl/ http://code.google.com/p/googlecl/ I was blown away the first time I edited Google doc using vim, hit ":wq" (save), and saw my changes reflected instantly in my browser, where I had opened the same document. The Oauth authentication was also pretty cool. Instead of asking for your Google credentials every time / saving them on your machine, the first GoogleCL use opens a browser window, prompts you to log into your Google Account, and asks you to authorize the Google CL client. You may then revoke this permission at any time (like any Oauth token).
- cygwin98 15y agoI played with googlecl for a bit and quite amazed by what it can do. However, in order to use vim as the editor, the user has to always append '--editor vim' to the command line, which feels a little awkward to me. I want more than that, say, it would be great that those google docs are actually files! A quick google search turns out there exists always a project doing that --- http://gdatafs.sourceforge.net/ http://gdatafs.sourceforge.net/ "Gdatafs is a FUSE implemtation that mount picassa web and youtube to your filesystem. An experimental implmentation of google docs is also avaiable in trunk. "
- eneveu 15y agoI think you can specify a default editor in the googlecl config file: http://code.google.com/p/googlecl/wiki/ConfigurationOptions http://code.google.com/p/googlecl/wiki/ConfigurationOptions You can also specify document-type specific editors ;) The beauty of googlecl is that, since it's a command line tool, you could always fall back on using a bash alias / bash function, if all else fails.
- simcop2387 15y agoWould certainly be nice if it listened to the EDITOR environment variable for a default :/
- eneveu 15y agoActually, now that I'm at home, I just tried it... and it does default to the EDITOR variable. Just tried it by setting the variable to vim and then to nano.
- cleverjake 15y agohttp://news.ycombinator.com/item?id=1025039 http://news.ycombinator.com/item?id=1025039
- mbesto 15y agoI take your repost and match it! http://news.ycombinator.com/item?id=206683 http://news.ycombinator.com/item?id=206683
- briancray 15y agoWow, we're forgetful, aren't we.
- zheng 15y agoHere's how I see reposts. I agree that people shouldn't just repost things because they were popular at one point, and they want the karma. However, realize that for people who weren't around when that was posted (over a year ago), this is pretty cool. There is also no way I would have ever thought "Hey, I wonder if there is a shell-esque interface to google? Oh, I bet HN will have a link about it! Let me go search!". So, I think when spaced out enough reposts are good. Over a year seems like long enough to me.
- apgwoz 15y agoI disagree. I want to see new stuff. There's plenty of worthy stuff that in /new that does't see the homepage because shit like this reappears every 6 months/1 year/whatever. edit: emphasized what kind of stuff in /new
- MikeCampo 15y agoWell new stuff to you might be old stuff to me. Unless you've looked at every single submission on this site, no need to complain. Just don't open the link or comments.
- 15y ago
- deleted 15y ago[deleted]
- JonnieCache 15y agoI love the use of the url fragment. Type some commands and hit the back button a few times.
- djacobs 15y agoVery cool. `man login` says that you only see the username we type in. How are you authenticating?
- JonnieCache 15y agoI'm guessing it all happens client side from the browser.
- pfarrell 15y agoI don't want to "guess" that. I'd like it really spelled out. I tried "login" and got a 500 from a debian server. I wouldn't send my credentials through some random server just because it was on HN. --edit: I was wrong, it wasn't a 500 error, it was a 404. I don't want to cast too much suspicion here, just making a point about being appropriately paranoid about giving out my creds. This site could be totally cool, I want it transparent to me before I login.
- elliottcarlson 15y agoI'm assuming it's trying to load an OAuth screen - but the page is broken so won't even work to begin with.
- warmfuzzykitten 15y agologin => 404 The requested URL /_ah/conflogin was not found on this server
- djacobs 15y agoWhile the client side has some login-related logic, it looks like authentication happens server-side. From the source: goosh.module.login = function () { this.name = "login"; this.aliases = new Array("login"); this.help = "login with your google account *"; this.helptext = "goosh sees only your username"; this.parameters = ""; this.cb = function (A, B) { if (goosh.ajax.iscontext(A)) { if (B && B != "guest") { goosh.lib.cookie.set("loggedin", "1", 365) } goosh.config.user = B; if (goosh.config.user != "guest") { goosh.gui.outln("You're logged in as: " + goosh.config.user + "<br/>"); goosh.set.init(); goosh.gui.updateprompt(); goosh.gui.showinput(); goosh.gui.focusinput(); goosh.gui.scroll() } else { goosh.ajax.query("http://goosh.appspot.com/dologin?") } goosh.gui.showinput(); goosh.gui.focusinput(); goosh.gui.scroll() } }; this.call = function (A) { goosh.ajax.query("http://goosh.appspot.com/ status?callback=goosh.modobj.login.cb") } }; goosh.modules.register("login");
- random42 15y agoPretty Awesome. I'd love it even more, if it had auto-complete on the command-line too.
- IVirOrfeo 15y agogoosh goosh goosh...
- xd 15y agoLooking at the svn repo (http://goosh.googlecode.com http://goosh.googlecode.com) this project is over 2 years old.
- moondowner 15y agoOr to be more precise, over 2 years not updated.
- keyle 15y agoWow I've been thinking of writing something very similar lately using nodejs and parsing the html (maybe using lynx --dump). But this is pretty much as good idea and blazing fast!
- kordless 15y agoLike this? https://github.com/fictivekin/webshell https://github.com/fictivekin/webshell
- briancray 15y agoFun
- Symmetry 15y agoYou might be a UNIX geek if: You type "cat news" and then are confused that the results involve felines.
- 13Psibies 15y agoor you fat finger "cat mews"
- hsmyers 15y agoAppeals to the inner command line in me. Needs a spell command to make it complete for me :)
- deleted 15y ago[deleted]
- lloeki 15y agoGah. "sudo make me a sandwich" returns actual results. There has to be a few easer eggs.
- tybris 15y agoI'm just shocked that something that uses a Google search API survived for more than 2 years.
- emwa 15y agotyped pwd got search results.
- jcasman 15y agoConfirmed. Same here. Also, options for ls don't seem implemented.
- MikeKusold 15y ago'su root' doesn't seem to work. It just shows search results. I'll file a bug report.
- hutushen222 15y agocool
- growt 15y agoHi, I made this some years ago. In fact it was the reason to sign up as a hacker news user :) I didn't had the time to update it, so some things are broken (login, auto complete). And the open source project never caught traction.
- ilazarte 15y agoIf it's unofficial its 'An' instead of 'The'
- chc 15y agoNot if there's only one unofficial entry in this field. "The" entails that the following noun phrase uniquely identifies something, not that it's been endorsed by some entity.
- deleted 15y ago[deleted]
- deleted 15y ago[deleted]
- JMKwins 15y agocool !
- Levi 15y agoI enjoyed this quite a bit. Set it as my new homepage.
- dhruvbird 15y agoI've made something like this for DuckDuckGo, but haven't released it since I want tab-completion (uses a static list for now). Will release as an official UI once DDG gets search suggestions. http://dhruvbird.com/tty.html http://dhruvbird.com/tty.html Edit: There is no GA tracking on this page even though I use to for my site (other pages) - to keep with the general privacy experience of DDG
- praeclarum 15y agoguest@goosh.org:/web> calculate 1 inch in m Error: could not calculate that. :-( fail. But still a really great concept!