Inspiration

Every good explanation has a drawing in it. Teachers draw the heart while they explain it. Engineers sketch the system while they walk you through it. But nobody can draw and talk at the same time, so we spend hours building slides instead, and the talk turns into reading bullet points.

We wanted the board to do the drawing, so the speaker can just talk.

What it does

Chalkify is a whiteboard that listens. You talk, and the board draws what you mean, live, as you say it.

  • Draws while you talk. Explain a payment flow and it sketches the phone, the server, the fraud check and the bank, left to right, in the order you describe them. Teach how the heart works and a labelled heart appears.
  • Plans before you speak. Drop in a script, a deck, a PDF, notes, or one line about the talk. Chalkify reads it in the browser and plans the points to cover and what to draw.
  • Follows the talk. A roadmap ticks itself off as you cover each point. Asides like "can everyone at the back see the board?" are left off the board.
  • Takes orders by voice. "Point out the fraud check" rings it in red. "Scratch that" takes the last drawing back. Short orders are matched in the browser and skip the model.
  • Lessons and product demos. A product demo is drawn in the product's brand colours, with an opening, a team intro and a closing.
  • Playback. Your voice and every stroke are recorded together. Play the talk back in the app, download it as one MP4, or share it as a read-only link.

How we built it

  1. The browser streams the mic to Deepgram (nova-3) with a short-lived token, so the key never reaches the browser.
  2. At each sentence end, the board sends what was said, recent context and what is already on the board to the server.
  3. The server asks a model with tool calling (draw a diagram, draw a sketch, write, connect, move the camera, erase). Any provider works: Gemini, Claude, or any OpenAI-compatible API. Calls are spread across keys and models, and a slow or busy one is covered by the next.
  4. Every plan is checked before anything is drawn. Steps that don't check out are dropped.
  5. The board draws on a tldraw canvas in one hand-drawn style (rough.js, a single-stroke handwriting font). Every animation is computed from time alone, so the MP4 export, made with WebCodecs and Mediabunny, shows exactly what was on screen.

Next.js 16, React 19 and TypeScript, Better Auth (Google sign-in), Drizzle on Neon Postgres, Cloudflare R2 for files, hosted on Vercel. The logic folders are held to 100% test coverage with Vitest, and the UI is tested end to end with Playwright.

Challenges we ran into

  • Speed. A drawing has to land while the sentence still matters. We run model calls in parallel lanes and hedge slow ones, and match simple orders without the model at all.
  • Keeping the board clean. Left alone, a model draws everything as one giant diagram. We wrote strict rules for when to grow a drawing and when to start a new one, and how much space and how many links a board can hold.
  • Knowing what not to draw. Asides, jokes and "can you hear me" shouldn't end up on the board.
  • An honest export. Animations that only exist in CSS vanish from a recorded video, so every motion (draw-in, camera glide, boil) had to be a pure function of time.

Accomplishments that we're proud of

  • It works live on production, from one sentence or a full deck.
  • Our launch film was recorded on the live site, with the narrator's voice played into the real board as its microphone. Nothing in it is mocked.
  • The MP4 export shows exactly what was on the board, in sync with the voice.

What we learned

  • Pictures beat words on a board. A drawing of the thing beats a labelled box.
  • Strict rules make a model far more watchable than a clever prompt.
  • Latency matters as much as drawing quality: a drawing has to arrive while the speaker is still on that point.

What's next for Chalkify

  • A much larger drawing library, so more ideas get a ready-made picture.
  • Faster drawings after each sentence.

Built With

Share this project:

Updates

Submission history