dariusk / NaNoGenMo

National Novel Generation Month. Because.
183 stars 16 forks source link

Haikus from twitter #78

Open coleww opened 10 years ago

coleww commented 10 years ago

Getting into this for the home stretch! So I made this twitter bot a while ago: https://twitter.com/haiku_ebooks

Buuuuut then i started this webdev bootcamp and didn't have time to clean up the code or deploy it or anything. I managed to get it up and working on heroku yesterday, and at the rate it is currently running at it should have found 50k words worth of haikus by this time tomorrow.

At this point all I need to do is write a script that will pull down all the tweets from this account and put them into some sort of consumable format.

code is here: https://github.com/coleww/haiku_ebooks

coleww commented 10 years ago

snapshot posted here: https://gist.github.com/coleww/7713436

I think that due to rate limiting, I won't be able to grab enough tweets to complete this before the deadline :< But the haiku bot will live on!

juhana commented 10 years ago

Sorry a bit off topic, but the haiku bot would be better if it inserted line breaks between phrases so that they'd also look like haikus.

coleww commented 10 years ago

I prefer the retweet as a subtler way to interact with random strangers than doing a RT @___. Also the awkward line breaks annoy me too much, need to improve the haiku finding logic to avoid those first.