Earlier document readers
- Read a document from beginning to end
- Support access, navigation and literal search
- Keep the reader inside a fixed sequence
Voice AI · Web app · Browser extension
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 interface began with one question: could a sheep chewing grass become a believable talking host?
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.
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.


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.
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.
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.
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.
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.
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.
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.

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.
| Host | Voice | What the file offered | How it talks, listens and thinks |
|---|---|---|---|
| Charon · deep, informative | Timeline animations only: chewing, breathing, blinking, ear flicks | The grass-chewing loop is scrubbed forward by voice loudness and settles closed between words. Stops chewing to listen; chews faster while thinking. | |
| Algenib · gravelly | State machine: Talk, Hear, success, fail | Talk 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. | |
| Gacrux · mature | A one-shot speak trigger, plus a 10-frame Talking loop | Skips the trigger and scrubs the Talking loop directly, so the mouth follows the speech. Eyebrows move while talking or thinking. | |
| Orus · firm | View model: isTalking, mouthWidth, mouthHeight, plus cursor tracking | Mouth 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. |




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.



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.


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);
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.
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.

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.
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
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
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.
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.
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.
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.
Measure response latency, verify grounded answers, inspect animation frame changes and test interruption, replay and host switching.
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.
Compare text-only, voice-only and animated-host versions using the same book and task rather than assuming that more modality is automatically better.
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.
The code is public at github.com/shriy-singh/baa-ook-club, without any API keys.
.env.local as GEMINI_API_KEY=…, then run npm install and npm run dev..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.