Jake Worth

Ceramic Nation

September 11, 20151 min read

Last night I built a Markov-powered generated novel, called Ceramic Nation.

It’s wrapped as a robot named Ellis Champlin, who is diligently composing one chapter a day based on a corpus of classic public-domain novels and philosophy texts.

Here is the site:


And the source code:


This was an exercise in rapidly building an MVP on a couch, CSS, RSpec integration testing, Dev Ops-ing, and Markov-chaining. I’m curious what this bot will produce as the days go on, and am hoping for greatness. I plan to refine the logic slowly to produce better and better chapters, and rotate the source documents as I am inspired by new books and ideas.

A side goal is to break out the MarkovChain class into its own gem. That is a task I find myself repeating on side projects, and it would be nice to encapsulate the logic and release it to the open-source community.

Each week, I write an email about React. It's a collection of quotes, news, conference talks, and documentation curated be me to help you get up to speed on this exploding ecosystem. Join my subscribers today by subscribing to React Explained.

Jake Worth

I'm Jake Worth, a web developer. Home About Now Newsletter