Voice AI · Web app · Browser extension

Baa-ook Club

Upload a PDF, choose an animated host, and talk the book through. Woolf the sheep listens, thinks and answers out loud from the pages you gave him.

The Baa-ook Club landing screen, with Woolf the animated sheep waiting in a sage-green reading room beside the four host choices.

The interface began with one question: could a sheep chewing grass become a believable talking host?

My role
Concept, product direction, interaction design, character system and implementation.
Core job
Turn passive document listening into a grounded, conversational reading experience.
Platforms
Responsive web app, installable PWA and public Firefox extension.
Stack
Gemini, Rive, Web Speech and Web Audio, built with Next.js.
Case-study path
01 · The idea

A place to talk a book over

When I finish a chapter, I want to talk about it. Book podcasts are one-way and rarely about my book. Chatbots can answer, but a wall of text is a cold companion for something you just spent an evening inside.

So the brief was: build a cozy, interactive place where you hand a book to a character, ask out loud, and hear an answer that comes from the book. Something you'd want to sit in for a while.

It started from a sheep. I had a Rive animation of a sheep chewing grass and wondered if that chewing could become talking. A sheep that "chews a chapter over" became the first host, and the place became Baa-ook Club.

02 · Principles

What cozy means for voice

03 · Designing for cozy

The first pass looked generic

My first version worked, but it looked like a thousand other AI demos: a dark brown background, an elegant serif, an amber accent and soft rounded pills. Nothing about it came from the characters, and nothing about it felt like a room you'd want to sit in.

The first version: a dark brown interface with a serif title and amber accents.
Before. Dark, polished and anonymous.
The redesigned interface: a soft sage room, cream paper panels with ink outlines, Woolf the sheep on stage.
After. Woolf's sage room, cream paper, ink outlines.

Let the characters set the style

  • Each host has their own room. The whole page takes on the host's colour and fades when you switch, so changing host feels like walking into a different room.
  • The type comes from the art. The headline face, Bowlby One, is the font inside the original sheep file.
  • Paper and ink. Panels are cream paper with warm ink outlines and soft offset shadows in a deeper shade of the room colour, like a picture book.
  • Gentle motion. Host tags tilt when you hover them, the mic breathes while listening, the on-air dot blinks. All of it turns off for people who prefer reduced motion.
Woolf · sage Frost · misty blue Silas · clay Pip · lavender
04 · The voice pipeline

Listen, think, speak

Baa-ook Club chains three steps: speech to text, a language model, then text to speech. A single speech-to-speech model would be faster, but this chain gave me what the experience needed: the whole book as context, a different voice and speaking style per host, and everything on a free tier.

Every Gemini call happens on the server, so the API key never reaches the browser.

05 · Latency and limits

Slow answers break the spell

Nothing kills coziness like waiting. My first build used gemini-3.8-flash, the obvious default. It took 46 seconds to answer a three-word prompt, and over three minutes for the first real question about the book. On the free tier it was unusable, however good its answers might have been.

So I measured the alternatives on the same prompt and the same book.

gemini-3.8-flash · "say hi"46.5 s
gemini-3.6-flash503 busy
gemini-3.5-flash-lite · book Q3–4 s
gemini-3.8-flash-tts · voice7.1 s
gemini-3.8-flash-lite-tts · voice4.5 s

Measured from my machine on Gemini's free tier, November 2026. Bars are relative to the 46.5 s case.

Flash-Lite answered in 3 to 4 seconds, stayed in character and quoted the right chapter, so it became the default. The lighter voice model saved another 2.5 seconds per answer.

Start talking before the whole answer is voiced

The app splits each answer into its first sentence and the rest, and sends both to the voice model at the same time. The short first sentence comes back first, so the host starts talking while the rest is still being generated.

Free has a ceiling

After a long day of testing, the voice model started refusing requests: the free tier's rate limit. The site handles it gracefully: the answer still appears in the show notes, with a plain "wait a minute" message instead of a broken host. A busier site would need a paid tier, or a fallback to the browser's own built-in voice.

Where it stands: about 3.5 s to the written answer, then roughly 5 s to the first spoken word. While that happens, the host visibly thinks: Woolf chews faster, Pip looks around. That suits a thoughtful book chat, but it isn't real-time conversation yet.

06 · Grounding

Honest hosts

Each host gets one system prompt with two halves: shared rules (stay in the book, write for the ear, keep it short, be honest about gaps) and a persona paragraph that changes per host.

The book goes to Gemini once through the Files API. Follow-up questions chain on previous_interaction_id, so Gemini keeps both the conversation and the document.

Switching hosts mid-chat keeps the conversation going. The new host gets one extra rule: you've taken over the show, so answer as yourself and don't mention the switch.

