CWT Book Archive

The book archive interface, with book spines and speaker and subject filters.

I kept pausing Conversations with Tyler to write down book titles. Tyler Cowen and his guests mention books throughout their conversations, often with an observation that makes me want to read more. I built CWT Book Archive to collect those references and preserve what made them interesting: who discussed a book, what they said, and where to find the conversation.

The data

The foundation was a dataset connecting books to their appearances on the podcast. A book could come up in several episodes, under slightly different names, with different people expressing different opinions. I needed to bring those references together without losing their individual contexts.

I began with the episode transcripts. Scripts collected the pages and extracted possible work titles from italicized text, saving the surrounding passage and speaker information. Italics were a useful clue, but they also marked emphasis and titles of films or albums. The output was a set of candidates that still needed checking.

To turn those candidates into consistent records, I normalized title text and compared it with Google Books results. A matched record supplied a title, author, and identifier that could connect mentions across episodes. Different editions could still produce separate records, so I also reviewed duplicate candidates and merged confirmed duplicates. The aim was to give references to the same book a shared destination in the catalog.

A plausible match could still identify the wrong work. In one case, a passage about Miles Davis's album Miles Ahead became an entry for Miles Ahead: A Journey in Math and Engineering, a children's book. I removed that entry after checking the conversation. Language-model classification and manual corrections helped distinguish actual books from other works and catch mistaken identities. These checks continued as I processed the discussions; keeping the source passages alongside the matches made corrections possible.

Once references were linked to book records, I grouped passages by book, episode, and speaker. If one guest returned to a book several times in the same conversation, those passages could be considered together. Discussions by other speakers or in other episodes remained separate. Language models used these contexts to extract opinions and quotations. A passing mention could have no useful quotation, so I allowed that field to remain empty while preserving the speaker and episode link.

A separate classification pass assigned subject labels to the books for browsing. The final catalog combined book information, those labels, and the linked discussions. Scripts exported it into data files the website could load directly. Extraction, matching, and classification happened before publication; a reader's search worked against the prepared catalog.

Two episodes connect to one book while keeping their discussions separate. Review can correct the match; subject labels feed into the catalog.

The data work continued after launch. I found that an old rebuild could overwrite reviewed records with less complete data. The original pipeline had processed the backlog in batches; ongoing updates needed to preserve the cleanup already done. I added a workflow that processed new episodes separately, prepared their proposed changes, and checked them before applying them to the existing catalog.

The front end

The first interface gave readers access to the initial catalog. They could search for books mentioned by a person or about a subject, then open a book for its quotations and episode links. An illustrated desk, book stacks, and handwritten notes gave the search page its visual character.

The original CWT Book Archive homepage and a quotation about American Tabloid with its speaker and episode link.

Initially, discovery began with a search. I later added pages listing speaker names and subjects. Readers could scan the available names and topics, then choose one to see its books, without having to decide what to type first. These pages used the same catalog and led into the existing filtered results.

For the second version, I kept the same catalog and audience. I wanted a more physical, expressive browsing experience that still worked as a podcast companion. I began by adapting the 3D book model used by Stripe Press, then worked out how each catalog entry would supply its appearance.

The front used a real cover image. The generated spine combined the title and author with colors from the cover; the back used a muted blend of those colors. Page count provided an estimate of thickness, bounded to keep the model's shape workable. The result combined sourced imagery with generated surfaces and approximate dimensions.

The book databases I used did not always return usable cover images or page counts. Some images showed an interior page or the cover of another book. Some page counts described only a short preview; using those counts would make the 3D book too thin. I added checks for both inputs, with fallback artwork and estimated thickness when reliable data was unavailable.

Piranesi's sourced cover, generated back and spine, and assembled 3D model. Page count informs the estimated thickness.

In the redesigned collection, readers could combine speaker and subject filters, select a book, and view its description, speakers, and subjects. Opening a book moved it into the detail view; closing it returned it to its place in the collection.

Scaling that experience introduced a loading problem. The images mapped onto each 3D model—its textures—took time to download and occupied graphics memory. Artwork detailed enough for an opened book was expensive to use across the collection. Reducing every image equally would also make spine titles harder to read and weaken the close-up view.

Through further performance work, I separated those uses. The collection used compact textures, with sharper artwork retained for spine lettering and loading prioritized around the visible area. The detail view used higher-quality originals, which could load ahead of time for a book someone was likely to open. Browsing no longer required all the artwork needed for close inspection.