Inspiration

Children often hear fictional bedtime stories, but many never meet the real people who changed the world. We wanted to make history feel magical without sacrificing truth.

Our idea: turn scientists, inventors, and creators into bedtime adventures that are emotionally engaging, age-friendly, and grounded in real events.

What it does

  • Lets users choose a historical figure and generate a multi-chapter story.
  • Streams story text in real time for a "live storytelling" experience. ## How we built it

Tech stack:

  • Next.js App Router + React + TypeScript
  • Google Gemini via @google/genai
  • SurrealDB for story version persistence ## Challenges we ran into Balancing historical accuracy with child-friendly, emotionally rich storytelling.
  • Designing prompts that maintain consistent structure across chapters while still feeling creative.
  • Coordinating streaming text, optional media generation, and smooth UI state transitions.

Accomplishments that we're proud of

  • Built a working end-to-end storytelling pipeline with live streaming output.
  • Added multimodal storytelling support: text, illustrations, and audio narration.
  • Enforced a history-first storytelling voice so stories are inspiring and educational.
  • Implemented story history/versioning in SurrealDB for replay and progression.

What we learned

  • Building multimodal AI features requires careful fallback handling and progressive enhancement. ## What's next for Eureka

More historical figures, regions, and underrepresented innovators.

  • Voice options and character-specific narration styles.
  • Classroom mode with discussion prompts and mini activities.
  • Stronger safety and factual validation layers for generated content.

Built With

Share this project:

Updates