YouWho ended up getting caught in the second story, and why?

WoolfIn the second chapter, The Wolf in Sheep's Clothing, it's the wolf who ends up meeting a sticky end. He disguised himself in a forgotten sheep skin to sneak into the pasture… but the shepherd happened to want mutton broth that evening.

YouWhat does the book say about the three little pigs?

WoolfAh, settle down now, the book doesn't mention any pigs at all in these pages. We only have two chapters here… If you have any questions about those characters, I am all ears.

Real answers from testing, lightly trimmed. The test book was two public-domain Aesop fables.

07 · The hosts

Four hosts, four different rigs

Visitors pick who they talk to. Each host has a personality, a voice and a speaking style, so the same question about the same book gets a different kind of answer: calm, warm, theatrical or punchy.

The four hosts side by side, each in their own room colour: Woolf the sheep, Frost the yeti, Silas the storyteller, Pip the pixel blob.
All four are Rive community files under CC BY 4.0, by different artists. Credits at the bottom of the page.

One contract, four adapters

None of these files were made for this site, and each exposes different controls. The sheep has no inputs at all. The yeti has on/off switches. The storyteller has a single trigger. The blob has a data-bound view model.

So the site only ever says what the host is doing (idle, listening, thinking or speaking) and how loud the voice is right now. A small driver per character translates that into whatever its file understands.

HostVoiceWhat the file offeredHow it talks, listens and thinks
WoolfCharon · deep, informativeTimeline animations only: chewing, breathing, blinking, ear flicksThe grass-chewing loop is scrubbed forward by voice loudness and settles closed between words. Stops chewing to listen; chews faster while thinking.
FrostAlgenib · gravellyState machine: Talk, Hear, success, failTalk stays on while the voice is audible, with a short hold so it doesn't flicker. Hear raises a paw to his ear while the mic is on. Cheers when a book loads, winces at errors.
SilasGacrux · matureA one-shot speak trigger, plus a 10-frame Talking loopSkips the trigger and scrubs the Talking loop directly, so the mouth follows the speech. Eyebrows move while talking or thinking.
PipOrus · firmView model: isTalking, mouthWidth, mouthHeight, plus cursor trackingMouth height follows loudness directly, the closest to real lip sync. Looks around while thinking, looks up to listen, and follows your cursor the rest of the time.
Woolf the sheep's jaw moving as it talks
Woolf · chewing as talking
Frost the yeti talking
Frost · Talk switch
Silas the storyteller talking
Silas · scrubbed loop
Pip the pixel blob talking
Pip · mouth follows loudness

Most of the coziness is in the quiet moments

Talking is a small part of a visit. Most of the time the host is waiting, listening or thinking, and those states are what make the room feel lived in.

Woolf chewing grass slowly while idle
Idle. Woolf keeps chewing grass, like the original animation.
Frost cupping an ear while listening
Listening. Frost cups an ear while the mic is on.
Pip looking around while thinking
Thinking. Pip looks around while Gemini works.
08 · Behind the scenes

Turning a chewing sheep into a talking one

The sheep came as a poster: a tall artboard with a "MY SHEEP" title, fifteen timeline animations with Turkish names (gevis, chewing; nefes, breath; kirp, blink; kulak, ear) and no state machine inputs. I inspected it in the browser, listed every animation and its length, and worked out which ones could carry the character.

The full sheep artboard with the MY SHEEP title, and a dashed outline around the part the site shows.
The full artboard, and the crop the site shows. Rive's layout bounds place an artboard on the canvas rather than crop it, so the site draws the artboard larger than the canvas and shifts it.
Six frames of the chewing loop, showing the jaw shifting side to side.
One second of gevis, the chewing loop. Instead of playing it, the site scrubs it: the louder the voice, the faster the jaw moves, and it eases back to closed between words.
// Woolf's driver, simplified. Called every frame.
if (mode === "speaking") {
  if (level > 0.04) phase += dt * (1.1 + level * 3.5);
  else phase += (Math.round(phase) - phase) * dt * 12; // close between words
} else {
  phase += dt * (mode === "thinking" ? 1.15 : 0.6); // chewing grass
}
rive.scrub("gevis", phase % 1);

Finding hosts that could talk

For more hosts, I searched the Rive community for CC BY characters with mouth or talking controls, previewed six, and checked each file's license and controls before building anything. A red-haired avatar with twelve proper mouth shapes would have given the best lip sync, but it could only be downloaded with a Rive login, so it's parked for later.

Checking the work, not just eyeballing it

Every GIF here was recorded straight from the site's canvas. Before using each one, I decoded it and counted how many pixels changed between frames. That caught two silent failures a still screenshot would have hidden: a sheep that wasn't animating at all, and a Pip whose head ignored the values I set. Pip's head turned out to follow the pointer, so its driver now steers its gaze with gentle synthetic pointer moves.

