Skip to content

A twitter bot that turns tweets into amazing (bad) haikus

License

Notifications You must be signed in to change notification settings

Triple3Apple/twitter-haiku-bot

Repository files navigation

twitter-haiku-bot

Twitter Haiku Bot Logo
Twitter Haiku Bot (@MakeBadHaiku)

BadHaikuBot is twitter bot that transforms a user specified tweet into a BAD haiku. The bot utilizes Tweepy, a python library used to access the Twitter API and another python library [SyllaPy] to analyze the syllables of each word. Once each word of the tweet is analyzed, the bot creates a Haiku following the rules of haiku (Proper sentence structure is not followed since random words are chosen based on occurence and how many syllables are required)

A Few Important Rules used to Make a Haiku:

  • A Haiku must consist of 3 lines
  • First line of a haiku has 5 syllables, second line has 7 syllables, third line has 5 syllables
  • Whole poem must contain 17 syllables
[More Info on Haikus]

How to Use:

  1. On twitter, find a tweet that you would like to transform into a haiku
    (Make sure that the tweet has more than 5 non-duplicate words)
  2. Click the Retweet button
  3. Then select Quote Retweet
  4. Finally add @MakeBadHaiku to the message of the Quote Retweet
  5. Click Tweet! (Haiku will be sent after ~ 1 minute)

GIF Below for Demonstration

Demo of how to create a bad haiku via the bot

More updates coming soon maybe...

About

A twitter bot that turns tweets into amazing (bad) haikus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages