Google Command interface launched
It had to happen, an official google application that provides access to google services via the command line. In April we showed you how to do this, the unofficial way using surfraw. Now you can do it with the blessing of the worlds most popular search engine company, Google
GoogleCL can be used to google the following services (examples shown):
- Blogger
$ google blogger post –title “foo” “command line posting” - Calendar
$ google calendar add “Lunch with Jim at noon tomorrow” - Contacts
$ google contacts list name,email > contacts.csv - Docs
$ google docs edit –title “Shopping list” - Picasa
$ google picasa create –album “Cat Photos” ~/photos/cats/*.jpg - Youtube
$ google youtube post –category Education killer_robots.avi
Unfortunately, the deb which was released yesterday, doesn’t automatically setup the terminal browser. You will have to do this yourself:
gedit /home/user/.googlecl/config
After running one of the services for the first time, the above config was created. I opened it with gedit and added
auth_browser = w3m
Which is the w3m text-based browser. There are a lot more services on the way, and one can only hope this is a sign of things to come. I can think of a number of Net services which could do with a CLI interface.
( Remember to fill in forms with w3m , to log into your google account, you have to hit the enter key.)
Please check the official development page site for the last update.
Please visit the official download page to download GoogleCL (You’ll find a nice deb there waiting for U8UNTU users!)
THANKS Panoet