09 · The visit

How a visit goes

  • Pick a host. The room changes colour to match them.
  • Hand them a book. Drop in a PDF. The host reads it and opens by naming the book and inviting questions.
  • Ask. Tap the mic (Chrome and Edge's built-in speech recognition, free) or type.
  • Listen. The stage gets a red ring and the tag reads On air. Stop cuts in; a new question also interrupts.
  • Show notes. A paper card keeps the conversation, tinted by which host said what, with replay on every answer.
The site on a phone, Pip on air in a lavender room, with all four host tags in one row.
On a phone, the host tags fit on one row and the show notes move below.
10 · Choices

What I chose not to do

The "best" modelgemini-3.8-flash is stronger on paper, but at 46 s or more per answer the experience fell apart. A fast, slightly smaller model that answers while you're still engaged beats a better one you've given up on.
Paid voice platformsElevenLabs-style agents give excellent lip-sync timing, but they charge per minute. Gemini TTS on the free tier sounds warm enough, and the per-host style prompt does a lot of the character work.
Characters without a mouthA jazz guitarist file I had was lovely but had no mouth animation, and an aquarium fish lived inside a whole tank scene. I picked files whose controls could honestly carry speech.
Fake lip syncNo canned talking loops. Every host's mouth follows the loudness of the audio actually playing, so silence looks like silence.
11 · Product context

From reading aloud to talking a book through

Baa-ook Club sits between two familiar product ideas: document readers that make text easier to access, and conversational AI that can respond to a question. The project asks what becomes possible when listening, grounded conversation and a visible character are treated as one reading experience.

Earlier document readers

  • Read a document from beginning to end
  • Support access, navigation and literal search
  • Keep the reader inside a fixed sequence

The conversational layer

  • Ask about the exact passage that matters now
  • Hear a grounded answer in a chosen host's voice
  • Continue with follow-up questions and replayable notes

The site became a browser extension

The hosted version is easy to try, but everyone shares one free-tier quota. The Firefox and Chromium extension builds let each reader bring their own Gemini key, keep it in browser storage and use the club without a shared account or shared quota.

Install the public Firefox add-on · See the extension source

Bring your own key

No account, analytics or ads. The key stays in this browser and is sent only to Gemini when the reader asks a question.

Firefox + Chromium builds
Retained

The useful spine of a document reader

Upload, listen, replay and a persistent transcript remain familiar enough that a reader can orient themselves quickly.

Why: novelty belongs in the conversation and character—not in making basic reading controls harder to find.

Changed

From linear playback to questions

The reader can move from “read this to me” to “help me understand this part,” then continue with a grounded follow-up.

Why: the product is designed around active sense-making rather than passive consumption.

Left out

Confident answers beyond the book

The host does not pretend that every question can be answered from the uploaded document.

Why: a visible, friendly character should increase engagement without quietly increasing misplaced trust.

12 · Validation

An evidence plan, not invented findings

I separate technical proof from usability evidence. The system checks below are part of the current build. Participant testing is the next research layer, so this case study records the questions and methods before it claims outcomes.

PHASE ACompleted

Does the system behave?

Measure response latency, verify grounded answers, inspect animation frame changes and test interruption, replay and host switching.

Evidence: timing comparisons, captured states and repeatable technical checks.
PHASE BNext study

Can a new reader find their way?

Observe first-time users as they add a key, choose a host, upload a PDF, ask a question and recover when the book does not contain the answer.

Look for: comprehension, hesitation, trust and moments that break the cozy-room metaphor.
PHASE CComparative

Does the character change the experience?

Compare text-only, voice-only and animated-host versions using the same book and task rather than assuming that more modality is automatically better.

Compare: perceived warmth, recall, effort, answer trust and willingness to continue.
13 · Next

What's next

14 · Process

How I worked with AI

I built this pairing with Claude Code. It wrote the code: the API routes, the character drivers and the capture tooling. I did the parts that decide whether it's any good:

The loop was: decide, build, measure or record, critique, fix. Measuring things like answer time and GIF frame changes, rather than eyeballing them, caught the slow model and the silently frozen characters.

15 · Build your own

Build your own

The code is public at github.com/shriy-singh/baa-ook-club, without any API keys.

  1. Get a free Gemini API key at aistudio.google.com/apikey.
  2. Clone the repo, put the key in .env.local as GEMINI_API_KEY=…, then run npm install and npm run dev.
  3. Open it in Chrome or Edge, pick a host and drop in a PDF.
  4. To add a host: put a .riv file in public/characters, add an entry to lib/characters.ts (persona, voice, room colour, crop), and write a small driver in components/Avatar.tsx that maps the four states onto that file's controls.