Contributing to society with an interactive, Twitter-based haiku generator.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Haiku Generator-4a140671aca6.json
README.md
[LOG] Twitter Song Requests.txt
[REF] Haiku Training Examples V0.1.txt
[SETUP] Haikuza.txt
_Diary of a Haikuza.txt
_haikuza.log
gsheets.py
gsheets.pyc
haiku_training.py
haiku_training.pyc
haikuza_main.py
haikuza_main.pyc
haikuza_main_rpi_20150717.2311.py
html_scraper.py
html_scraper.pyc
markov.py
markov.pyc
script_haikuza.log
syllable_counter.py
syllable_counter.pyc
test1.py
twitter.py
twitter.pyc

README.md

Project Haikuza

Contributing to society with an interactive, Twitter-based haiku generator. Visit @thehaikuza on Twitter for a demo!

Dependencies

  • NLTK
  • Twython
  • oauth2client
  • PyOpenSSL
  • lyrics
  • python-lxml
  • gspread

Features

  • Scrapes Virgin Radio's broadcast history to find recently played songs
  • Creates a song-based haiku queue in Google Sheets
  • Generates a haiku using the queue as a reference and posts it on Twitter
  • Checks for new tweets every 5 minutes and generates a relevant haiku, if requested
  • Finds all song lyrics from Lyrics Wikia
  • Runs on a Raspberry Pi

How to Use

Tweet '[SONG TITLE] by [ARTIST] #haikurequest @thehaikuza' to algorithmically generate a haiku with those lyrics. Or wait every hour to see a new haikua automatically generated.

Note: As of February 17, 2016, @thehaikuza is no longer live. The Raspberry Pi it lived on has moved on to host other projects!