An interactive storytelling app for young children that generates personalized stories and reads them aloud word-by-word, helping kids learn to read while having fun.
StoryBuddy creates an engaging reading experience for children by:
- Generating age-appropriate stories based on simple prompts
- Reading stories aloud with word-by-word audio highlighting
- Providing visual feedback with emojis and animations
- Making reading practice fun and interactive
Built for a hackathon as a minimum presentable product to demonstrate AI-powered educational tools for early childhood literacy.
Backend:
- FastAPI (Python)
- WebSocket for real-time audio streaming
Frontend:
- React (vanilla JSX)
- CSS3 for animations and styling
APIs:
- Google Gemini API - Story generation and reading evaluation
- ElevenLabs API - Text-to-speech with word-level audio
Other:
- Audio caching for improved performance
- Word-by-word playback synchronization
- Install dependencies:
pip install -r requirements.txt- Set up environment variables:
GEMINI_API_KEY- Your Google Gemini API keyELEVENLABS_API_KEY- Your ElevenLabs API key
- Run the server:
python main.py- Open http://localhost:8000 in your browser
Made with ❤️ for young readers
