Inspiration

Every child deserves access to the world's greatest teachers. A child in Karachi or Mississauga shouldn't learn differently than one in Manhattan. The original Bayt al-Hikma in Baghdad welcomed scholars of every faith and language — we built a digital version of that.

What it does

House of Wisdom is an AI-powered K-12 learning platform where students learn directly from 27 historical scholar personas — Socrates, Ibn Sina, Hypatia, Aryabhata, Shakespeare, Mirza Ghalib, Maududi, and more. Each scholar teaches through Socratic dialogue, never giving answers directly but guiding students to discover them. The platform features 12,960 structured lessons across 6 subjects and 12 grade levels, bilingual English/Urdu support with Nastaliq rendering, a Classroom Mode with grade-adaptive UI and checkpoint questions, a Quran learning section with SM-2 spaced repetition and word-by-word tafsir, and a parent dashboard. Built in 15 days, solo, using Gemini API.

How we built it

Next.js 15, Gemini API (gemini-2.0-flash), Supabase, Vercel, Prisma, Tailwind CSS. Each scholar has a hand-crafted persona with opening rituals, emotional mirroring, session memory, and subject boundaries. The curriculum generates 12,960 lessons deterministically by grade, subject, week, and day. Bilingual support uses a ref mirror pattern to enforce language consistency across all Gemini calls. Google TTS powers scholar voices in both English and Urdu (Wavenet).

Challenges we ran into

Rendering Nastaliq Urdu RTL correctly in a Next.js app. Keeping 27 distinct scholar voices consistent without hallucination. Building grade-adaptive UI — Grade 1 is colorful and large, Grade 10 is refined scholarly — in a single codebase. Shipping a production-ready bilingual platform with real users in 15 days solo.

Accomplishments that we're proud of

Real users. Donation-based revenue via Stripe. 27 scholar personas. 12,960 structured lessons. Bilingual EN/UR with Nastaliq. Quran memorization with SM-2 spaced repetition. A 5-step Discovery learning flow for Quran comprehension. Built solo in 15 days.

What we learned

Gemini's instruction-following is strong enough to hold complex personas across long sessions. Cultural authenticity matters — parents notice when an AI gets it right. Bilingual support is not just translation; it requires separate voice maps, RTL layout logic, and language enforcement at the API level.

What's next for HOUSE OF WISDOM

Launch in GTA schools Q4 2026. Build toward Karachi with offline-first support for low-bandwidth environments. Open API for teachers to create custom scholar personas. Arabic recitation review with tajweed feedback. Hindi and Mandarin support to reach 500M+ more students.

Built With

  • gemini-api
  • google-tts
  • next.js
  • prisma
  • supabase
  • tailwind-css
  • typescript
  • vercel
Share this project:

Updates

posted an update

What's next: Expanding to Greater Toronto Area schools and building toward Karachi. Opening an API for teachers to create custom scholar personas for their own classrooms.

Real students. Real sessions. Built solo in 15 days on Gemini API. Try it at houseof-wisdom.com

Log in or sign up for Devpost to join the conversation.

posted an update

Quran learning deepened: Added word-by-word Urdu meanings, harakat matching for recitation review, and SM-2 spaced repetition for memorization. Bilingual EN/UR with Nastaliq rendering throughout.

The Maududi Understand tab now walks students through a 5-step Discovery flow — listen, see the words, reflect, reveal meaning, then discuss with the scholar persona.

Log in or sign up for Devpost to join the conversation.

posted an update

Post-submission update: RLS security hardened across all 40 database tables. Platform now production-ready with full Row-Level Security policies.

New this week: Quran recitation review UX with harakat matching, word-by-word Urdu meanings, and SM-2 spaced repetition for memorization.

Active users growing. Live at houseof-wisdom.com

Log in or sign up for Devpost to join the conversation.