code4lib 2015 is about to kick off in Portland this morning. Unfortunately I couldn’t make it this year, but I’m looking forward to watching the livestream over the next few days. Thanks so much to the conference organizers for setting up the livestream. The schedule has the details about who is speaking when.
As a little gift to real and virtual conference goers (mostly myself) I quickly created a little web app that will watch the Twitter stream for #c4l15 tweets, and keep track of which URLs people are talking about. You can see it running, at least while the conference is going here.
I’ve done this sort of thing in an ad hoc way with twarc and some scripts–mostly after (rather than during) an event. For example here’s a report of URLs mentioned during #dlfforum. But I wanted something a bit more dynamic. As usual the somewhat unkempt code is up on Github as a project named earls, in case you have ideas you’d like to try out.
earls is a node app that listens to
stream API for tweets mentioning
#c4l15. When it finds
one it then looks for 1 or more links in the tweet. Each link is fetched
(which also unshortens it), it tries to parse any HTML (thanks
cheerio) to find a
page title, and then stashes these details as well as the tweet in
When you load the page it will show you the latest counts for all URLs it has found so far. Unfortunately at the moment you need to reload the page to get an update. If I have time I will work on making it update live in the page with socket.io. earls could be used for other conferences, and ought to run pretty easily on heroku for free.
Oh, and you can see the JSON data here in case you have other ideas of things you’d like to do with the data.
Have a superb conference you crazy dreamers and doers!