This repository uses cobe and CanvasText. Thank you to the devs who made them available.
This repository was used to make the bot in this article on Fusion.net, as well as a how-to guide here. If you provide it with the material, it will generate a bot to respond to you with markov chains using that material. The repository as-is is optimized to live on a Heroku server, with javascript delivering results to the browser window.
In order to get it to work, you will need to replace the contents of total.txt with your own text corpus, then use cobe to generate a new cobe.brain. If you don't do that, it will keep using my crappy deo text.
I hope it's helpful.