Woke up on Friday morning (read: lunchtime) after a to-4am code-a-thon with a startup project I'm working on, refreshed and ready to take a well-deservered early weekend of rest and relaxation.<p>:) Right.<p>Needless to say, the first thought I had when I woke up was "wouldn't it be cool if..." and the rest, as they say, is two days of pure hackery. I give you the end result: TweetSnap.<p>It's a really simple premise: enter your Twitter username, get an image back which you can put on your site to show your latest tweet.<p>It's designed for people who uses websites/etc which don't allow the typical "insert javascript snippet for AJAXy awesomeness" but does allow you to hotlink images (great example: forum signatures).<p>I haven't looked to see if anyone else has done this yet, mainly because I just did this for fun and I don't really care :) But try it out, give me your feedback. Temperamental results to be expected while on shared hosting :)<p>For the techies:<p>- Rails 2.1 w/ a minimalist MySQL DB<p>- Image generation done with RMagick 2.5<p>- XML parsing with Hpricot<p>- Message parsing a combo of htmlentities and a custom lib (supports characters like ø™¡)
The link you generate shoots back tweetsnap. People might want it to point to their twitter stream. This is an interesting tradeoff between what people would want and what will make this spread.<p>I think the solution is to make the tweetsnap link have a link to the user's twitter stream. For example:<p><pre><code> <a href="http://tweetsnap/twitter/tipjoy">
<img alt="Tipjoy" src="http://tweetsnap.com/twitter/show/tipjoy.png" />
</a>
</code></pre>
The href leads to a page that shows the same form to make your own tweetsnap widget, but the page could have a side bar that grabs the last few tweets from @tipjoy and a link to <a href="http://twitter.com/tipjoy" rel="nofollow">http://twitter.com/tipjoy</a>
Further expanding on what you've done there, what about doing "mood avatars" based off tweets? Essentially a mashup of Twistori/Tweetsnap?<p>What I'm thinking basically is, people can upload their normal avatars to your site, which you use as the backdrop for your image.. and based off emotions that they tweet (love, hate etc) it can overlay a translucent colour on it?<p>So in effect, changing the mood of someone's avatar, based off their Tweets?<p>Just a thought :)
This is a cool idea.<p>We had our fun with image hackery with featurelist. A lot of users discuss things on forums, etc, where they can't post javascript/flash, so we created little banners like this so users can get other people to vote for their feature requests:<p><a href="http://featurelist.org/widgets/feature_badge/513/banner.png" rel="nofollow">http://featurelist.org/widgets/feature_badge/513/banner.png</a>
nice work. not sure where but something like this was around when people thought Virb was cool and people needed images of their tweets as it didnt allow JS etc