SpeakBack AI
Turn Learning into Understanding, and Understandin
Created on 29th October 2026
•
SpeakBack AI
Turn Learning into Understanding, and Understandin
The problem SpeakBack AI solves
I built SpeakBack AI because of something that kept happening to me: I'd watch a whole tutorial, feel like I got it, and then couldn't actually use any of it.
The problem
Learning material is everywhere: long videos, messy notes, too many tabs. The hard part isn't finding it. It's knowing where to start, what really matters, and how to apply it. And if English isn't your first language, it's even harder.
What SpeakBack AI does
You paste a tutorial transcript or your notes (or just dictate them by voice), and it turns them into a simple learning workspace:
- a clear summary and a beginner-friendly explanation
- the key concepts, plus common mistakes to avoid
- a step-by-step checklist you can actually follow
- a short quiz, so you know if you really understood
- follow-up questions you can ask about your own material, by typing or by voice
You can get everything in English, Hindi or Punjabi.
Why it matters
Most tools stop at the summary. SpeakBack AI goes further: understand it, do it, then check yourself. It's live right now, so you can try it at speakback-ai.vercel.app.
Understand tutorials. Take action. Learn by speaking.(https://x.com/SpeakBackAI/status/2116345476295610702?a=8R9bj95d0gvtm7PMhZE&s=20)
Challenges I ran into
- 🧠 Multi-Provider AI Fallback Without Hallucination
The biggest technical challenge was building a reliable AI pipeline that chains viaSocket AI → OpenAI → AIGI — and when all three fail, falls back to a "Grounded Demo Synthesizer" that never invents facts. We built a detectContentCategory() function using keyword fingerprinting to identify technical vs personal vs educational content — the fallback synthesizer switches its entire response structure based on content type.
Fix: Category-aware response templates, with explicit isDemoMode: true flags so the UI is always honest about what's AI-generated vs synthesized.
- 🎙️ Voice Layer: Three Fallbacks, One Seamless UX
Integrating Wispr Flow required handling: missing API keys (return 200 not 500), empty audio blobs, mic permission denials, and Wispr API errors with no body. We built a three-tier voice fallback: Wispr Flow API → Browser Web Speech API → text input. The UX never breaks. Getting this right across Chrome, Edge, and mobile browsers took ~6 hours.
- 🌐 Multilingual AI Responses in Hindi & Punjabi
Models would mix English mid-sentence, use overly formal Hindi, or fail to transliterate terminal commands. We crafted language-specific system prompts: "Use simple conversational Hindi. Keep npm, git commands in English. Explain them in Hindi." — 3+ hours of prompt engineering.
- 🔐 Supabase RLS + Admin RBAC in 48 Hours
We wrote a version-controlled SQL migration with is_admin() as a SECURITY DEFINER function, RLS policies enforcing auth.uid() = user_id, an admin audit log, and a bootstrap API — all without SUPABASE_SERVICE_ROLE_KEY ever touching the frontend bundle.
- ⚡ Next.js Middleware Auth Race Conditions
SSR had a timing window where the Supabase session cookie hadn't refreshed — kicking valid users to /login on reload. Fixed by switching to @supabase/ssr with proper cookie handling in middleware.
Every challenge made the product more reliable — we built a system that degrades gracefully at every layer.
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.
