If I want to eliminate, or at least manage, distractions, it will be useful to know not just which sites I spend the most accumulated time visiting (MeeTimer already does a pretty good of showing me this), but also which sites I visit most frequently. Because MeeTimer stores all of its lovely date in an SQLite database it’s easy to get to it and create pretty graphs like this one…
Even better, lots of scripting languages have support for SQLite (I’m using Xampp as a convenient stack containing Apache PHP 5 and SQLite 3). After hacking around for a couple of hours, my nasty little PHP script was serving up this sort of thing:
MeeTimer lets you group URLs into different groups, so here those groups are displayed using different coloured rows. Yellow represents site’s I’ve grouped as ‘work’ (mainly work’s webmail address), so it’s easy to see that when I was working on my laptop at home on Friday, i.e. 2 days ago, I was accessing work webmail pretty constantly. I have a desktop at work, so on most days I don’t need to use webmail to check my email except for on the train on the way in and out, but for some reason I had it open for ages on Monday morning (i.e 6 days ago). Perhaps I was away from desk?
I’m also experimenting with alternative ways of displaying the history, including showing the favicons for certain sites.
Here I’m just showing the visits to about a dozen sites I seem to visit (very) regularly, e.g. Twitter, Gmail, Flickr, Google, Technorati, Feedburner, Google Reader, Delicious, etc. You can see that I habitually check Gmail about once per hour, and visit Twitter even more regularly than that.
The code for the DNA one is a bit specific to my groups, so I want to generalise that to work for all groups before I share it, but I’ve put the code on GitHub for the favicon one. It’ll probably only work in Firefox 2 or better. Canvas should work in Safari, but I’ve probably used Mozilla specific stuff for the text. This was a very quick hack, and there’s plenty of scope for enhancements, so let me know if you make any improvements.