Skip to main content

Geckoboard and Google App Engine = Awesome!

So I've just completed my first Google App Engine python app....I can't begin to say how awesome App Engine is...I had the python and Google Apps SDK installed and a Hello World app deployed onto world class infrastructure in about 20 mins flat. Deployment, simple! Management, simple! Python coding...not so simple (yet!).

So after seeing how awesome it was I put it to good use and implemented an idea I had for the Geckoboard Number widget - a day countdown. I've already implemented this in MonitorWang so if you use this (does anybody? I've had nearly 200 downloads but not a single comment about it, not a single one, good, bad or indifferent!) you can plug your Geckoboard into that.

However a conversation with Hugo the other day piqued my interest in Google App Engine and this seemed the ideal thing to use it for.

Very simply you put the date to countdown to on the querystring and it returns the Geckoboard Number widget XML containing the number of days to go. This means you can add a widget with the number of days remaining to an important or milestone date - the example shown is "Days to Xmas" and this number should countdown everyday.

The url for your number widget is,

http://geckocountdown.appspot.com/?date=2010-12-25&tz=0

Where the date querystring param must be in the format yyyy-mm-dd and the tz param is your timezone offset in hours from GMT - this ensures that the number of days change at the correct time.

Enjoy! I'll be watching.....mwahhhaahaaahha - the mighty Google App Engine Dashboard will give me all the stats I need to see if you are using it! The free account is good for c. 5 MILLION, yes, MILLION hits a month so please don't be shy!

Comments

Richard Morrison said…
Just started using this at Owlstone - a good idea!

Popular posts from this blog

Walk-Thru: Using Wolfpack to automatically deploy and smoke test your system

First, some history... The advent of NuGet has revolutionised many many aspects of the .Net ecosystem; MyGet, Chocolatey & OctopusDeploy to name a few solutions building upon its success bring even more features to the table. I also spotted that NuGet could solve a problem I was having with my OSS System Monitoring software Wolfpack ; essentially this is a core application framework that uses plugins for extension ( Wolfpack Contrib ) but how to unify, standardise and streamline how these plugins are made available? NuGet to the rescue again - I wrapped the NuGet infrastructure (I deem NuGet to be so ubiquitous and stable that is has transcended into the software "infrastrucuture" hall of fame) with a new OSS project called Sidewinder . Sidewinder allows me to wrap all my little extension and plugins in NuGet packages and deploy them directly from the Wolfpack application - it even allows me to issue a new version of Wolfpack and have Wolfpack update itself, sweet huh

Configuration in .Net 2.0

11-Dec-2007 Update I've updated this post to fix the broken images and replaced them with inline text for the example xml and accompanying C# code. This post has been by far the most hit on this blog and along with the comments about the missing images I thought it was time to update it! Whilst recreating the examples below I zipped up the working source code and xml file and loaded this onto my Project Distributor site - please download it to get a full working custom configuration to play with! Just click on the CustomConfigExampleSource link on the right hand side, then the "Source" link to get the zip. We are in the process of converting our codebase to .Net 2.0. We've used Enterprise Library to great effect so decided that we should continue with this in the form of the Jan 2006 release which targets 2.0 and I've got the job of porting our Logging, Data Access etc wrappers to EntLib 2.0. ...And so far so good - the EntLib docs aren't bad and the migrati

Castle/Windsor schema enables Visual Studio intellisense

There has been a lot of noise recently about Inversion of Control (IoC) with .Net recently (stop sniggering at the back java guys!).... I've been using IoC via the Spring.NET framework for over 2 years now - it's a completely different approach to coding and once you get your head around it everything just falls into place and development is a real joy again. As I mention, Spring.NET is my framework of choice but a recent change in employer has seen me bump up against Castle/Windsor . First impressions are that I like it - it's not as powerful or feature rich as Spring but that's not always a bad thing! The one thing I did miss though was Visual Studio intellisense when editing the configurations - Spring has an online schema that can be associated with a Spring configuration. This got me thinking - if the VS intellisense can be hooked into that easily why not create one for Windsor configuration? So I did...you can download it from my new google code site here . Remem