A robot pulls headlines from major news organizations around the internet and creates markov chains out of their headlines to create super shitty news. This was built in about 24hours so pardon some bits of messy code :P
What happens if a robot writes the news? Headlines these days are so over the top and ridiculous at times that I thought it would be interesting to see what happens when you feed a robot all of these sources and let it write the headlines.
Sometimes the headlines are hilarious, sometimes sad, sometimes they make no sense at all. You will notice how the news cycle works in 24 hours periods, stories will sometimes repeate, this is because the selected news sources are posting the same stories over and over again for clicks and attention.
- Friends on Twitter
- Shitty click bait websites all over
- cd into project directory
vagrant up( You will need vagrant installed )
- This will create your environment running Nginx + Unicorn as well as run all rake and bundle tasks needed
- You can view locally @
- You can read more about using vagrant + puppet + nginx & unicorn here
- If front end is your thing check out the
frontenddirectory for some hotness there.
rake db:seedThis only needs to be run the first time, and if new sources are added
rake scrape_feeds:scrapethis will take a second
- Check it out!