Over the weekend I decided to try something new, so I dove into Sinatra and created a simple application.
It does some basic sentiment analysis (thank to this ruby gem) on some tweets and returns your score.
One thing that could be improved is connecting to the Twitter API which only returns 20 tweets. I’m wondering if I can bump that up… (Any ideas? I’m using the Twitter gem.)
Nick, why on earth would you create this useless application?
I found 3 reasons:
- The experience. I’d never touched Sinatra before, and creating the app taught me some new things.
- A ‘hack’ under my belt. A portfolio piece. Something to show people… Even if it is useless!
- Who knows, it may become popular. And if so, that may help with getting the next project off the ground.
It’s lacking in features at the moment, but I’ll get back to it later today. I plan to add leaderboards and the ability to challenge others with your happiness(!!!).
Let me know what you think! At the time of writing this, my ‘chirpscore’ is 2.72, which makes me a cheerful tweeter. I have yet to find an angry tweeter – I’ll be on the lookout.
UPDATE: Added leaderboards (limited to 5 per – Twitter rate limiting is already becoming an issue…).