Greg Hewgill (ghewgill) wrote,
Greg Hewgill

goosh extension

I saw goosh the other day, which is a prototype pseudo-commandline interface to the web. It seemed to be missing a dictionary lookup function, but did appear to have an extension load function.

So I had a look at the goosh source javascript, which had a comment that pointed to a plugin example, which is a snippet of unformatted code with no docs. With a bit of poking around and experimentation, I managed to create a plugin that looks up words on wiktionary.

To try this out, go to goosh and type:> load

Then, use the dict command (or wiktionary or d as listed in the help) to open the wiktionary page for the given word in a new window.

Perhaps there will be a way to load a goosh extension in a persistent way so you don't have to reload it every time you reload goosh itself.


  • 2013 in review

    2013 is the year when everything changed. The biggest event was the birth of our daughter Lily. She was born prematurely in Shanghai while we…

  • 2012 in review

    2012 has been fairly quiet. Maybe it just seems that way because I haven't actually written anything new in this blog since last year's annual…

  • new photo galleries

    I've been busy processing photo galleries from the last year (or two) and putting them online for your perusal. Vancouver 2010 Northland…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded