The S3 stuff looks pretty integrated with the main code though, might be tough to abstract it out.
Nonetheless, this is a great app. I've been pondering making something like this for a while.
I'm just getting an 'Access Denied. Please make sure the user attached to the access key has access to [bucket]' error when running local.html from local or the bucket.
Kudos to you for open-sourcing. You also write great code that's well-commented.