Well tonight I finished hacking together my first attempt at a Ruby on Rails-based application.

Basically what I built was a clone of the *wars (ala kittenwars) site where you put images head to head and allow the viewer to vote. Not to be shy about ripping off ideas, I also borrowed the CC-licenced theme for wordpress.

It’s called FlickrWars! and the twist is that it uses Flickr as the image store allowing me to change the photosets/tags/user photos on the fly. Could be interesting if it ever goes live but it is really just a simple proof of concept.

What it supports:
- voting
- viewing of last X photos
- list of top ranked photos
- list of bottom ranked photos
- most viewed photos

Images are currently randomly placed against each other. Could easily just grab photos from a particular tag. Already thinking about a tag interface where the user could add tags to the system and a new tag would be chosen every X minutes.

All in all the project satisfied my short-term goal of building something with RoR and briefly touching the Flickr API. I didn’t really have much exposure to Ruby previously but I’ll be digging into it more moving forward.

I’ll attach a couple of screenshots to this post. The code is pretty rough and I’ll be cleaning it up over the next few days. Perhaps when its a little more polished I’ll find somewhere to put it online.

FlickrWars01

FlickrWars02


  1. Chintan

    Hey Adam, well I have searched high and low for a wordpress plugin that does exactly this. Any chance you have since 2005 turned this into a usable format for us novice coders or better still a plugin for WP?

    Congrats on your first ROR piece no doubt you are a pro in 2007 :)

Leave a Comment




  • Windows Live Writer isn’t bad Until recently, the bulk of my writing was done on a Mac using Ecto.  I was looking for a suitable publishing tool for Windows and was directed towards ...

  • Pet Peeve: Don’t email my password to me in plain text You know the drill. Signup for some random service on the internet Receive a confirmation email with your account information or Forget a password for some random service ...

  • Eclipise Memory Analyzer (MAT) I must say the Eclipse Memory Analyzer looks pretty slick. There is some pretty good material over on the developers blog. Lastly, there was a talk on it ...

  • Open-source Web-based Code Review Tool: Rietveld Guido van Rossum, of Python fame, has recently released a Django-based application that enables web-based code reviews... Rietveld. It supports any language and currently can hook into Subversion repositories. You ...

  • An implementation of the JVM in Javascript? Caught this over on JavaPosse Google Groups. Essentially, some bright fellows over in Japan have developed a bytecode->javascript compiler. There's a demo floating around that took a Tetris ...